http://sourceware.org/bugzilla/show_bug.cgi?id=12980
Ian Lance Taylor <ian at airs dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Ian Lance Taylor <ian at airs dot com> 2011-07-12 22:34:43 UTC --- I'm not convinced that this case is very interesting. The test fails when using gcc's visibility attribute, because in that case gcc generates a PC-relative reloc (on x86_64) and there is no way that the function addresses can match. It only works for glibc because glibc uses .protected in an asm rather than using the visibility attribute. On the other hand, for the same reason, it doesn't cost very much; normal code will never use a GOT entry for a protected variable. So I went ahead and implemented this in gold in the spirit of keeping glibc happy. -- 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