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)
*(.data.* .gnu.linkonce.d.*)
PROVIDE (__SDATA_START__ = .);
*(.sdata*)
*(.gnu.linkonce.s.*)
*(.sdata .sdata.* .gnu.linkonce.s.*)
data.end = .;
} > ram

View File

@@ -121,8 +121,8 @@ SECTIONS
_etext = .;
PROVIDE (_etext = .);
PROVIDE (__SDATA2_START__ = .);
.sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >RAM
.sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >RAM
.sdata2 : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } >RAM
.sbss2 : { *(.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
@@ -184,8 +184,7 @@ SECTIONS
we can shorten the on-disk segment size. */
PROVIDE (__SDATA_START__ = .);
.sdata : {
*(.sdata*)
*(.gnu.linkonce.s.*)
*(.sdata .sdata.* .gnu.linkonce.s.*)
_edata = .;
} >RAM
PROVIDE (_edata = .);

View File

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