[PATCH 2/8] bfd/mn10300: drop BFD_RELOC_MN10300_*_PCREL
Jan Beulich
jbeulich@suse.com
Fri Mar 13 09:50:30 GMT 2026
They're unused.
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -3814,14 +3814,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,
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -1406,8 +1406,6 @@ static const char *const bfd_reloc_code_
"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",
--- 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
mailing list