binutils/binutils-2.24-bso16746.diff
2014-03-24 14:00:56 +00:00

15 lines
441 B
Diff

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