Blame SOURCES/binutils-indirect-symbols.patch

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