提交 bf6bca52 编写于 作者: M malc

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
上级 f9bf2987
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册