Relative expressions and ASSERT

Alan Modra amodra@gmail.com
Wed Aug 11 06:31:00 GMT 2010


On Tue, Aug 10, 2010 at 05:16:54PM -0400, Daniel Jacobowitz wrote:
> Kazu has discovered a really perverse behavior of linker script

Yes, current behaviour is horrible.

> IMO, it would be plausible to extend this exception to at least

We're in a hole, let's not dig any deeper..  I think we made a mistake
in treating constants as section relative in output sections.  It
would be better to treat all constants as absolute, and make
exceptions for cases where we want a relative result, probably just
assignment to symbols in an output section.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list