------- 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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils