pr18841 tests on powerpc64

Alan Modra amodra@gmail.com
Mon Jul 13 14:27:12 GMT 2020


On Mon, Jul 13, 2020 at 03:20:21PM +0200, Matthias Klose wrote:
> On 7/9/20 3:26 PM, Alan Modra wrote:
> > The PR18841 test does cross-module calls from within an ifunc
> > resolver, which is nasty, and not supported in general since the
> > called function may not be relocated.  In this case the called
> > function (zoo) is just a stub so doesn't need relocating, but on ppc64
> > the function descriptor for zoo in the executable won't be relocated
> > at the time the shared library ifunc resolver runs.  That means the
> > test will fail if your compiler generates PIEs by default.
> > 
> > 	PR 18841
> > 	* testsuite/ld-ifunc/ifunc.exp: Run pr18841 tests non-pie.
> 
> 
> please could you commit this to the 2.35 branch as well?

and done.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list