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.
This commit is contained in:
Joel Sherrill
1998-09-30 17:17:23 +00:00
parent c11f51269b
commit d1d4766494

View File

@@ -62,6 +62,7 @@ SECTIONS
_rodata_start = . ; _rodata_start = . ;
*(.rodata) *(.rodata)
*(.gnu.linkonce.r*)
_erodata = ALIGN( 0x10 ) ; _erodata = ALIGN( 0x10 ) ;
_etext = ALIGN( 0x10 ) ; _etext = ALIGN( 0x10 ) ;