mirror of https://github.com/proxmox/mirror_qemu
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-71466251a162master
parent
f9bf298717
commit
bf6bca527c
|
@ -25,7 +25,7 @@
|
||||||
static uint8_t *tb_ret_addr;
|
static uint8_t *tb_ret_addr;
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#define LINKAGE_AREA_SIZE 12
|
#define LINKAGE_AREA_SIZE 24
|
||||||
#define BACK_CHAIN_OFFSET 8
|
#define BACK_CHAIN_OFFSET 8
|
||||||
#else
|
#else
|
||||||
#define LINKAGE_AREA_SIZE 8
|
#define LINKAGE_AREA_SIZE 8
|
||||||
|
|
|
@ -66,7 +66,7 @@ enum {
|
||||||
#define TCG_REG_CALL_STACK TCG_REG_R1
|
#define TCG_REG_CALL_STACK TCG_REG_R1
|
||||||
#define TCG_TARGET_STACK_ALIGN 16
|
#define TCG_TARGET_STACK_ALIGN 16
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#define TCG_TARGET_CALL_STACK_OFFSET 12
|
#define TCG_TARGET_CALL_STACK_OFFSET 24
|
||||||
#else
|
#else
|
||||||
#define TCG_TARGET_CALL_ALIGN_ARGS 1
|
#define TCG_TARGET_CALL_ALIGN_ARGS 1
|
||||||
#define TCG_TARGET_CALL_STACK_OFFSET 8
|
#define TCG_TARGET_CALL_STACK_OFFSET 8
|
||||||
|
|
Loading…
Reference in New Issue