Re: [PATCH v3 05/27] linux-user/arm: Implement setup_sigtramp

2021-09-27 Thread Peter Maydell
On Fri, 24 Sept 2021 at 17:59, Richard Henderson wrote: > > Update the trampoline code to match the kernel: this uses > sp-relative accesses rather than pc-relative. > > Signed-off-by: Richard Henderson These functions must write at most 8 bytes: > +static void write_arm_sigreturn(uint32_t

[PATCH v3 05/27] linux-user/arm: Implement setup_sigtramp

2021-09-24 Thread Richard Henderson
Update the trampoline code to match the kernel: this uses sp-relative accesses rather than pc-relative. Signed-off-by: Richard Henderson --- linux-user/arm/target_signal.h | 2 + linux-user/arm/signal.c| 177 - 2 files changed, 130 insertions(+), 49