Re: [Qemu-devel] [PATCH] tcg-ppc64: Support the ELFv2 ABI

2014-04-22 Thread Richard Henderson
On 04/22/2014 11:27 AM, Ulrich Weigand wrote: >> Any chance we can get assurances on the same TOC from the compiler > +linker? > > Well, I wasn't quite sure how to determine what the target of such a > call is: another snippet of generated code (which doesn't seem to > use any TOC, unless I'm miss

Re: [Qemu-devel] [PATCH] tcg-ppc64: Support the ELFv2 ABI

2014-04-22 Thread Ulrich Weigand
Richard Henderson wrote on 22.04.2014 19:53:18: > On 04/22/2014 09:20 AM, Ulrich Weigand wrote: > > +#elif _CALL_ELF == 2 > > +/* In the ELFv2 ABI, we do not need to set up the TOC pointer in r2, > > + but instead we have to set up r12 to contain the destination address > > + when