mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* elflink.h (elf_link_find_version_dependencies): Check that
DEF_REGULAR is not set as well as checking that DEF_DYNAMIC is set.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
Sun Mar 2 16:25:35 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* 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 <fnf@cygnus.com>
|
||||
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user