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/psim | |
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/psim')
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/ChangeLog | 8 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/startup/linkcmds | 9 |
2 files changed, 13 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/ChangeLog b/c/src/lib/libbsp/powerpc/psim/ChangeLog index 97d18a5438..a35f7c57af 100644 --- a/c/src/lib/libbsp/powerpc/psim/ChangeLog +++ b/c/src/lib/libbsp/powerpc/psim/ChangeLog @@ -1,3 +1,11 @@ +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. + 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * startup/bspstart.c: Include <rtems/bspIo.h>. diff --git a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds index df01bac13b..4d3db8bcc6 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds @@ -66,14 +66,14 @@ SECTIONS } >RAM .init : { _init = .; __init = .; *(.init) } >RAM .fini : { _fini = .; __fini = .; *(.fini) } >RAM - .rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM + .rodata : { *(.rodata*) *(.gnu.linkonce.r*) } >RAM .rodata1 : { *(.rodata1) } >RAM .eh_frame : { *.(eh_frame) } >RAM PROVIDE (_etext = .); PROVIDE (etext = .); PROVIDE (__SDATA2_START__ = .); - .sdata2 : { *(.sdata2) } >RAM - .sbss2 : { *(.sbss2) } >RAM + .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >RAM + .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >RAM PROVIDE (__SBSS2_END__ = .); /* Adjust the address for the data segment. We want to adjust up to the same address within the page on the next page up. It would @@ -138,7 +138,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) } >RAM + .sdata : { *(.sdata) *(.gnu.linkonce.s.*) } >RAM _edata = .; PROVIDE (edata = .); @@ -148,6 +148,7 @@ SECTIONS PROVIDE (__sbss_start = .); *(.sbss) *(.scommon) + *(.gnu.linkonce.sb.*) PROVIDE (__sbss_end = .); } >RAM PROVIDE (__SBSS_END__ = .); |