summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/psim
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-30 17:27:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-30 17:27:57 +0000
commit4ca5bd8b9381f8720af1c356b40d0cc4c4dcc126 (patch)
tree2db005a68296e028f17ab00a42077d3e30c12f9a /c/src/lib/libbsp/powerpc/psim
parentPatch from Ian Lance Taylor <ian@airs.com>: (diff)
downloadrtems-4ca5bd8b9381f8720af1c356b40d0cc4c4dcc126.tar.bz2
Changed based on patch from pc386 linkcmds from Ian Lance Taylor
<ian@airs.com>: The pc386 linker scripts omits .gnu.linkonce.r* sections. It's not a big deal, but they should be treated like .rodata sections. ELF versions of g++ generate them for static constants defined in template classes, such as string::npos.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/psim')
-rw-r--r--c/src/lib/libbsp/powerpc/psim/startup/linkcmds2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds
index 72a18c487a..61b61bf5c0 100644
--- a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds
@@ -65,7 +65,7 @@ SECTIONS
} >RAM
.init : { *(.init) } >RAM
.fini : { *(.fini) } >RAM
- .rodata : { *(.rodata) } >RAM
+ .rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM
.rodata1 : { *(.rodata1) } >RAM
_etext = .;
PROVIDE (etext = .);