[binutils-gdb] bfd/mn10300: drop BFD_RELOC_MN10300_*_PCREL

Jan Beulich jbeulich@sourceware.org
Fri Mar 27 09:36:28 GMT 2026


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

commit 41983618138964b2c00808322290a71b297ce73c
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Mar 27 10:35:38 2026 +0100

    bfd/mn10300: drop BFD_RELOC_MN10300_*_PCREL
    
    They're unused.

Diff:
---
 bfd/bfd-in2.h |  8 --------
 bfd/libbfd.h  |  2 --
 bfd/reloc.c   | 10 ----------
 3 files changed, 20 deletions(-)

diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index d2b5af5e15c..554742a2cc1 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -3866,14 +3866,6 @@ enum bfd_reloc_code_real
   BFD_RELOC_MN10300_TLS_DTPOFF,
   BFD_RELOC_MN10300_TLS_TPOFF,
 
-  /* This is a 32bit pcrel reloc for the mn10300, offset by two bytes in
-     the instruction.  */
-  BFD_RELOC_MN10300_32_PCREL,
-
-  /* This is a 16bit pcrel reloc for the mn10300, offset by two bytes in
-     the instruction.  */
-  BFD_RELOC_MN10300_16_PCREL,
-
   /* i386/elf relocations.  */
   BFD_RELOC_386_GOT32,
   BFD_RELOC_386_PLT32,
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index d66df5286f9..22eb403d0c8 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -1446,8 +1446,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_MN10300_TLS_DTPMOD",
   "BFD_RELOC_MN10300_TLS_DTPOFF",
   "BFD_RELOC_MN10300_TLS_TPOFF",
-  "BFD_RELOC_MN10300_32_PCREL",
-  "BFD_RELOC_MN10300_16_PCREL",
   "BFD_RELOC_386_GOT32",
   "BFD_RELOC_386_PLT32",
   "BFD_RELOC_386_GOTOFF",
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 60b165f49ce..57f274a5316 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -2316,16 +2316,6 @@ ENUMX
   BFD_RELOC_MN10300_TLS_TPOFF
 ENUMDOC
   Various TLS-related relocations.
-ENUM
-  BFD_RELOC_MN10300_32_PCREL
-ENUMDOC
-  This is a 32bit pcrel reloc for the mn10300, offset by two bytes in
-  the instruction.
-ENUM
-  BFD_RELOC_MN10300_16_PCREL
-ENUMDOC
-  This is a 16bit pcrel reloc for the mn10300, offset by two bytes in
-  the instruction.
 
 ENUM
   BFD_RELOC_386_GOT32


More information about the Binutils-cvs mailing list