x86: Add VERIFY_PLT_ENTRY
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:46:56 +0000 (00:46 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:48:26 +0000 (00:48 -0700)
commitf3180fa9ee8917fa9547cd5f79c822761f5d87a0
tree0053e9d7ac0506a307b9c912491e5f504cb7ed12
parente74399c47c76b8111651f41b52a05401852cf799
x86: Add VERIFY_PLT_ENTRY

Add VERIFY_PLT_ENTRY to verify that symbol has an entry in the procedure
linkage table.

* elfxx-x86.h (VERIFY_PLT_ENTRY): New.
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Use it.
* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
bfd/elfxx-x86.h