]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog-2015
Skip extra relocations in .rel.plt/.rela.plt
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 20 May 2015 14:55:45 +0000 (07:55 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 20 May 2015 14:55:45 +0000 (07:55 -0700)
commitfca6ae69c41882f5adfba05da7d932b7c8bc2153
tree953c079ecf7ac5ab3b26f3546876a3c857959f09
parentce336788820b5d04700cdb9ead2ade880f5e2caa
Skip extra relocations in .rel.plt/.rela.plt

Extra relocations may be added to the .rel.plt/.rela.plt section, which
are unrelated to PLT.  We should skip them when retrieving PLT entry
symbol values.

PR binutils/18437
* elf32-i386.c (elf_i386_get_plt_sym_val): Skip extra relocations
in .rel.plt/.rela.plt.
* elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c