bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/4090] Can't use ADDR on section after


From: nickc at redhat dot com
Subject: [Bug ld/4090] Can't use ADDR on section after
Date: 23 Mar 2007 13:59:04 -0000

------- Additional Comments From nickc at redhat dot com  2007-03-23 13:59 
-------
Hi H.J.

  I am not sure that we can produce a more explicit error message without going
into a lot of effort to record undefined symbols, but maybe the attached patch
will help a little.  With this applied I get the following output:

  foo.t:7 unable to compute value of load base because the following expression
is nonconstant:
  ((ADDR (.foo) + 0xfff) & 0xfffffffffffff000)

What do you think ?

Obviously I would need to run through the linker testsuite for all the
toollchains to make sure that this does not break anything, and also a similar
chage is probably needed for the other two locations where a nonconstant
expression is reported, but I think that this patch is certainly a beginning.

Cheers
  Nick


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=4090

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]