diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-01-30 14:24:25 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-06-19 08:51:11 -0700 |
commit | 7b7d8b2d9a7fd68de821f96267e224c1a6256af1 (patch) | |
tree | 0de572bc83a96bf0793c3b27605c44c7c8704f0d /tcg/tci/tcg-target.h | |
parent | bcb81061dc8173076d9669f969d132b998cd2af9 (diff) | |
download | qemu-7b7d8b2d9a7fd68de821f96267e224c1a6256af1.zip qemu-7b7d8b2d9a7fd68de821f96267e224c1a6256af1.tar.gz qemu-7b7d8b2d9a7fd68de821f96267e224c1a6256af1.tar.bz2 |
tcg/tci: Use ffi for calls
This requires adjusting where arguments are stored.
Place them on the stack at left-aligned positions.
Adjust the stack frame to be at entirely positive offsets.
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tci/tcg-target.h')
-rw-r--r-- | tcg/tci/tcg-target.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h index d0b5f3f..f2e5cba 100644 --- a/tcg/tci/tcg-target.h +++ b/tcg/tci/tcg-target.h @@ -162,7 +162,7 @@ typedef enum { /* Used for function call generation. */ #define TCG_TARGET_CALL_STACK_OFFSET 0 -#define TCG_TARGET_STACK_ALIGN 16 +#define TCG_TARGET_STACK_ALIGN 8 #define HAVE_TCG_QEMU_TB_EXEC |