]> Git Repo - qemu.git/commitdiff
linux-user/mips64: Restore setup_frame() for o32 ABI
authorPhilippe Mathieu-Daudé <[email protected]>
Thu, 19 Nov 2020 16:17:07 +0000 (17:17 +0100)
committerLaurent Vivier <[email protected]>
Sat, 13 Feb 2021 21:50:49 +0000 (22:50 +0100)
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é <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>
Message-Id: <20201119161710.1985083[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
linux-user/mips64/target_signal.h

index 799f7a668cd0f63808dd4f1f51b9adbef4840ae7..f1f0ed7f70673329cb80923870df81847c4adf21 100644 (file)
@@ -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 */
This page took 0.024734 seconds and 4 git commands to generate.