summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-13 15:01:24 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-12-03 13:17:08 +0100
commitc383372f3f4090605d0765fdb007d386f6a2129e (patch)
treee29a6a8383abeef292b8ba2eb422dbc23f6f879e /c
parentbsps/powerpc: Move .fast_text after .text section (diff)
downloadrtems-c383372f3f4090605d0765fdb007d386f6a2129e.tar.bz2
bsps/powerpc: Add and use bsp_text input section
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/startup/exc-vector-base.S4
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base1
2 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/exc-vector-base.S b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/exc-vector-base.S
index 644b7a8f86..ed8dcf3ba3 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/exc-vector-base.S
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/exc-vector-base.S
@@ -7,7 +7,7 @@
*/
/*
- * Copyright (c) 2011 embedded brains GmbH. All rights reserved.
+ * Copyright (c) 2011-2012 embedded brains GmbH. All rights reserved.
*
* embedded brains GmbH
* Obere Lagerstr. 30
@@ -32,7 +32,7 @@
.globl mpc55xx_exc_vector_base
- .section ".bsp_start_data", "ax"
+ .section ".bsp_text", "ax"
#if 5510 <= MPC55XX_CHIP_TYPE && MPC55XX_CHIP_TYPE <= 5517
.align 12
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
index 253a025629..261b52abb2 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
@@ -53,6 +53,7 @@ SECTIONS {
.text : {
bsp_section_text_begin = .;
+ *(SORT(.bsp_text*))
*(.text.unlikely .text.*_unlikely)
*(.text .stub .text.* .gnu.linkonce.t.*)
*(.gnu.warning)