OSDN Git Service

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

Split out setup_sigreturn so that we can continue to
initialize the words on the stack, as documented.
However, use the off-stack trampoline.

Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-8-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/cris/signal.c
linux-user/cris/target_signal.h