[PATCH}: Add .rodata sections to CRX linker script
Nick Clifton
nickc@redhat.com
Mon May 22 15:05:00 GMT 2006
Hi Guys,
I am going to apply the patch below to add an entry for .rodata
sections to the CRX linker script. Lack of this entry was causing
an error message to reported during one of the linker tests for the
crx-elf toolchains.
Cheers
Nick
ld/ChangeLog
2006-05-22 Nick Clifton <nickc@redhat.com>
* scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
Index: ld/scripttempl/elf32crx.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elf32crx.sc,v
retrieving revision 1.3
diff -c -3 -p -r1.3 elf32crx.sc
*** ld/scripttempl/elf32crx.sc 16 Sep 2004 16:24:50 -0000 1.3
--- ld/scripttempl/elf32crx.sc 22 May 2006 08:41:46 -0000
*************** SECTIONS
*** 73,79 ****
.rdata :
{
__RDATA_START = .;
! *(.rdata_4) *(.rdata_2) *(.rdata_1) *(.rdata.*) *(.gnu.linkonce.r.*)
__RDATA_END = .;
} > rom
--- 73,79 ----
.rdata :
{
__RDATA_START = .;
! *(.rdata_4) *(.rdata_2) *(.rdata_1) *(.rdata.*) *(.gnu.linkonce.r.*) *(.rodata.*)
__RDATA_END = .;
} > rom
More information about the Binutils
mailing list