x86-64: Check for corrupt input with bad relocation
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 15 Mar 2019 07:46:12 +0000 (15:46 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 15 Mar 2019 07:46:12 +0000 (15:46 +0800)
commit418d4036ee37807b97b8040ebe7e2c15e9db726d
treeb9065616bbf18a807731d9374005dd696ffc4c69
parentda0d12d2bd46730ad8327b9fac1371182996017c
x86-64: Check for corrupt input with bad relocation

PR ld/24338
* elf64-x86-64.c (elf_x86_64_relocate_section): Check for corrupt
input with bad relocation.
bfd/ChangeLog
bfd/elf64-x86-64.c