[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>