Commit 64e3257c03fda8355d4e38b0671143b3c6e03069
1 parent
bcb0126f
Define stack offsets
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4554 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
5 additions
and
0 deletions
tcg/sparc/tcg-target.h
... | ... | @@ -74,6 +74,11 @@ enum { |
74 | 74 | /* used for function call generation */ |
75 | 75 | #define TCG_REG_CALL_STACK TCG_REG_O6 |
76 | 76 | #define TCG_TARGET_STACK_ALIGN 16 |
77 | +#ifdef __arch64__ | |
78 | +#define TCG_TARGET_CALL_STACK_OFFSET 2047 | |
79 | +#else | |
80 | +#define TCG_TARGET_CALL_STACK_OFFSET 0 | |
81 | +#endif | |
77 | 82 | |
78 | 83 | #if defined(__sparc_v9__) && !defined(__sparc_v8plus__) |
79 | 84 | #define TCG_TARGET_STACK_MINFRAME 176 | ... | ... |