This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix opd->adjust index in elf64-ppc.c
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org, rdsandiford at googlemail dot com
- Date: Sun, 5 Jul 2015 22:11:30 +0930
- Subject: Re: Fix opd->adjust index in elf64-ppc.c
- Authentication-results: sourceware.org; auth=none
- References: <87h9pjax1g dot fsf at googlemail dot com>
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