[PATCH] rs6000: Support ELFv2 sibcall for indirect calls [PR96787]
David Edelsohn
dje.gcc@gmail.com
Thu Aug 27 13:47:26 GMT 2020
On Thu, Aug 27, 2020 at 9:21 AM Bill Schmidt <wschmidt@linux.ibm.com> wrote:
>
> Prior to P10, ELFv2 hasn't implemented nonlocal sibcalls. Now that we do,
> we need to be sure that r12 is set up prior to such a call.
>
> Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no
> regressions. Is this okay for trunk?
>
> Thanks,
> Bill
>
>
> 2020-08-27 Bill Schmidt <wschmidt@linux.ibm.com>
>
> gcc/
> PR target/96787
> * config/rs6000/rs6000-logue.c (rs6000_sibcall_aix): Support
> indirect call for ELFv2.
>
> gcc/testsuite/
>
> PR target/96787
> * gcc.target/powerpc/pr96787-1.c: New.
> * gcc.target/powerpc/pr96787-2.c: New.
Okay.
Thanks, David
More information about the Gcc-patches
mailing list