aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-01-27 00:04:09 +0000
committerRichard Henderson <rth@redhat.com>2001-01-27 00:04:09 +0000
commit8fb35fedd531db95117ec2571f74a8dac1cf5844 (patch)
tree844e9e6439bdcc383c9edd8e4e8f58d1d0a50271 /bfd/elfxx-ia64.c
parent5b616ba11e5389dc47b9d85a3cbfbdbb54955801 (diff)
downloadgdb-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.c2
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)