aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-11-19 17:17:07 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-02-13 22:50:49 +0100
commitaf552644a7a2c5a4d57ae158d831bf8ef79d12dc (patch)
treef3cd5fcce92ffa1d734fd1f1aadd36dfb75e53bd /linux-user
parentf4ceebdec531243dd72e38f85f085287e6e63258 (diff)
downloadqemu-af552644a7a2c5a4d57ae158d831bf8ef79d12dc.zip
qemu-af552644a7a2c5a4d57ae158d831bf8ef79d12dc.tar.gz
qemu-af552644a7a2c5a4d57ae158d831bf8ef79d12dc.tar.bz2
linux-user/mips64: Restore setup_frame() for o32 ABI
64-bit MIPS targets lost setup_frame() during the refactor in commit 8949bef18b9. Restore it declaring TARGET_ARCH_HAS_SETUP_FRAME, to be able to build the o32 ABI target. Fixes: 8949bef18b9 ("linux-user: move mips/mips64 signal.c parts to mips directory") Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20201119161710.1985083-2-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/mips64/target_signal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/mips64/target_signal.h b/linux-user/mips64/target_signal.h
index 799f7a6..f1f0ed7 100644
--- a/linux-user/mips64/target_signal.h
+++ b/linux-user/mips64/target_signal.h
@@ -67,4 +67,8 @@ typedef struct target_sigaltstack {
#define TARGET_MINSIGSTKSZ 2048
#define TARGET_SIGSTKSZ 8192
+#if defined(TARGET_ABI_MIPSO32)
+/* compare linux/arch/mips/kernel/signal.c:setup_frame() */
+#define TARGET_ARCH_HAS_SETUP_FRAME
+#endif
#endif /* MIPS64_TARGET_SIGNAL_H */