bsps/powerpc: Fix linker command files

This commit is contained in:
Sebastian Huber
2014-04-22 08:32:27 +02:00
parent 3380ee8194
commit e10574a4c2
3 changed files with 7 additions and 11 deletions

View File

@@ -268,8 +268,7 @@ SECTIONS
*(.data1) *(.data1)
*(.data.* .gnu.linkonce.d.*) *(.data.* .gnu.linkonce.d.*)
PROVIDE (__SDATA_START__ = .); PROVIDE (__SDATA_START__ = .);
*(.sdata*) *(.sdata .sdata.* .gnu.linkonce.s.*)
*(.gnu.linkonce.s.*)
data.end = .; data.end = .;
} > ram } > ram

View File

@@ -121,8 +121,8 @@ SECTIONS
_etext = .; _etext = .;
PROVIDE (_etext = .); PROVIDE (_etext = .);
PROVIDE (__SDATA2_START__ = .); PROVIDE (__SDATA2_START__ = .);
.sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >RAM .sdata2 : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } >RAM
.sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >RAM .sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) } >RAM
PROVIDE (__SBSS2_END__ = .); PROVIDE (__SBSS2_END__ = .);
/* Adjust the address for the data segment. We want to adjust up to /* 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 the same address within the page on the next page up. It would
@@ -184,8 +184,7 @@ SECTIONS
we can shorten the on-disk segment size. */ we can shorten the on-disk segment size. */
PROVIDE (__SDATA_START__ = .); PROVIDE (__SDATA_START__ = .);
.sdata : { .sdata : {
*(.sdata*) *(.sdata .sdata.* .gnu.linkonce.s.*)
*(.gnu.linkonce.s.*)
_edata = .; _edata = .;
} >RAM } >RAM
PROVIDE (_edata = .); PROVIDE (_edata = .);

View File

@@ -172,9 +172,7 @@ SECTIONS
*(.data1) *(.data1)
PROVIDE (__SDATA_START__ = .); PROVIDE (__SDATA_START__ = .);
*(.sdata*) *(.sdata .sdata.* .gnu.linkonce.s.*)
*(.gnu.linkonce.d*)
*(.gnu.linkonce.s.*)
PROVIDE (__SDATA_END__ = .); PROVIDE (__SDATA_END__ = .);
PROVIDE (__EXCEPT_START__ = .); PROVIDE (__EXCEPT_START__ = .);
@@ -204,8 +202,8 @@ SECTIONS
* offsets can access them all. * offsets can access them all.
*/ */
PROVIDE (__SDATA2_START__ = .); PROVIDE (__SDATA2_START__ = .);
*(.sdata2) *(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
*(.gnu.linkonce.s2.*) *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)
PROVIDE (__SDATA2_END__ = .); PROVIDE (__SDATA2_END__ = .);
data.end = .; data.end = .;