summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-06-22 10:31:44 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-06-22 10:31:44 +0200
commit574ab8acfc097b59913ca54b3d037837f9ba27de (patch)
tree080ef1042b59df4cb74f4a503973523779562cff
parentfstests/fsfseeko01: New test (diff)
downloadrtems-574ab8acfc097b59913ca54b3d037837f9ba27de.tar.bz2
bsps/powerpc: Add more BSP sections and sort them
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
index 5c6f5e6cd6..1768361100 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
@@ -85,6 +85,7 @@ SECTIONS {
.rodata : {
bsp_section_rodata_begin = .;
+ *(SORT(.bsp_rodata*))
*(.rodata .rodata.* .gnu.linkonce.r.*)
} > REGION_RODATA AT > REGION_RODATA_LOAD
.rodata1 : {
@@ -250,7 +251,7 @@ SECTIONS {
.fast_data : {
bsp_section_fast_data_begin = .;
- *(.bsp_fast_data)
+ *(SORT(.bsp_fast_data*))
bsp_section_fast_data_end = .;
} > REGION_FAST_DATA AT > REGION_FAST_DATA_LOAD
bsp_section_fast_data_size = bsp_section_fast_data_end - bsp_section_fast_data_begin;
@@ -259,6 +260,7 @@ SECTIONS {
.data : {
bsp_section_data_begin = .;
+ *(SORT(.bsp_data*))
*(.data .data.* .gnu.linkonce.d.*)
SORT(CONSTRUCTORS)
} > REGION_DATA AT > REGION_DATA_LOAD
@@ -330,7 +332,7 @@ SECTIONS {
.nocache : {
bsp_section_nocache_begin = .;
- *(.bsp_nocache)
+ *(SORT(.bsp_nocache*))
bsp_section_nocache_end = .;
} > REGION_NOCACHE AT > REGION_NOCACHE_LOAD
bsp_section_nocache_size = bsp_section_nocache_end - bsp_section_nocache_begin;