[01/14] bfd: drop BFD_RELOC_I370_D12

Message ID cac5265f-b8f2-41c9-a6af-09aa1e2480dc@suse.com
State New
Headers
Series bfd: a little bit of reloc enum cleanup |

Commit Message

Jan Beulich Nov. 28, 2025, 11:29 a.m. UTC
  i370 support is long gone from binutils, and this relocation is entirely
unused.
  

Patch

--- 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