diff options
author | Richard Henderson <rth@redhat.com> | 2001-01-27 00:04:09 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2001-01-27 00:04:09 +0000 |
commit | 8fb35fedd531db95117ec2571f74a8dac1cf5844 (patch) | |
tree | 844e9e6439bdcc383c9edd8e4e8f58d1d0a50271 /bfd/elfxx-ia64.c | |
parent | 5b616ba11e5389dc47b9d85a3cbfbdbb54955801 (diff) | |
download | gdb-8fb35fedd531db95117ec2571f74a8dac1cf5844.zip gdb-8fb35fedd531db95117ec2571f74a8dac1cf5844.tar.gz gdb-8fb35fedd531db95117ec2571f74a8dac1cf5844.tar.bz2 |
* elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false
for non-default visibility.
* elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but
delete ugly macro and replace with pretty function.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r-- | bfd/elfxx-ia64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index e620938..6751e4a 100644 --- a/bfd/elfxx-ia64.c +++ b/bfd/elfxx-ia64.c @@ -1181,6 +1181,8 @@ elfNN_ia64_dynamic_symbol_p (h, info) if (h->dynindx == -1) return false; + if (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT) + return false; if (h->root.type == bfd_link_hash_undefweak || h->root.type == bfd_link_hash_defweak) |