mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 21:33:40 +08:00
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:
parent
f9bf298717
commit
bf6bca527c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user