This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix an opd->append index in elf64-ppc.c
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Sun, 05 Jul 2015 15:22:59 -0400
- Subject: [binutils-gdb] Fix an opd->append index in elf64-ppc.c
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 92a9c616e496f41c3d1da949078d5739add79161 ***
Author: Richard Sandiford <rdsandiford@googlemail.com>
Branch: master
Commit: 92a9c616e496f41c3d1da949078d5739add79161
Fix an opd->append index in elf64-ppc.c
bfd/
* elf64-ppc.c (toc_adjusting_stub_needed): Use the symbol value
plus addend rather than the original st_value when looking up
entries in opd->adjust.
ld/testsuite/
* ld-powerpc/tocopt6-inc.s, ld-powerpc/tocopt6a.s,
ld-powerpc/tocopt6b.s, ld-powerpc/tocopt6c.s,
ld-powerpc/tocopt6.d: New test.
* ld-powerpc/powerpc.exp (ppc64elftests): Add it.