bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbol


From: hjl.tools at gmail dot com
Subject: [Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbols with LTO
Date: Thu, 06 Oct 2011 23:29:18 +0000

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-10-06 23:29:18 
UTC ---
This works for me:

---
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 7120aad..0d216c2 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -8691,7 +8691,7 @@ elf_link_output_extsym (struct bfd_hash_entry *bh, void
*data)
         || h->root.type == bfd_link_hash_undefweak)
        && h->root.u.undef.abfd != NULL
        && (h->root.u.undef.abfd->flags & BFD_PLUGIN) != 0)
-    strip = TRUE;
+    return TRUE;
   else
     strip = FALSE;

---

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

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