diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-13 15:00:53 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-12-03 13:17:08 +0100 |
commit | d33f743795fc42bd7bd6e16471aef5f6eecb3e1f (patch) | |
tree | f84c0647d4a6e8b2758a6d78e35433bd213d0fbb /c/src/lib/libbsp/powerpc/shared | |
parent | bsps/powerpc: Add PPC_EXC_CONFIG_BOOKE_ONLY (diff) | |
download | rtems-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.base | 18 |
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 |