diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-05-09 21:37:30 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-05-09 21:37:30 +0000 |
commit | 85c925744739fec5a06aef65b5302d41337452d4 (patch) | |
tree | 637535313cc0d40f9a903a71352278e9fdf4f595 /c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds | |
parent | 2002-05-01 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-85c925744739fec5a06aef65b5302d41337452d4.tar.bz2 |
2001-05-09 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: In support of gcc 3.1, added one of more
of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*,
.gnu.linkonce.sb2.*, and .gnu.linkonce.s.*. Spacing corrections
and direction of segments to memory regions may also have been
addressed. This was a sweep across all BSPs.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds')
-rw-r--r-- | c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds b/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds index 5b66b3e9b3..454f5fe51d 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds @@ -51,13 +51,14 @@ SECTIONS } =0 .init : { _init = .; *(.init) } .fini : { _fini = .; *(.fini) } - .rodata : { *(.rodata) *(.gnu.linkonce.r*) } + .rodata : { *(.rodata*) *(.gnu.linkonce.r*) } .rodata1 : { *(.rodata1) } .eh_frame : { *.(eh_frame) } _etext = .; PROVIDE (etext = .); PROVIDE (__SDATA2_START__ = .); - .sdata2 : { *(.sdata2) } + .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } + .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } PROVIDE (__SBSS2_START__ = .); .sbss2 : { *(.sbss2) } PROVIDE (__SBSS2_END__ = .); @@ -117,7 +118,7 @@ SECTIONS can access them all, and initialized data all before uninitialized, so we can shorten the on-disk segment size. */ PROVIDE (__SDATA_START__ = .); - .sdata : { *(.sdata) } + .sdata : { *(.sdata) *(.gnu.linkonce.s.*) } _edata = .; PROVIDE (edata = .); . = ALIGN(8) + 0x1000; |