summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2009-08-03 16:12:19 +0200
committerRiku Voipio <riku.voipio@iki.fi>2009-08-25 17:15:34 +0300
commitc761c15403ed2320d0265257d6b21b8c2e1ecff7 (patch)
treef85dbeec070a29f3f7d4c0f37a2467720e1fd1cb
parent7181155db9c238a4d5ff40206b2c9c084434b290 (diff)
downloadqemu-c761c15403ed2320d0265257d6b21b8c2e1ecff7.tar.gz
qemu-c761c15403ed2320d0265257d6b21b8c2e1ecff7.tar.bz2
qemu-c761c15403ed2320d0265257d6b21b8c2e1ecff7.zip
m68k, linux-user: enable sigaltstack()
As setup_frame() and setup_rt_frame() are now implemented we can now enable sigaltstack(). Signed-off-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
-rw-r--r--linux-user/syscall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 603fec265d..1c3167ea22 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -6111,7 +6111,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
goto unimplemented;
case TARGET_NR_sigaltstack:
#if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_MIPS) || \
- defined(TARGET_SPARC) || defined(TARGET_PPC) || defined(TARGET_ALPHA)
+ defined(TARGET_SPARC) || defined(TARGET_PPC) || defined(TARGET_ALPHA) || \
+ defined(TARGET_M68K)
ret = do_sigaltstack(arg1, arg2, get_sp_from_cpustate((CPUState *)cpu_env));
break;
#else