Merge .rodata.* sections (like .rodata.str1.4) into .rodata section.

Newer binutils creates such sections and old firmware might be confused.
This commit is contained in:
tsutsui 2010-05-04 15:00:39 +00:00
parent 9a9555d932
commit a97c5654cb

View File

@ -1,4 +1,4 @@
/* $NetBSD: stand.ldscript,v 1.3 2001/10/05 05:03:27 simonb Exp $ */
/* $NetBSD: stand.ldscript,v 1.4 2010/05/04 15:00:39 tsutsui Exp $ */
/* ldscript for NetBSD/mips stand-alone programs */
OUTPUT_ARCH(mips)
@ -15,7 +15,7 @@ SECTIONS
} =0
_etext = .;
PROVIDE (etext = .);
.rodata : { *(.rodata) }
.rodata : { *(.rodata) *(.rodata.*) }
.data :
{
_fdata = . ;