This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Also check GOT PLT for R_X86_64_PLTOFF64
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Mon, 14 Nov 2016 13:39:07 -0500
- Subject: [binutils-gdb] Also check GOT PLT for R_X86_64_PLTOFF64
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 9d734efa1034d266249751978f95a686ec9d19c6 ***
Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 9d734efa1034d266249751978f95a686ec9d19c6
Also check GOT PLT for R_X86_64_PLTOFF64
Since "-z now" replaces PLT with GOT PLT, we should also check GOT PLT
for R_X86_64_PLTOFF64 relocation.
bfd/
PR ld/20800
* elf64-x86-64.c (elf_x86_64_relocate_section): Also check
plt_got.offset for R_X86_64_PLTOFF64.
ld/
PR ld/20800
* testsuite/ld-x86-64/pr20800a.S: New file.
* testsuite/ld-x86-64/pr20800b.S: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.