diff options
author | Alan Modra <amodra@gmail.com> | 2011-06-07 23:57:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-06-07 23:57:50 +0000 |
commit | 2a41f39647f1867470ccbd13f1ccc429422dde55 (patch) | |
tree | 09da8ad6922628796757e5255289bfa076396b56 /bfd/elflink.c | |
parent | ad6b52dd0b70f6f9702b648dcbe855cd272b6bf0 (diff) | |
download | binutils-2a41f39647f1867470ccbd13f1ccc429422dde55.zip binutils-2a41f39647f1867470ccbd13f1ccc429422dde55.tar.gz binutils-2a41f39647f1867470ccbd13f1ccc429422dde55.tar.bz2 |
* elflink.c (_bfd_elf_archive_symbol_lookup): Follow warning and
indirect links here.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index e8a6840..562217d 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -4911,7 +4911,7 @@ _bfd_elf_archive_symbol_lookup (bfd *abfd, char *p, *copy; size_t len, first; - h = elf_link_hash_lookup (elf_hash_table (info), name, FALSE, FALSE, FALSE); + h = elf_link_hash_lookup (elf_hash_table (info), name, FALSE, FALSE, TRUE); if (h != NULL) return h; @@ -4934,14 +4934,14 @@ _bfd_elf_archive_symbol_lookup (bfd *abfd, memcpy (copy, name, first); memcpy (copy + first, name + first + 1, len - first); - h = elf_link_hash_lookup (elf_hash_table (info), copy, FALSE, FALSE, FALSE); + h = elf_link_hash_lookup (elf_hash_table (info), copy, FALSE, FALSE, TRUE); if (h == NULL) { /* We also need to check references to the symbol without the version. */ copy[first - 1] = '\0'; h = elf_link_hash_lookup (elf_hash_table (info), copy, - FALSE, FALSE, FALSE); + FALSE, FALSE, TRUE); } bfd_release (abfd, copy); |