linux-user/sh4: Implement setup_sigtramp
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 29 Sep 2021 13:05:49 +0000 (09:05 -0400)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 1 Oct 2021 10:03:48 +0000 (12:03 +0200)
commitb9188f9ccc2af655666cfaac12ff9fb4db3c6009
treec32e267590c7de233fc07910fd61dcaf8ae5ab48
parent31330e6cecfdf2c4617ecb95c7e2804a8dae2488
linux-user/sh4: Implement setup_sigtramp

Create and record the two signal trampolines.
Use them when the guest does not use SA_RESTORER.

Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-23-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/sh4/signal.c
linux-user/sh4/target_signal.h