forked from Imagelibrary/rtems
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:
@@ -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 ) ;
|
||||||
|
|||||||
Reference in New Issue
Block a user