1e0f028de7
A typo in sizeof_reg put the registers at the wrong offset.
Simplify the expressions to use positive addresses from the
start of uc_mcontext instead of negative addresses from the
end of uc_mcontext.
Reported-by: Vineet Gupta <vineetg@rivosinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
cpu_loop.c | ||
Makefile.vdso | ||
meson.build | ||
signal.c | ||
sockbits.h | ||
syscall32_nr.h | ||
syscall64_nr.h | ||
syscall_nr.h | ||
target_cpu.h | ||
target_elf.h | ||
target_errno_defs.h | ||
target_fcntl.h | ||
target_mman.h | ||
target_prctl.h | ||
target_proc.h | ||
target_resource.h | ||
target_signal.h | ||
target_structs.h | ||
target_syscall.h | ||
termbits.h | ||
vdso-32.so | ||
vdso-64.so | ||
vdso-asmoffset.h | ||
vdso.ld | ||
vdso.S |