From a4924e8bb533fb537d82a463b6465d80adaea0f5 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 25 Mar 2013 20:54:30 -0700 Subject: tcg-s390: Properly allocate a stack frame. Set TCG_TARGET_CALL_STACK_OFFSET properly for the abi. Allocate the standard TCG_STATIC_CALL_ARGS_SIZE. And while we're at it, allocate space for CPU_TEMP_BUF_NLONGS. Signed-off-by: Richard Henderson --- tcg/s390/tcg-target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcg/s390/tcg-target.h') diff --git a/tcg/s390/tcg-target.h b/tcg/s390/tcg-target.h index 40211e6..c6d9e84 100644 --- a/tcg/s390/tcg-target.h +++ b/tcg/s390/tcg-target.h @@ -100,7 +100,7 @@ typedef enum TCGReg { /* used for function call generation */ #define TCG_REG_CALL_STACK TCG_REG_R15 #define TCG_TARGET_STACK_ALIGN 8 -#define TCG_TARGET_CALL_STACK_OFFSET 0 +#define TCG_TARGET_CALL_STACK_OFFSET 160 #define TCG_TARGET_EXTEND_ARGS 1 -- cgit v1.1