summaryrefslogtreecommitdiffstats
path: root/c/src/lib
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-30 17:17:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-30 17:17:23 +0000
commitd1d4766494b6d8d42aa906d07b5efd55bb50ea0c (patch)
tree4673136eb67b5f580082e0218d74b679d6c9fa7a /c/src/lib
parentUpdated the DESCRIPTION section of the times routine. (diff)
downloadrtems-d1d4766494b6d8d42aa906d07b5efd55bb50ea0c.tar.bz2
Patch 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')
-rw-r--r--c/src/lib/libbsp/i386/pc386/startup/linkcmds1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/startup/linkcmds b/c/src/lib/libbsp/i386/pc386/startup/linkcmds
index f66952b04c..5dd7a675a3 100644
--- a/c/src/lib/libbsp/i386/pc386/startup/linkcmds
+++ b/c/src/lib/libbsp/i386/pc386/startup/linkcmds
@@ -62,6 +62,7 @@ SECTIONS
_rodata_start = . ;
*(.rodata)
+ *(.gnu.linkonce.r*)
_erodata = ALIGN( 0x10 ) ;
_etext = ALIGN( 0x10 ) ;