Add support for the TLV relocation generated by LLVM for x86_64 MACH-O targets.
authorMephi <mephi42@gmail.com>
Mon, 18 Jun 2018 11:56:44 +0000 (12:56 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 18 Jun 2018 11:56:44 +0000 (12:56 +0100)
commited1299fe460812ad4bbdc2192d0c0cbeba3d6b66
tree17c4f6b7e37957989ec1caf0b230c4a44d8a0e42
parent02895270ec7243f46ea3e84dc385515533dc0139
Add support for the TLV relocation generated by LLVM for x86_64 MACH-O targets.

PR 23297
* mach-o-x86-64.c (x86_64_howto_table): Add entry for
BFD_RELOC_MACH_O_X86_64_RELOC_TLV.
(bfd_mach_o_x86_64_canonicalize_one_reloc): Handle the new reloc.
(bfd_mach_o_x86_64_swap_reloc_out): Likewise.
* reloc.c (BFD_RELOC_MACH_O_X86_64_TV): New entry.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
bfd/ChangeLog
bfd/bfd-in2.h
bfd/libbfd.h
bfd/mach-o-x86-64.c
bfd/reloc.c