[Top][All Lists]
[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.
- [Bug ld/13244] New: GNU LD incorrectly complain about undefined hidden symbols with LTO, hubicka at gcc dot gnu.org, 2011/10/01
- [Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbols with LTO, hjl.tools at gmail dot com, 2011/10/05
- [Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbols with LTO, hjl.tools at gmail dot com, 2011/10/05
- [Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbols with LTO, hubicka at ucw dot cz, 2011/10/06
- [Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbols with LTO,
hjl.tools at gmail dot com <=
- [Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbols with LTO, hjl.tools at gmail dot com, 2011/10/07
- [Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbols with LTO, cvs-commit at gcc dot gnu.org, 2011/10/08
- [Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbols with LTO, amodra at gmail dot com, 2011/10/08
- [Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbols with LTO, cvs-commit at gcc dot gnu.org, 2011/10/24
- [Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbols with LTO, amodra at gmail dot com, 2011/10/24