aboutsummaryrefslogtreecommitdiff
path: root/linux-user/sparc/target_signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/sparc/target_signal.h')
-rw-r--r--linux-user/sparc/target_signal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/sparc/target_signal.h b/linux-user/sparc/target_signal.h
index 34f9a12..e661ddd 100644
--- a/linux-user/sparc/target_signal.h
+++ b/linux-user/sparc/target_signal.h
@@ -69,6 +69,10 @@ typedef struct target_sigaltstack {
#ifdef TARGET_ABI32
#define TARGET_ARCH_HAS_SETUP_FRAME
+#define TARGET_ARCH_HAS_SIGTRAMP_PAGE 1
+#else
+/* For sparc64, use of KA_RESTORER is mandatory. */
+#define TARGET_ARCH_HAS_SIGTRAMP_PAGE 0
#endif
/* bit-flags */