[1/8] bfd/mcore: drop BFD_RELOC_MCORE_{PCREL_32,RVA}
Checks
| Context |
Check |
Description |
| linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_binutils_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_binutils_check--master-arm |
success
|
Test passed
|
| linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 |
success
|
Test passed
|
Commit Message
They're unused. Really there was a bogus use in the assembler: If the
type isn't used anywhere else, the case label was stale (in one of two
ways; assume it was missed during some earlier conversion, with the
alternative being that it should be dropped altogether).
@@ -5067,9 +5067,7 @@ enum bfd_reloc_code_real
BFD_RELOC_MCORE_PCREL_IMM8BY4,
BFD_RELOC_MCORE_PCREL_IMM11BY2,
BFD_RELOC_MCORE_PCREL_IMM4BY2,
- BFD_RELOC_MCORE_PCREL_32,
BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2,
- BFD_RELOC_MCORE_RVA,
/* Toshiba Media Processor Relocations. */
BFD_RELOC_MEP_8,
@@ -2213,9 +2213,7 @@ static const char *const bfd_reloc_code_
"BFD_RELOC_MCORE_PCREL_IMM8BY4",
"BFD_RELOC_MCORE_PCREL_IMM11BY2",
"BFD_RELOC_MCORE_PCREL_IMM4BY2",
- "BFD_RELOC_MCORE_PCREL_32",
"BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2",
- "BFD_RELOC_MCORE_RVA",
"BFD_RELOC_MEP_8",
"BFD_RELOC_MEP_16",
"BFD_RELOC_MEP_32",
@@ -4424,11 +4424,7 @@ ENUMX
ENUMX
BFD_RELOC_MCORE_PCREL_IMM4BY2
ENUMX
- BFD_RELOC_MCORE_PCREL_32
-ENUMX
BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2
-ENUMX
- BFD_RELOC_MCORE_RVA
ENUMDOC
Motorola Mcore relocations.
@@ -2015,7 +2015,7 @@ md_apply_fix (fixS * fixP,
fixP->fx_done = 0;
break;
- case BFD_RELOC_MCORE_PCREL_32:
+ case BFD_RELOC_32_PCREL:
case BFD_RELOC_VTABLE_INHERIT:
case BFD_RELOC_VTABLE_ENTRY:
fixP->fx_done = 0;