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

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