[rtems commit] bsps/powerpc: Fix linker command files
Sebastian Huber
sebh at rtems.org
Tue Apr 22 07:30:13 UTC 2014
Module: rtems
Branch: master
Commit: e10574a4c255e05336a262e8baee45f7f35c7e0b
Changeset: http://git.rtems.org/rtems/commit/?id=e10574a4c255e05336a262e8baee45f7f35c7e0b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Apr 22 08:32:27 2014 +0200
bsps/powerpc: Fix linker command files
---
.../lib/libbsp/powerpc/mpc8260ads/startup/linkcmds | 3 +--
.../lib/libbsp/powerpc/score603e/startup/linkcmds | 7 +++----
c/src/lib/libbsp/powerpc/ss555/startup/linkcmds | 8 +++-----
3 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds
index 0ff192e..a23418a 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds
@@ -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
diff --git a/c/src/lib/libbsp/powerpc/score603e/startup/linkcmds b/c/src/lib/libbsp/powerpc/score603e/startup/linkcmds
index d1da9a2..69e67e3 100644
--- a/c/src/lib/libbsp/powerpc/score603e/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/score603e/startup/linkcmds
@@ -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 = .);
diff --git a/c/src/lib/libbsp/powerpc/ss555/startup/linkcmds b/c/src/lib/libbsp/powerpc/ss555/startup/linkcmds
index 45a18fa..4a01c8d 100644
--- a/c/src/lib/libbsp/powerpc/ss555/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/ss555/startup/linkcmds
@@ -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 = .;
More information about the vc
mailing list