diff options
author | Richard Henderson | 2018-05-27 21:02:17 +0200 |
---|---|---|
committer | Stafford Horne | 2018-07-03 15:40:33 +0200 |
commit | e8f29049b1e904068ce874e6a40b6ad18b26e121 (patch) | |
tree | 954be452e037a4384971bf9c9554bea2ebad70d1 /linux-user/signal.c | |
parent | target/openrisc: Add support in scripts/qemu-binfmt-conf.sh (diff) | |
download | qemu-e8f29049b1e904068ce874e6a40b6ad18b26e121.tar.gz qemu-e8f29049b1e904068ce874e6a40b6ad18b26e121.tar.xz qemu-e8f29049b1e904068ce874e6a40b6ad18b26e121.zip |
linux-user: Implement signals for openrisc
All of the existing code was boilerplate from elsewhere,
and would crash the guest upon the first signal.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
---
v2:
Add a comment to the new definition of target_pt_regs.
Install the signal mask into the ucontext.
v3:
Incorporate feedback from Laurent.
Diffstat (limited to 'linux-user/signal.c')
-rw-r--r-- | linux-user/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c index be2815b45d..602b631b92 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -236,7 +236,7 @@ int do_sigprocmask(int how, const sigset_t *set, sigset_t *oldset) return 0; } -#if !defined(TARGET_OPENRISC) && !defined(TARGET_NIOS2) +#if !defined(TARGET_NIOS2) /* Just set the guest's signal mask to the specified value; the * caller is assumed to have called block_signals() already. */ |