forked from Imagelibrary/rtems
bsps/powerpc: Fix linker command files
This commit is contained in:
@@ -109,8 +109,7 @@ SECTIONS
|
||||
_TLS_BSS_size = _TLS_BSS_end - _TLS_BSS_begin;
|
||||
_TLS_Size = _TLS_BSS_end - _TLS_Data_begin;
|
||||
_TLS_Alignment = ALIGNOF (.tdata);
|
||||
_SDA2_BASE_ = __SDATA2_START__ + 0x8000;
|
||||
.sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } > CODE
|
||||
.sdata2 : { PROVIDE (_SDA2_BASE_ = 32768); *(.sdata2) *(.gnu.linkonce.s2.*) } > CODE
|
||||
.sbss2 : {
|
||||
PROVIDE (__sbss2_start = .);
|
||||
*(.sbss2*) *(.gnu.linkonce.sb2.*)
|
||||
@@ -193,8 +192,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 = .);
|
||||
/* END OF THE LOADED IMAGE (parts moved by the preloader) */
|
||||
|
||||
@@ -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 :
|
||||
|
||||
@@ -112,8 +112,7 @@ SECTIONS
|
||||
_TLS_Alignment = ALIGNOF (.tdata);
|
||||
|
||||
/* Initialised small data addressed as offsets from r2 */
|
||||
_SDA2_BASE_ = __SDATA2_START__ + 0x8000;
|
||||
.sdata2 : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } > RAM
|
||||
.sdata2 : { PROVIDE (_SDA2_BASE_ = 32768); *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } > RAM
|
||||
|
||||
/* Zeroed small data addressed as offsets from r2 */
|
||||
.sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)
|
||||
@@ -206,8 +205,7 @@ _SDA2_BASE_ = __SDATA2_START__ + 0x8000;
|
||||
* we can shorten the on-disk segment size.
|
||||
*/
|
||||
/* Initialised small data addressed as offsets from r13 */
|
||||
_SDA_BASE_ = __SDATA_START__ + 0x8000;
|
||||
.sdata : { *(.sdata* .gnu.linkonce.s.*) } > RAM
|
||||
.sdata : { PROVIDE (_SDA_BASE_ = 32768); *(.sdata* .gnu.linkonce.s.*) } > RAM
|
||||
|
||||
_edata = .;
|
||||
PROVIDE (edata = .);
|
||||
|
||||
@@ -112,8 +112,7 @@ SECTIONS
|
||||
_TLS_Alignment = ALIGNOF (.tdata);
|
||||
|
||||
/* Initialised small data addressed as offsets from r2 */
|
||||
_SDA2_BASE_ = __SDATA2_START__ + 0x8000;
|
||||
.sdata2 : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } > RAM
|
||||
.sdata2 : { PROVIDE (_SDA2_BASE_ = 32768); *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } > RAM
|
||||
|
||||
/* Zeroed small data addressed as offsets from r2 */
|
||||
.sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)
|
||||
@@ -206,8 +205,7 @@ _SDA2_BASE_ = __SDATA2_START__ + 0x8000;
|
||||
* we can shorten the on-disk segment size.
|
||||
*/
|
||||
/* Initialised small data addressed as offsets from r13 */
|
||||
_SDA_BASE_ = __SDATA_START__ + 0x8000;
|
||||
.sdata : { *(.sdata* .gnu.linkonce.s.*) } > RAM
|
||||
.sdata : { PROVIDE (_SDA_BASE_ = 32768); *(.sdata* .gnu.linkonce.s.*) } > RAM
|
||||
|
||||
_edata = .;
|
||||
PROVIDE (edata = .);
|
||||
|
||||
Reference in New Issue
Block a user