diff options
author | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-03 19:04:11 +0000 |
---|---|---|
committer | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-03 19:04:11 +0000 |
commit | bf6bca527c11dff117990acdeb8cb425e985788a (patch) | |
tree | dec96aafa24fd5ca240c16447dd80e6fa652bfba /tcg/ppc | |
parent | f9bf298717ef9ac3b0ebf2924f4fdd8d56d258f1 (diff) |
Account for MacOS X ABI reserved space in linkage area (Andreas Faerber)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4985 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/ppc')
-rw-r--r-- | tcg/ppc/tcg-target.c | 2 | ||||
-rw-r--r-- | tcg/ppc/tcg-target.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 |