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