From a48ef404c7175df1b49e4d3bdfe341816e9429dd Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 3 Mar 1997 00:27:52 +0000 Subject: [PATCH] * elflink.h (elf_link_find_version_dependencies): Check that DEF_REGULAR is not set as well as checking that DEF_DYNAMIC is set. --- bfd/ChangeLog | 6 ++++++ bfd/elflink.h | 1 + 2 files changed, 7 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 54316624de5..05f2e384b14 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +Sun Mar 2 16:25:35 1997 Ian Lance Taylor + + * elflink.h (elf_link_find_version_dependencies): Check that + DEF_REGULAR is not set as well as checking that DEF_DYNAMIC is + set. + start-sanitize-tic80 Fri Feb 28 16:52:40 1997 Fred Fish diff --git a/bfd/elflink.h b/bfd/elflink.h index c1dd8b363cf..13406ebf55b 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -2442,6 +2442,7 @@ elf_link_find_version_dependencies (h, data) /* We only care about symbols defined in shared objects with version information. */ if ((h->elf_link_hash_flags & ELF_LINK_HASH_DEF_DYNAMIC) == 0 + || (h->elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) != 0 || h->dynindx == -1 || h->verinfo.verdef == NULL) return true; -- 2.30.2