[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 16/21] linux-user/riscv: Implement setup_sigtramp
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 16/21] linux-user/riscv: Implement setup_sigtramp |
Date: |
Wed, 16 Jun 2021 18:50:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
On 6/16/21 3:12 AM, Richard Henderson wrote:
> Create and record the rt signal trampoline.
>
> This fixes a bug wrt libgcc fallback unwinding. It expects
> the stack pointer to point to the siginfo_t, whereas we had
> inexplicably placed our private signal trampoline at the start
> of the signal frame instead of the end. Now moot because we
> have removed it from the stack frame entirely.
>
> Cc: qemu-riscv@nongnu.org
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> linux-user/riscv/target_signal.h | 2 ++
> linux-user/riscv/signal.c | 22 +++++++++++++---------
> 2 files changed, 15 insertions(+), 9 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- Re: [PATCH 14/21] linux-user/openrisc: Implement setup_sigtramp, (continued)
- [PATCH 13/21] linux-user/nios2: Document non-use of setup_sigtramp, Richard Henderson, 2021/06/15
- [PATCH 17/21] linux-user/s390x: Implement setup_sigtramp, Richard Henderson, 2021/06/15
- [PATCH 21/21] linux-user: Remove default for TARGET_ARCH_HAS_SIGTRAMP_PAGE, Richard Henderson, 2021/06/15
- [PATCH 09/21] linux-user/i386: Implement setup_sigtramp, Richard Henderson, 2021/06/15
- [PATCH 15/21] linux-user/ppc: Implement setup_sigtramp, Richard Henderson, 2021/06/15
- [PATCH 16/21] linux-user/riscv: Implement setup_sigtramp, Richard Henderson, 2021/06/15
- [PATCH 18/21] linux-user/sh4: Implement setup_sigtramp, Richard Henderson, 2021/06/15
- [PATCH 20/21] linux-user/xtensa: Implement setup_sigtramp, Richard Henderson, 2021/06/15
- [PATCH 19/21] linux-user/sparc: Implement setup_sigtramp, Richard Henderson, 2021/06/15
- Re: [PATCH 00/21] linux-user: Move signal trampolines to new page, Alex Bennée, 2021/06/16