This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Large lma delta using binutils 2.19
On Wed, Mar 03, 2010 at 11:29:29AM +0000, James Blackburn wrote:
> However the thing I'm still failing to see why the increment is the
> last section's vma/lma delta. Just like users have the expectation
> that unspecified VMAs follow on from the previous, shouldn't the
> same be true for the lma?
If you change the relative delta, and your runtime copies from LMA to
VMA at startup, then it's going to copy the following section to the
wrong place. The most likely scenario for this is with alignment.
For instance, suppose there's normally 15 bytes of padding.
--
Daniel Jacobowitz
CodeSourcery