forked from pool/binutils
e5c3143c60
IR references to warning symbols. [bso#16746] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=158
15 lines
441 B
Diff
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
|