* elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an
authorRichard Henderson <rth@redhat.com>
Mon, 21 Apr 2003 22:17:12 +0000 (22:17 +0000)
committerRichard Henderson <rth@redhat.com>
Mon, 21 Apr 2003 22:17:12 +0000 (22:17 +0000)
        executable when a symbol is defined both regular and dynamic.

bfd/ChangeLog
bfd/elf64-alpha.c

index c79703cf8bc718af6d0ffbaf13364a9896b64919..1deded90651ac9eb768356d270e414fd9e4f0f2a 100644 (file)
@@ -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.
index bf18e205c0da494c48c63bb052a2680f11b82126..4a2658abe1f8f4712e8dee3016abf1f2b74ea4ee 100644 (file)
@@ -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;