aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-alpha.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-04-21 22:17:12 +0000
committerRichard Henderson <rth@redhat.com>2003-04-21 22:17:12 +0000
commitcc13e3efe31d019ec529d140f21d57062125cce3 (patch)
treedd2da9bd949a6e404cca2d448b75ecf28283a21d /bfd/elf64-alpha.c
parent4aa79dcc211440a846184993ae8cdfc598bfc6c5 (diff)
downloadgdb-cc13e3efe31d019ec529d140f21d57062125cce3.zip
gdb-cc13e3efe31d019ec529d140f21d57062125cce3.tar.gz
gdb-cc13e3efe31d019ec529d140f21d57062125cce3.tar.bz2
* elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an
executable when a symbol is defined both regular and dynamic.
Diffstat (limited to 'bfd/elf64-alpha.c')
-rw-r--r--bfd/elf64-alpha.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index bf18e205..4a2658a 100644
--- a/bfd/elf64-alpha.c
+++ b/bfd/elf64-alpha.c
@@ -305,7 +305,9 @@ alpha_elf_dynamic_symbol_p (h, info)
if ((info->shared && !info->symbolic)
|| ((h->elf_link_hash_flags
- & (ELF_LINK_HASH_DEF_DYNAMIC | ELF_LINK_HASH_REF_REGULAR))
+ & (ELF_LINK_HASH_DEF_DYNAMIC
+ | ELF_LINK_HASH_DEF_REGULAR
+ | ELF_LINK_HASH_REF_REGULAR))
== (ELF_LINK_HASH_DEF_DYNAMIC | ELF_LINK_HASH_REF_REGULAR)))
return TRUE;