gold patch committed: Improve x86_64 non-PIC warnings
Ian Lance Taylor
iant@google.com
Fri Jun 17 11:16:00 GMT 2011
This gold patch improves the warnings about generating a shared library
with non-PIC code on x86_64. A PC32 reloc against a locally defined
symbol is OK. We report the relocation type and, for a global symbol,
the symbol name, to make it easier to find the problem. Committed to
mainline.
Ian
2011-06-17 Ian Lance Taylor <iant@google.com>
* x86_64.cc (check_non_pic): Add gsym parameter. Change all
callers. Don't issue warning about PC32 against locally defined
symbol.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 4334 bytes
Desc: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20110617/b1fd13da/attachment.bin>
More information about the Binutils
mailing list