summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips
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/mips
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/mips')
-rw-r--r--c/src/lib/libbsp/mips/p4000/startup/linkcmds2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/mips/p4000/startup/linkcmds b/c/src/lib/libbsp/mips/p4000/startup/linkcmds
index 858317853c..47e0ba1162 100644
--- a/c/src/lib/libbsp/mips/p4000/startup/linkcmds
+++ b/c/src/lib/libbsp/mips/p4000/startup/linkcmds
@@ -23,7 +23,7 @@ SECTIONS
.fini ALIGN(8) : { *(.fini) } =0
.ctors ALIGN(8) : { *(.ctors) }
.dtors ALIGN(8) : { *(.dtors) }
- .rodata ALIGN(8) : { *(.rodata) }
+ .rodata ALIGN(8) : { *(.rodata) *(.gnu.linkonce.r*) }
.rodata1 ALIGN(8) :
{
*(.rodata1)