bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/16746] ld complains about .gnu.warning symbols referenced by lin


From: rguenth at gcc dot gnu.org
Subject: [Bug ld/16746] ld complains about .gnu.warning symbols referenced by linker plugin inputs
Date: Mon, 24 Mar 2014 13:33:37 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16746

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> ---
Fix maybe as simple as doing

diff --git a/ld/ldmain.c b/ld/ldmain.c
index ffc9f84..71d41bf 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -1160,6 +1160,9 @@ warning_callback (struct bfd_link_info *info
ATTRIBUTE_UNUSED,
                  asection *section,
                  bfd_vma address)
 {
+  if (abfd->flags & BFD_PLUGIN)
+    return TRUE;
+
   /* This is a hack to support warn_multiple_gp.  FIXME: This should
      have a cleaner interface, but what?  */
   if (! config.warn_multiple_gp

?

-- 
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]