summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-13 15:00:53 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-12-03 13:17:08 +0100
commitd33f743795fc42bd7bd6e16471aef5f6eecb3e1f (patch)
treef84c0647d4a6e8b2758a6d78e35433bd213d0fbb /c/src/lib/libbsp/powerpc/shared
parentbsps/powerpc: Add PPC_EXC_CONFIG_BOOKE_ONLY (diff)
downloadrtems-d33f743795fc42bd7bd6e16471aef5f6eecb3e1f.tar.bz2
bsps/powerpc: Move .fast_text after .text section
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base18
1 files changed, 9 insertions, 9 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
index 1768361100..253a025629 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
@@ -51,15 +51,6 @@ SECTIONS {
. = ALIGN (bsp_section_xbarrier_align);
} > REGION_TEXT
- .fast_text : {
- bsp_section_fast_text_begin = .;
- *(.bsp_fast_text)
- bsp_section_fast_text_end = .;
- } > REGION_FAST_TEXT AT > REGION_FAST_TEXT_LOAD
- bsp_section_fast_text_size = bsp_section_fast_text_end - bsp_section_fast_text_begin;
- bsp_section_fast_text_load_begin = LOADADDR (.fast_text);
- bsp_section_fast_text_load_end = bsp_section_fast_text_load_begin + bsp_section_fast_text_size;
-
.text : {
bsp_section_text_begin = .;
*(.text.unlikely .text.*_unlikely)
@@ -79,6 +70,15 @@ SECTIONS {
bsp_section_text_load_begin = LOADADDR (.text);
bsp_section_text_load_end = bsp_section_text_load_begin + bsp_section_text_size;
+ .fast_text : {
+ bsp_section_fast_text_begin = .;
+ *(.bsp_fast_text)
+ bsp_section_fast_text_end = .;
+ } > REGION_FAST_TEXT AT > REGION_FAST_TEXT_LOAD
+ bsp_section_fast_text_size = bsp_section_fast_text_end - bsp_section_fast_text_begin;
+ bsp_section_fast_text_load_begin = LOADADDR (.fast_text);
+ bsp_section_fast_text_load_end = bsp_section_fast_text_load_begin + bsp_section_fast_text_size;
+
.robarrier : {
. = ALIGN (bsp_section_robarrier_align);
} > REGION_RODATA