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: Relative expressions and ASSERT


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]