[PATCH 01/14] bfd: drop BFD_RELOC_I370_D12

Jan Beulich jbeulich@suse.com
Fri Nov 28 11:29:15 GMT 2025


i370 support is long gone from binutils, and this relocation is entirely
unused.

--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -4118,9 +4118,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_PPC64_GOT_DTPREL_PCREL34,
   BFD_RELOC_PPC64_TLS_PCREL,
 
-  /* IBM 370/390 relocations.  */
-  BFD_RELOC_I370_D12,
-
   /* The type of reloc used to build a constructor table - at the moment
      probably a 32 bit wide absolute relocation, but the target can choose.
      It generally does map to one of the other relocation types.  */
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -1671,7 +1671,6 @@ static const char *const bfd_reloc_code_
   "BFD_RELOC_PPC64_GOT_TPREL_PCREL34",
   "BFD_RELOC_PPC64_GOT_DTPREL_PCREL34",
   "BFD_RELOC_PPC64_TLS_PCREL",
-  "BFD_RELOC_I370_D12",
   "BFD_RELOC_CTOR",
   "BFD_RELOC_ARM_PCREL_BRANCH",
   "BFD_RELOC_ARM_PCREL_BLX",
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -2886,11 +2886,6 @@ ENUMDOC
   PowerPC and PowerPC64 thread-local storage relocations.
 
 ENUM
-  BFD_RELOC_I370_D12
-ENUMDOC
-  IBM 370/390 relocations.
-
-ENUM
   BFD_RELOC_CTOR
 ENUMDOC
   The type of reloc used to build a constructor table - at the moment



More information about the Binutils mailing list