Match PLT entry only for ELFOSABI_GNU input
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 16 Jul 2014 18:15:56 +0000 (11:15 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 16 Jul 2014 18:15:56 +0000 (11:15 -0700)
commitcca5b8b64b3286bb96cd7a2c18232d1acea85cd9
tree6c1c671315f38ed1dd7590a1a341133d1a30195c
parent144bed8d4d8a1bdc0067f55f2ee71c07e5594677
Match PLT entry only for ELFOSABI_GNU input

* elf32-i386.c (elf_i386_plt_sym_val): Match PLT entry only for
ELFOSABI_GNU input.
* elf64-x86-64.c (elf_x86_64_plt_sym_val): Likewise.
(elf_x86_64_plt_sym_val_offset_plt_bnd): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c