Committed: Do not report a weak need for a DT_NEEDED DSO
Nick Clifton
nickc@redhat.com
Thu Jan 21 14:54:00 GMT 2010
Hi Guys,
A user recently reported that the linker's -no-copy-dt-needed option
could trigger error messages for DSO that are "needed" to satisfy weak
references. This is obviously wrong and so I am applying the patch
below to fix the problem. The patch also improves the error reporting
for non-weak references that really do need a DSO, so that the correct
input file name is used.
Cheers
Nick
bfd/ChangeLog
2010-01-21 Nick Clifton <nickc@redhat.com>
* elflink.c (elf_link_add_object_symbols): Look up name of
undefined symbol both before and after versioning has been
applied. Do not bother with symbols that are weakly undefined.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elflink.c.patch
Type: text/x-patch
Size: 3396 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100121/bd35d697/attachment.bin>
More information about the Binutils
mailing list