diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/startup/linkcmds')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/startup/linkcmds | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds index df5affb54d..5ebc5e95f9 100644 --- a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds @@ -115,8 +115,7 @@ SECTIONS .fini_array : { *(.fini_array) } >CODE PROVIDE (__fini_array_end = .); -_SDA2_BASE_ = __SDATA2_START__ + 0x8000; - .sdata2 : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } >CODE + .sdata2 : {PROVIDE (_SDA2_BASE_ = 32768); *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } >CODE .sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) /* avoid empty sdata2/sbss2 area -- __eabi would not set up r2 * which may be important if run-time loading is used @@ -215,8 +214,7 @@ _SDA2_BASE_ = __SDATA2_START__ + 0x8000; /* 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. */ -_SDA_BASE_ = __SDATA_START__ + 0x8000; - .sdata : { *(.sdata*) *(.gnu.linkonce.s.*) } >CODE + .sdata : { PROVIDE (_SDA_BASE_ = 32768); *(.sdata*) *(.gnu.linkonce.s.*) } >CODE _edata = .; PROVIDE (edata = .); .sbss : |