diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-05-27 12:43:53 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-05-27 12:49:13 +0200 |
commit | 0d671d709f5a9cb07bb28540c478a405e01658bb (patch) | |
tree | 895658432f48b1f7c2916432313054e6d513dd74 | |
parent | bsps: Update due to linker changes (diff) | |
download | rtems-0d671d709f5a9cb07bb28540c478a405e01658bb.tar.bz2 |
bsps/arm: Move .fast_text section
Move the .fast_text section after the .vector section. The .fast_test
section is normally not empty in case some functions should execute from
an internal SRAM. This would be also the area for the .vector section.
The vector table must be the first content of such an area.
-rw-r--r-- | c/src/lib/libbsp/arm/shared/startup/linkcmds.base | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/c/src/lib/libbsp/arm/shared/startup/linkcmds.base b/c/src/lib/libbsp/arm/shared/startup/linkcmds.base index 2ef80a0a40..27f5acb125 100644 --- a/c/src/lib/libbsp/arm/shared/startup/linkcmds.base +++ b/c/src/lib/libbsp/arm/shared/startup/linkcmds.base @@ -73,15 +73,6 @@ SECTIONS { . = ALIGN (bsp_section_xbarrier_align); } > REGION_VECTOR - .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 : ALIGN(32) { bsp_section_text_begin = .; @@ -341,6 +332,15 @@ SECTIONS { bsp_vector_table_begin = DEFINED (bsp_vector_table_in_start_section) ? bsp_section_start_begin : bsp_section_vector_begin; bsp_vector_table_end = bsp_vector_table_begin + bsp_vector_table_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; + .fast_data : ALIGN(32) { bsp_section_fast_data_begin = .; *(.bsp_fast_data) |