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

--- Comment #4 from Andy Wingo <wingo at pobox dot com> 2012-07-09 14:51:02 UTC 
---
(In reply to comment #3)
> It looks like the symbol was discarded for some reason, and the error is
> occurring because it is hidden.  My guess is that the error should be
> suppressed--you should only be getting the warning about "relocation refers to
> discarded section".  That warning is most likely about debug info, though it's
> hard to know for sure.

Thanks for the thoughts.  I wonder, though -- since the relocation seems to be
coming from the use of the hidden symbol and not the definition, I don't see
how it could be related to debug info.  But I'm also fairl ignorant about these
things.

I guess the thing is to figure out why ld is deciding to discard that symbol,
fix that (in our code, gcc, or gold), and then see what's left.  Is there
somewhere in gold that I should instrument, or will --debug=all be enough to
figure it out?  I'll try it tomorrow.

Cheers,

Andy

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to