Blame SOURCES/binutils-2.28-ignore-gold-duplicates.patch

8d443f
diff -rup binutils.orig/ld/ldmain.c binutils-2.28/ld/ldmain.c
8d443f
--- binutils.orig/ld/ldmain.c	2017-06-09 09:08:26.954016429 +0100
8d443f
+++ binutils-2.28/ld/ldmain.c	2017-06-09 09:09:11.307490976 +0100
8d443f
@@ -923,6 +923,10 @@ multiple_definition (struct bfd_link_inf
8d443f
       obfd = h->u.def.section->owner;
8d443f
       break;
8d443f
     case bfd_link_hash_indirect:
8d443f
+      /* PR 21074: The GOLD linker can produce multiple indirect
8d443f
+	 refences to the same symbol.  These can be ignored.  */
8d443f
+      if (bfd_is_ind_section (nsec))
8d443f
+	return;
8d443f
       osec = bfd_ind_section_ptr;
8d443f
       oval = 0;
8d443f
       obfd = NULL;