summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-06-25 10:12:45 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-06-25 10:12:45 -0500
commit98458542a6266731d268c2b26419aa1c5c4079db (patch)
tree080ef1042b59df4cb74f4a503973523779562cff
parentMerge branch 'master' of ssh://git.rtems.org/home/joel/git/rtems (diff)
parentbsps/powerpc: Add more BSP sections and sort them (diff)
downloadrtems-98458542a6266731d268c2b26419aa1c5c4079db.tar.bz2
Merge branch 'master' of ssh://git.rtems.org/data/git/rtems
-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;