This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] x86-64: Use .plt.bnd for IFUNC function address
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 10 May 2017 12:50:01 -0400
- Subject: [binutils-gdb] x86-64: Use .plt.bnd for IFUNC function address
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT aab82f4c201a2612c0fb6d5b66d8e4ce2f036f1c ***
Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: aab82f4c201a2612c0fb6d5b66d8e4ce2f036f1c
x86-64: Use .plt.bnd for IFUNC function address
When -z bndplt is used, we must use the .plt.bnd entry for IFUNC function
address.
bfd/
PR ld/21481
* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Use .plt.bnd
for IFUNC function address.
ld/
PR ld/21481
* testsuite/ld-x86-64/pr21481a.c: New file.
* testsuite/ld-x86-64/pr21481b.S: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Run PR ld/21481 tests.