Message ID | 1452405391-4162-1-git-send-email-chengang@emindsoft.com.cn |
---|---|
State | New |
Headers | show |
Michael Tokarev has already enable sigaltstack() for all architecture: https://patchwork.ozlabs.org/patch/561514/ It is in the "-for-upstream" tree of Riku. Laurent Le 10/01/2016 06:56, chengang@emindsoft.com.cn a écrit : > From: Chen Gang <chengang@emindsoft.com.cn> > > Simply enable it, and notice about 80 columns coding styles. > > Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> > --- > linux-user/syscall.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/linux-user/syscall.c b/linux-user/syscall.c > index 6c64ba6..8d4bcf6 100644 > --- a/linux-user/syscall.c > +++ b/linux-user/syscall.c > @@ -8294,7 +8294,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, > 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_M68K) || defined(TARGET_S390X) || defined(TARGET_OPENRISC) > + defined(TARGET_M68K) || defined(TARGET_S390X) || defined(TARGET_TILEGX) || \ > + defined(TARGET_OPENRISC) > ret = do_sigaltstack(arg1, arg2, get_sp_from_cpustate((CPUArchState *)cpu_env)); > break; > #else >
On 1/10/16 18:43, Laurent Vivier wrote: > Michael Tokarev has already enable sigaltstack() for all architecture: > > https://patchwork.ozlabs.org/patch/561514/ > > It is in the "-for-upstream" tree of Riku. > OK, thanks. I shall continue solving existing issues for qemu tilegx, during my free time. Thanks.
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 6c64ba6..8d4bcf6 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -8294,7 +8294,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, 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_M68K) || defined(TARGET_S390X) || defined(TARGET_OPENRISC) + defined(TARGET_M68K) || defined(TARGET_S390X) || defined(TARGET_TILEGX) || \ + defined(TARGET_OPENRISC) ret = do_sigaltstack(arg1, arg2, get_sp_from_cpustate((CPUArchState *)cpu_env)); break; #else