diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2007-11-30 19:45:40 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2007-11-30 19:45:40 +0000 |
commit | 431bcd751354a4da70e180a6514d9dbd3778c41d (patch) | |
tree | dcb13a4690a4717d1d44eef734e63d49bd64b1f3 /c/src/lib/libbsp/powerpc/psim/startup/linkcmds | |
parent | 2007-11-30 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-431bcd751354a4da70e180a6514d9dbd3778c41d.tar.bz2 |
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* startup/linkcmds.c, start/start.S: call __eabi() from start.S
and make sure linkcmds defines _SDA_BASE_ + _SDA2_BASE_ so that
sysv + eabi are properly supported.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/psim/startup/linkcmds')
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/startup/linkcmds | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds index ce85282d5a..b66c88db98 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds @@ -119,7 +119,7 @@ SECTIONS PROVIDE (__FRAME_END__ = .); PROVIDE (_etext = .); PROVIDE (etext = .); - PROVIDE (__SDATA2_START__ = .); +_SDA2_BASE_ = __SDATA2_START__ + 0x8000; .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >RAM .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >RAM PROVIDE (__SBSS2_END__ = .); @@ -187,7 +187,7 @@ SECTIONS /* We want the small data sections together, so single-instruction offsets can access them all, and initialized data all before uninitialized, so we can shorten the on-disk segment size. */ - PROVIDE (__SDATA_START__ = .); +_SDA_BASE_ = __SDATA_START__ + 0x8000; .sdata : { *(.sdata*) *(.gnu.linkonce.s.*) } >RAM _edata = .; PROVIDE (edata = .); |