Assert size of elf_x86_64_{bnd|legacy}_plt2_entry
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 23 Nov 2014 13:54:02 +0000 (05:54 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 23 Nov 2014 13:54:02 +0000 (05:54 -0800)
commit6db50b4cfe55834ee5fc8dc95c80529f8a0f2a1f
treefd6d61d3876e6b4bdc0fdb6ae91d02f5a44de8e6
parente8af5d7a5cd4c58136a4733e87612f49061bf28b
Assert size of elf_x86_64_{bnd|legacy}_plt2_entry

Assert size of elf_x86_64_bnd_plt2_entry and elf_x86_64_legacy_plt2_entry
only in elf_x86_64_check_relocs.

* elf64-x86-64.c (elf_x86_64_check_relocs): Assert size of
elf_x86_64_bnd_plt2_entry and elf_x86_64_legacy_plt2_entry.
(elf_x86_64_allocate_dynrelocs): Don't assert size of
elf_x86_64_bnd_plt2_entry and elf_x86_64_legacy_plt2_entry.
bfd/ChangeLog
bfd/elf64-x86-64.c