gold patch committed: COPY relocs need the dynamic object
Ian Lance Taylor
iant@google.com
Thu Jan 7 19:34:00 GMT 2010
PR 11042 is about a case where --as-needed is used with a shared
library, and the only reference to that shared library is via a COPY
reloc. gold was not considering the library as needed for purposes of
--as-needed. I committed this patch to fix this bug.
Ian
2010-01-07 Ian Lance Taylor <iant@google.com>
PR 11042
* copy-relocs.cc (Copy_relocs::emit_copy_reloc): Mark the dynamic
object as needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 625 bytes
Desc: copy
URL: <https://sourceware.org/pipermail/binutils/attachments/20100107/2e7cd975/attachment.bin>
More information about the Binutils
mailing list