diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-09-29 09:05:34 -0400 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-10-01 12:03:48 +0200 |
commit | e281c2bafe22135c47caf7e1fa9db19647e49c3d (patch) | |
tree | 2f9e06c3a666e5c5df79cf14d8a9c185421fe887 /linux-user/cris/target_signal.h | |
parent | dd55f1c8b217e14293f42d8531371b7c626c61dd (diff) |
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>
Diffstat (limited to 'linux-user/cris/target_signal.h')
-rw-r--r-- | linux-user/cris/target_signal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/cris/target_signal.h b/linux-user/cris/target_signal.h index 495a142896..83a5155507 100644 --- a/linux-user/cris/target_signal.h +++ b/linux-user/cris/target_signal.h @@ -22,4 +22,6 @@ typedef struct target_sigaltstack { #include "../generic/signal.h" #define TARGET_ARCH_HAS_SETUP_FRAME +#define TARGET_ARCH_HAS_SIGTRAMP_PAGE 1 + #endif /* CRIS_TARGET_SIGNAL_H */ |