aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-alpha.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c79703c..1deded9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-21 Richard Henderson <rth@redhat.com>
+
+ * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an
+ executable when a symbol is defined both regular and dynamic.
+
2003-04-21 Stephane Carrez <stcarrez@nerim.fr>
* Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo.
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;