Blame SOURCES/binutils-indirect-symbols.patch

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