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 11:04:15AM -0700, H. J. Lu wrote:
> 1. It doesn't check if there are overlapping LMAs when warning moving
> dot backwards.

That's why it is a warning rather than an error.  I think anyone setting
a section VMA to a value before previous sections ought to also set
section LMA.

> 2. I don't think we should change lma just because dot is moved
> backwards. We can change the affected linker scripts if they can be
> made backward compatible.

Well, yes, I don't really like the exception to the rule.  Are there
released linux kernels that need the old default LMA for their linker
scripts to work?

-- 
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]