This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[alpha] fix glibc reldep6 test
- From: Richard Henderson <rth at redhat dot com>
- To: binutils at sources dot redhat dot com
- Cc: Ulrich Drepper <drepper at redhat dot com>
- Date: Wed, 23 Jan 2002 13:54:53 -0800
- Subject: [alpha] fix glibc reldep6 test
The test is that lazy binding works properly for undefweak function
symbols. I have no idea why the plt entry was being suppressed here.
r~
* elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress
plt entries for undefweak symbols.
Index: elf64-alpha.c
===================================================================
RCS file: /cvs/src/src/bfd/elf64-alpha.c,v
retrieving revision 1.53
diff -c -p -d -u -r1.53 elf64-alpha.c
--- elf64-alpha.c 2002/01/22 09:51:58 1.53
+++ elf64-alpha.c 2002/01/23 21:50:51
@@ -2545,8 +2545,7 @@ elf64_alpha_adjust_dynamic_symbol (info,
/* 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