tcg-ppc64: Adjust tcg_out_call for ELFv2
commit77e58d0d601a2f56e17bd7530c697c55895c579d
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 30 Apr 2014 21:33:05 +0000 (30 14:33 -0700)
committerRichard Henderson <rth@twiddle.net>
Mon, 23 Jun 2014 14:31:46 +0000 (23 07:31 -0700)
tree0cd7d7610fc6ff77eeaaf4383b51f9a29bb84352
parenta2a98f807b0cb8c9688df449ec6a3a98f3b0b9e9
tcg-ppc64: Adjust tcg_out_call for ELFv2

The new ELFv2 ABI, used by default on powerpc64le-linux hosts,
introduced some changes that are incompatible with code currently
generated by the ppc64 TGC target.  In particular, we no longer
use function descriptors.

This patch adds support for the ELFv2 ABI in the ppc64 TGC
function call and function prologue sequences.

Tested-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/ppc64/tcg-target.c