bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/10433] Latest ld fails to link ldconfig properly


From: hjl dot tools at gmail dot com
Subject: [Bug ld/10433] Latest ld fails to link ldconfig properly
Date: 22 Jul 2009 21:26:57 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2009-07-22 
21:26 -------
This patch:

Index: elflink.c
===================================================================
--- elflink.c   (revision 6448)
+++ elflink.c   (working copy)
@@ -8662,7 +8662,7 @@ elf_link_output_extsym (struct elf_link_
      forced local syms when non-shared is due to a historical quirk.
      STT_GNU_IFUNC symbol must go through PLT.  */
   if ((h->type == STT_GNU_IFUNC
-       && h->def_regular
+       && h->ref_regular
        && !finfo->info->relocatable)
       || ((h->dynindx != -1
           || h->forced_local)

fixes it. I will check it with some comments.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10433

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]