ld failure introduced with pr797 patch
Alan Modra
amodra@bigpond.net.au
Thu Jun 2 12:07:00 GMT 2005
Hi HJ,
I believe your fix for PR797 is to blame for a ld problem which can be
demonstrated by building binutils for tic30-unknown-coff and running the
ld testsuite. I see "+FAIL: check sections 1". The linker script has
.const :
{
*(.const)
__etext = . ;
} > rom
.mdata : AT( ADDR(.const) + SIZEOF(.const) )
{
__data = . ;
*(.data);
__edata = . ;
} > ram
.const is empty, so fails to have its output_section_statement fully
initialized. This results in "nonconstant expression for load base".
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list