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
This commit is contained in:
malc 2008-08-03 19:04:11 +00:00
parent f9bf298717
commit bf6bca527c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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