aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-06-06 21:19:41 +0000
committerUlrich Drepper <drepper@redhat.com>1997-06-06 21:19:41 +0000
commitcf2cd4cf5d67f049ca0479b7471748404dce8b7e (patch)
tree10704aa2dba4993d36b8ee822ab35dafd4ada8c6 /bfd/elflink.h
parent72574181299d28bcc6d2425e6697d8ecf4d173ca (diff)
downloadgdb-cf2cd4cf5d67f049ca0479b7471748404dce8b7e.zip
gdb-cf2cd4cf5d67f049ca0479b7471748404dce8b7e.tar.gz
gdb-cf2cd4cf5d67f049ca0479b7471748404dce8b7e.tar.bz2
(elf_link_find_version_dependencies): When searching
for known version symbol skip non-matching verdef records, not matching records.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index a6d06b1..cce2947 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -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)