Fix opd->adjust index in elf64-ppc.c
Alan Modra
amodra@gmail.com
Sun Jul 5 12:41:00 GMT 2015
On Sun, Jul 05, 2015 at 08:22:35AM +0100, Richard Sandiford wrote:
> 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.
This is OK, thanks!
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list