Re: [PATCH] PR 51469, Make gnu indirect functions always non-local

2011-12-08 Thread Richard Henderson
On 12/08/2011 02:29 PM, Michael Meissner wrote: > 2011-12-08 Michael Meissner > > PR rtl-optimization/51469 > * varasm.c (default_binds_local_p_1): If the symbol is a gnu > indirect function, mark the symbol as non-local. Ok everywhere. r~

[PATCH] PR 51469, Make gnu indirect functions always non-local

2011-12-08 Thread Michael Meissner
I noticed that most of the attr-ifunc tests were failing on the PowerPC. I tracked it down to the fact that in varasm.c the indirect function is considered a local function. On the powerpc in 64-bit mode or 32-bit mode under AIX, a local function uses the same TOC value in r2 as the caller, so th