x86: Call rtype_to_howto to get reloc_howto_type pointer
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 20 Dec 2018 21:25:41 +0000 (13:25 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 20 Dec 2018 21:25:41 +0000 (13:25 -0800)
commit76268e027479f587b46b70b69760f1b96204bc28
treeef1c6627b8917da5b8e536264b58579ef4efde74
parent161d081c56f12e7a00d8a07ccac445855d5d357b
x86: Call rtype_to_howto to get reloc_howto_type pointer

* elf32-i386.c (elf_i386_relocate_section): Call
elf_i386_rtype_to_howto to get reloc_howto_type pointer.
* elf64-x86-64.c (elf_x86_64_relocate_section): Call
elf_x86_64_rtype_to_howto to get reloc_howto_type pointer.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c