(elf_link_find_version_dependencies): When searching

for known version symbol skip non-matching verdef records, not
matching records.
This commit is contained in:
Ulrich Drepper 1997-06-06 21:19:41 +00:00
parent 7257418129
commit cf2cd4cf5d
2 changed files with 80 additions and 69 deletions

View File

@ -1,3 +1,14 @@
1997-06-06 22:58 Ulrich Drepper <drepper@cygnus.com>
* elflink.h (elf_link_find_version_dependencies): When searching
for known version symbol skip non-matching verdef records, not
matching records.
Thu Jun 5 15:52:45 1997 Ian Lance Taylor <ian@cygnus.com>
* cofflink.c (_bfd_coff_generic_relocate_section): Write a long,
not a bfd_vma, to the base file, to match how dlltool reads it.
Tue Jun 3 16:57:45 1997 Nick Clifton <nickc@cygnus.com>
* reloc.c: Add thumb relocations.

View File

@ -2819,7 +2819,7 @@ elf_link_find_version_dependencies (h, data)
/* See if we already know about this version. */
for (t = elf_tdata (rinfo->output_bfd)->verref; t != NULL; t = t->vn_nextref)
{
if (t->vn_bfd == h->verinfo.verdef->vd_bfd)
if (t->vn_bfd != h->verinfo.verdef->vd_bfd)
continue;
for (a = t->vn_auxptr; a != NULL; a = a->vna_nextptr)