Blame SOURCES/binutils-indirect-symbols.patch

a8cd6b
--- binutils.orig/bfd/elflink.c	2022-03-30 11:44:05.686040593 +0100
a8cd6b
+++ binutils-2.38/bfd/elflink.c	2022-03-30 11:45:18.066541463 +0100
a8cd6b
@@ -1294,9 +1294,8 @@ _bfd_elf_merge_symbol (bfd *abfd,
a8cd6b
 	  h->root.non_ir_ref_dynamic = true;
a8cd6b
 	  hi->root.non_ir_ref_dynamic = true;
a8cd6b
 	}
a8cd6b
-
a8cd6b
-      if ((oldbfd->flags & BFD_PLUGIN) != 0
a8cd6b
-	  && hi->root.type == bfd_link_hash_indirect)
a8cd6b
+      else if ((oldbfd->flags & BFD_PLUGIN) != 0
a8cd6b
+	       && hi->root.type == bfd_link_hash_indirect)
a8cd6b
 	{
a8cd6b
 	  /* Change indirect symbol from IR to undefined.  */
a8cd6b
 	  hi->root.type = bfd_link_hash_undefined;