diff options
author | Richard Henderson | 2021-09-29 15:05:32 +0200 |
---|---|---|
committer | Laurent Vivier | 2021-10-01 12:03:48 +0200 |
commit | b5d66e0dd8dda3d58e58dafa425372d158bed3e8 (patch) | |
tree | 98df834fcf15df7a09636614545cc19dc215049d /linux-user/arm/cpu_loop.c | |
parent | linux-user/arm: Drop "_v2" from symbols in signal.c (diff) | |
download | qemu-b5d66e0dd8dda3d58e58dafa425372d158bed3e8.tar.gz qemu-b5d66e0dd8dda3d58e58dafa425372d158bed3e8.tar.xz qemu-b5d66e0dd8dda3d58e58dafa425372d158bed3e8.zip |
linux-user/arm: Implement setup_sigtramp
Mirror what the kernel does in arch/arm/kernel/signal.h,
using the old sigframe struct in the rt sigframe struct.
Update the trampoline code to match the kernel: this uses
sp-relative accesses rather than pc-relative.
Copy the code into frame->retcode from the trampoline page.
This minimises the different cases wrt arm vs thumb vs fdpic.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210929130553.121567-6-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/arm/cpu_loop.c')
0 files changed, 0 insertions, 0 deletions