From 4ca5bd8b9381f8720af1c356b40d0cc4c4dcc126 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 30 Sep 1998 17:27:57 +0000 Subject: Changed based on patch from pc386 linkcmds from Ian Lance Taylor : 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. --- c/src/lib/libbsp/mips64orion/p4000/startup/linkcmds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/mips64orion') diff --git a/c/src/lib/libbsp/mips64orion/p4000/startup/linkcmds b/c/src/lib/libbsp/mips64orion/p4000/startup/linkcmds index 858317853c..47e0ba1162 100644 --- a/c/src/lib/libbsp/mips64orion/p4000/startup/linkcmds +++ b/c/src/lib/libbsp/mips64orion/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) -- cgit v1.2.3