Correct coff-aarch64 howtos and delete unnecessary special functions
authorAlan Modra <amodra@gmail.com>
Sat, 14 Jan 2023 11:43:30 +0000 (22:13 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 19 Jan 2023 07:13:53 +0000 (17:43 +1030)
commitf07170eb86314cbb9ef3e10d19381779a4656d19
tree90532acdde92a479ca0f29b48be604af5d390be9
parent7e42d8dc7a69a41fc0f631d458c9c4170c3112ef
Correct coff-aarch64 howtos and delete unnecessary special functions

The remaining special functions are still broken except when called
by gas bfd_install_relocation.

* coff-aarch64.c (coff_aarch64_addr64_reloc),
(coff_aarch64_addr32_reloc, coff_aarch64_branch26_reloc),
(coff_aarch64_branch19_reloc, coff_aarch64_branch14_reloc),
(coff_aarch64_po12a_reloc): Delete.
(HOWTO_INSTALL_ADDEND): Define as 1.
(HOW): Remove pcrel_off.  Correct all the howtos.
(CALC_ADDEND): Define.
(coff_aarch64_rtype_to_howto): New function.
(coff_rtype_to_howto): Define.
bfd/coff-aarch64.c