aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-alpha.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-01-23 21:51:53 +0000
committerRichard Henderson <rth@redhat.com>2002-01-23 21:51:53 +0000
commit8ba89f17ac1428020f206e8da24e750f0cfc2cae (patch)
treefbd9f06c17a6eeb60057fa39b4dc9321d39aa0cb /bfd/elf64-alpha.c
parent3d6e1b5afe29d04334ccb8ed89da18258796a4d5 (diff)
downloadgdb-8ba89f17ac1428020f206e8da24e750f0cfc2cae.zip
gdb-8ba89f17ac1428020f206e8da24e750f0cfc2cae.tar.gz
gdb-8ba89f17ac1428020f206e8da24e750f0cfc2cae.tar.bz2
* elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress
plt entries for undefweak symbols.
Diffstat (limited to 'bfd/elf64-alpha.c')
-rw-r--r--bfd/elf64-alpha.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index 988ede9..293d620 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