Blame SOURCES/binutils-indirect-symbols.patch

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