This is the mail archive of the binutils@sourceware.org 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: ld lma assignment


On Tue, Aug 22, 2006 at 05:03:44PM +0930, Alan Modra wrote:
> On Wed, Jul 26, 2006 at 02:39:14PM +0930, Alan Modra wrote:
> > While playing with overlays recently, I noticed an annoying linker
> > script requirement.  An output section following an overlay must have
> > its lma specified (with AT or AT>).  As must any section following one
> > with an lma adjustment, because ld defaults to setting lma equal to
> > vma and this may cause lma overlap.
> 
> Fixes doco for this change, and warns on backward movement of VMA
> unless accompanied with an explicit LMA assignment.  I guess I should
> have added the news item when I committed the first patch to raise
> awareness of the change in default lma.  Apologies for that, I wasn't
> trying to slip a change in under the radar!  I still feel it's a good
> change for 2.18, one that shouldn't affect too many scripts, and those
> that it does are easily fixed.
> 

I tried AT (.). It seems to generate different outputs comparing with
the old linker.


H.J.


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