Linker commands for v850 fail in 2.11.2 ?

Alan Modra amodra@bigpond.net.au
Fri Feb 15 01:20:00 GMT 2002


On Fri, Feb 15, 2002 at 08:25:26AM +0100, Mauler Karsten (FV/SLM) * wrote:
> could it be that the v850 linker is broken in v2.11.2 ?

Yes, the ELF linker in general has been broken for quite some time in
regard to NOLOAD.  Coincidentally, I checked in a fix just yesterday.
Could you please check that the cvs branch (-r binutils-2_12-branch)
for the upcoming 2.12 release behaves correctly?

> I have following in my linker file
> 
> .sda  (NOLOAD) :  AT (  ADDR (.text) + SIZEOF (.text) )  
>       { __gp = .;
>         *(.sdata) *(.sbss) *(.scommon)} >RAM
> 
> NOLOAD and setting the LMA has no effect when linking with 2.11.2 as it has
> when using 2.9.2.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list