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