This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linker commands for v850 fail in 2.11.2 ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]