Bfd/sh: Drop unused relocation enumerators
Removes unused relocation enumerators in the SH backend of the Binary File Descriptor (BFD) library, likely leftovers from SH5's 64-bit ISA.
This patch removes unused relocation enumerators from the SH backend of the BFD library. These enumerators are likely remnants from the SH5 architecture’s 64-bit ISA, SHmedia, which never fully materialized. Removing them cleans up the code and prevents potential confusion or misuse.
- proposer
Agrees with dropping the unused relocation enumerators, suspects they are leftovers from SH5's 64-bit ISA.
“Ok, thanks. I'm pretty sure these are left-overs from SH5's 64-bit ISA, SHmedia.”
In Details
The Binary File Descriptor (BFD) library uses relocation enumerators to define how to adjust addresses in object files during linking. This patch removes unused enumerators specific to the SH architecture. These are likely remnants from the SH5 architecture's 64-bit ISA, SHmedia, which was never fully implemented.
For Context
The Binary File Descriptor (BFD) library is a part of GNU binutils that provides a uniform interface for manipulating different object file formats. Relocation enumerators are symbolic names for different types of address fixups that might be needed when linking or loading code. This patch removes definitions for fixups that are no longer used, which simplifies the BFD code and reduces the risk of accidentally using an incorrect fixup type.