This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]