This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Resetting LMA for new VMAs
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: binutils <binutils at sources dot redhat dot com>
- Date: Sat, 5 Apr 2008 10:39:00 +1030
- Subject: Re: Resetting LMA for new VMAs
- References: <47F6113D.8030201@codesourcery.com>
On Fri, Apr 04, 2008 at 12:30:05PM +0100, Nathan Sidwell wrote:
> + /* If there was a new VMA, set the LMA. */
> + else if (os->addr_tree)
> + lma = dot;
This would break overlay handling. addr_tree is always set for
overlay sections, and for overlays you definitely do not want lma set
to dot.
--
Alan Modra
Australia Development Lab, IBM