Blame SOURCES/binutils-indirect-symbols.patch

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