linux-user: Pass CPUArchState to do_sigaltstack
commit6b2087550345e87320f777c4db8254323d0d4123
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 26 Apr 2021 02:53:12 +0000 (25 19:53 -0700)
committerLaurent Vivier <laurent@vivier.eu>
Sat, 15 May 2021 19:43:23 +0000 (15 21:43 +0200)
treed729b4f4c0dbe3d25a0e96680a473c6600d37cea
parent56384cf3adaeb15bab479be328605e301ae253f2
linux-user: Pass CPUArchState to do_sigaltstack

Now that we have exactly one call, it's easy to pass
in env instead of passing in the sp value.
Use target_save_altstack, which required env.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210426025334.1168495-4-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/qemu.h
linux-user/signal.c
linux-user/syscall.c