From 8ba89f17ac1428020f206e8da24e750f0cfc2cae Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 23 Jan 2002 21:51:53 +0000 Subject: [PATCH] * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress plt entries for undefweak symbols. --- bfd/ChangeLog | 5 +++++ bfd/elf64-alpha.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index efa68ac5b94..549cb16ed10 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-01-23 Richard Henderson + + * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress + plt entries for undefweak symbols. + 2002-01-23 Steve Ellcey * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index 988ede948ff..293d62018ca 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -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 -- 2.30.2