Re: [PATCH 16/21] linux-user/riscv: Implement setup_sigtramp

2021-06-17 Thread Alistair Francis
On Wed, Jun 16, 2021 at 11:22 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 >

Re: [PATCH 16/21] linux-user/riscv: Implement setup_sigtramp

2021-06-16 Thread Philippe Mathieu-Daudé
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

[PATCH 16/21] linux-user/riscv: Implement setup_sigtramp

2021-06-15 Thread Richard Henderson
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 remov