[binutils-gdb] bfd: drop BFD_RELOC_I370_D12

Jan Beulich jbeulich@sourceware.org
Fri Dec 5 09:21:15 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=39e2ac7ca7291922d55dcbc8fe991fcf55d66a3f

commit 39e2ac7ca7291922d55dcbc8fe991fcf55d66a3f
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Dec 5 10:17:19 2025 +0100

    bfd: drop BFD_RELOC_I370_D12
    
    i370 support is long gone from binutils, and this relocation is entirely
    unused.

Diff:
---
 bfd/bfd-in2.h | 3 ---
 bfd/libbfd.h  | 1 -
 bfd/reloc.c   | 5 -----
 3 files changed, 9 deletions(-)

diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 6c05c21a0da..d718b1f1d0c 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -4108,9 +4108,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.  */
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index 2ae9b368c97..4b18e4c58db 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -1671,7 +1671,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "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",
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 68a8929413b..66ebe215ad1 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -2885,11 +2885,6 @@ ENUMX
 ENUMDOC
   PowerPC and PowerPC64 thread-local storage relocations.
 
-ENUM
-  BFD_RELOC_I370_D12
-ENUMDOC
-  IBM 370/390 relocations.
-
 ENUM
   BFD_RELOC_CTOR
 ENUMDOC


More information about the Binutils-cvs mailing list