------- Additional Comments From hjl at lucon dot org  2007-03-23 14:04 -------
(In reply to comment #3)
> 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.

Can we record line number in tree so that exp_print_tree can print line
number as an option?



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

bug-binutils mailing list

Reply via email to