gold patch committed: Check version in archive maps
Ian Lance Taylor
iant@google.com
Wed Mar 18 05:12:00 GMT 2009
Symbols in object files may have versions appended with an '@'
character. It follows that this may happen in symbols in archive maps.
The GNU linker checks for that possibility in
_bfd_elf_archive_symbol_lookup in elflink.c. I committed this patch to
gold to add support for this, along with a test case.
Ian
2009-03-17 Ian Lance Taylor <iant@google.com>
* archive.cc (Archive::add_symbols): Check for a version attached
to the symbol name in the archive map.
* testsuite/Makefile.am (check_PROGRAMS): Add ver_test_11.
(ver_test_11_SOURCES, ver_test_11_DEPENDENCIES): Define.
(ver_test_11_LDFLAGS, ver_test_11_LDADD): Define.
(ver_test_11.a): New target.
* testsuite/Makefile.in: Rebuild.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 3085 bytes
Desc: Check version in archive maps
URL: <https://sourceware.org/pipermail/binutils/attachments/20090318/b41fa424/attachment.bin>
More information about the Binutils
mailing list