* elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress
authorRichard Henderson <rth@redhat.com>
Wed, 23 Jan 2002 21:51:53 +0000 (21:51 +0000)
committerRichard Henderson <rth@redhat.com>
Wed, 23 Jan 2002 21:51:53 +0000 (21:51 +0000)
        plt entries for undefweak symbols.

bfd/ChangeLog
bfd/elf64-alpha.c

index efa68ac5b94eb74e2c245a7f8fe69d3908658a3b..549cb16ed1056d592a0ee6b9be0385b919a18175 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-23  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress
+       plt entries for undefweak symbols.
+
 2002-01-23  Steve Ellcey <sje@cup.hp.com>
 
        * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to
index 988ede948ffaa9944b47bd191123e48410a0620a..293d62018ca3134ca4c41b879a60a0908d6a18ba 100644 (file)
@@ -2545,8 +2545,7 @@ elf64_alpha_adjust_dynamic_symbol (info, h)
   /* Now that we've seen all of the input symbols, finalize our decision
      about whether this symbol should get a .plt entry.  */
 
-  if (h->root.type != bfd_link_hash_undefweak
-      && alpha_elf_dynamic_symbol_p (h, info)
+  if (alpha_elf_dynamic_symbol_p (h, info)
       && ((h->type == STT_FUNC
           && !(ah->flags & ALPHA_ELF_LINK_HASH_LU_ADDR))
          || (h->type == STT_NOTYPE