This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix opd->adjust index in elf64-ppc.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]