From 76a691f1af65f64d070ace531adef01fe187e29a Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Tue, 10 Mar 2020 11:33:51 +0100 Subject: linux-user, ppc: add syscall table generation support Copy syscall.tbl and syscallhdr.sh from linux/arch/ppc/kernel/syscalls v5.5 Update syscallhdr.sh to generate QEMU syscall_nr.h and to not generate the entry if entry point is sys_ni_syscall. Fix ppc/signal.c to define do_sigreturn() for TARGET_ABI32. Signed-off-by: Laurent Vivier Reviewed-by: Taylor Simpson Message-Id: <20200310103403.3284090-10-laurent@vivier.eu> Signed-off-by: Laurent Vivier --- linux-user/ppc/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-user/ppc/signal.c') diff --git a/linux-user/ppc/signal.c b/linux-user/ppc/signal.c index 5b82af6cb6..0c4e7ba54c 100644 --- a/linux-user/ppc/signal.c +++ b/linux-user/ppc/signal.c @@ -588,7 +588,7 @@ sigsegv: } -#if !defined(TARGET_PPC64) +#if !defined(TARGET_PPC64) || defined(TARGET_ABI32) long do_sigreturn(CPUPPCState *env) { struct target_sigcontext *sc = NULL; -- cgit 1.4.1