diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c index d6e9c5f30e..0fe3021e8f 100644 --- a/tcg/ppc/tcg-target.c +++ b/tcg/ppc/tcg-target.c @@ -25,7 +25,7 @@ static uint8_t *tb_ret_addr; #ifdef __APPLE__ -#define LINKAGE_AREA_SIZE 12 +#define LINKAGE_AREA_SIZE 24 #define BACK_CHAIN_OFFSET 8 #else #define LINKAGE_AREA_SIZE 8 diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h index a6544f8bff..d46c19d571 100644 --- a/tcg/ppc/tcg-target.h +++ b/tcg/ppc/tcg-target.h @@ -66,7 +66,7 @@ enum { #define TCG_REG_CALL_STACK TCG_REG_R1 #define TCG_TARGET_STACK_ALIGN 16 #ifdef __APPLE__ -#define TCG_TARGET_CALL_STACK_OFFSET 12 +#define TCG_TARGET_CALL_STACK_OFFSET 24 #else #define TCG_TARGET_CALL_ALIGN_ARGS 1 #define TCG_TARGET_CALL_STACK_OFFSET 8