[00/14] bfd: a little bit of reloc enum cleanup

Message ID ef99d3f1-0bf5-486c-b1eb-6ee36c2cd2a1@suse.com
Headers
Series bfd: a little bit of reloc enum cleanup |

Message

Jan Beulich Nov. 28, 2025, 11:26 a.m. UTC
  We have excessively many reloc enumerator values, some unused, many
redundant. Do a little bit of tidying there.

01: drop BFD_RELOC_I370_D12
02: drop BFD_RELOC_VPE4KMATH_*
03: x86-64: use BFD_RELOC_64_PLTOFF in favor of custom type
04: x86-64: use BFD_RELOC_32_PLT_PCREL in favor of custom type
05: Arm: use BFD_RELOC_32_PLT_PCREL in favor of custom type
06: Arc: use generic BFD_RELOC_... in favor of custom types
07: Sparc: use BFD_RELOC_<n>_PLT_PCREL in favor of custom types
08: S/390: use BFD_RELOC_<n>_PLT_PCREL in favor of custom types
09: ELF: fold BFD_RELOC_<arch>_IRELATIVE
10: ELF: fold BFD_RELOC_<arch>_COPY
11: ELF: fold BFD_RELOC_<arch>_GLOB_DAT
12: ELF: fold BFD_RELOC_<arch>_J{,U}MP_SLOT
13: ELF: fold BFD_RELOC_<arch>_RELATIVE
14: s12z: put relocations next to each other

Jan