Re: [RS6000] Don't support inline PLT for ABI_V4 bss-plt

2019-02-11 Thread Segher Boessenkool
Hi! On Mon, Feb 11, 2019 at 11:08:12AM +1030, Alan Modra wrote: > On Fri, Feb 08, 2019 at 04:53:44PM -0600, Segher Boessenkool wrote: > > > @@ -37981,7 +37982,7 @@ rs6000_call_sysv (rtx value, rtx func_desc, rtx > > > tlsarg, rtx cookie) > > >func = rs6000_longcall_ref (func_desc, tlsarg)

Re: [RS6000] Don't support inline PLT for ABI_V4 bss-plt

2019-02-10 Thread Alan Modra
On Fri, Feb 08, 2019 at 04:53:44PM -0600, Segher Boessenkool wrote: > > @@ -37981,7 +37982,7 @@ rs6000_call_sysv (rtx value, rtx func_desc, rtx > > tlsarg, rtx cookie) > >func = rs6000_longcall_ref (func_desc, tlsarg); > >/* If the longcall was implemented using PLT16 relocs, then

Re: [RS6000] Don't support inline PLT for ABI_V4 bss-plt

2019-02-08 Thread Segher Boessenkool
Hi Alan, On Fri, Feb 08, 2019 at 11:05:57AM +1030, Alan Modra wrote: > Inline PLT calls need PLT to be an array of addresses. bss-plt works > differently. > > Bootstrap and regression test on powerpc64-linux biarch in progress. > OK assuming no regressions? > > * config/rs6000/rs6000.c (r

[RS6000] Don't support inline PLT for ABI_V4 bss-plt

2019-02-07 Thread Alan Modra
Inline PLT calls need PLT to be an array of addresses. bss-plt works differently. Bootstrap and regression test on powerpc64-linux biarch in progress. OK assuming no regressions? * config/rs6000/rs6000.c (rs6000_longcall_ref): Don't use inline plt for ABI_V4 bss-plt. (rs6