diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-09-29 09:05:49 -0400 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-10-01 12:03:48 +0200 |
commit | b9188f9ccc2af655666cfaac12ff9fb4db3c6009 (patch) | |
tree | c32e267590c7de233fc07910fd61dcaf8ae5ab48 /linux-user/sh4/target_signal.h | |
parent | 31330e6cecfdf2c4617ecb95c7e2804a8dae2488 (diff) |
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>
Diffstat (limited to 'linux-user/sh4/target_signal.h')
-rw-r--r-- | linux-user/sh4/target_signal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/sh4/target_signal.h b/linux-user/sh4/target_signal.h index d7309b7136..04069cba66 100644 --- a/linux-user/sh4/target_signal.h +++ b/linux-user/sh4/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 /* SH4_TARGET_SIGNAL_H */ |