diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-01-30 14:11:03 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-01-30 16:08:20 -0800 |
commit | d9e3b590692e62d83c21e39ec6641c4c09e70e4c (patch) | |
tree | 346f0b0fb8d8b63b09565b53c0bbb19a8ec5986f /gold/testsuite/relro_test.cc | |
parent | 654ec4010a45077280a8d97f24c153f289eb62ed (diff) | |
download | gdb-d9e3b590692e62d83c21e39ec6641c4c09e70e4c.zip gdb-d9e3b590692e62d83c21e39ec6641c4c09e70e4c.tar.gz gdb-d9e3b590692e62d83c21e39ec6641c4c09e70e4c.tar.bz2 |
Check reloc against IFUNC symbol only with dynamic symbols
There is no need to check relocation IFUNC symbol if there are no
dynamic symbols.
bfd/
PR ld/19539
* elf32-i386.c (elf_i386_reloc_type_class): Check relocation
against STT_GNU_IFUNC symbol only with dynamic symbols.
* elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise.
ld/
PR ld/19539
* testsuite/ld-elf/pr19539.d: New file.
* testsuite/ld-elf/pr19539.s: Likewise.
* testsuite/ld-elf/pr19539.t: Likewise.
Diffstat (limited to 'gold/testsuite/relro_test.cc')
0 files changed, 0 insertions, 0 deletions