Resetting LMA for new VMAs

Alan Modra amodra@bigpond.net.au
Sat Apr 5 00:09:00 GMT 2008


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



More information about the Binutils mailing list