qemu-e2k/common-user
Richard Henderson d7478d4229 common-user: Fix tail calls to safe_syscall_set_errno_tail
For the ABIs in which the syscall return register is not
also the first function argument register, move the errno
value into the correct place.

Fixes: a3310c0397 ("linux-user: Move syscall error detection into safe_syscall_base")
Reported-by: Laurent Vivier <laurent@vivier.eu>
Tested-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220104190454.542225-1-richard.henderson@linaro.org>
2022-01-04 15:41:03 -08:00
..
host common-user: Fix tail calls to safe_syscall_set_errno_tail 2022-01-04 15:41:03 -08:00
meson.build common-user: Move safe-syscall.* from linux-user 2021-12-20 10:12:24 -08:00
safe-syscall-error.c common-user: Move safe-syscall.* from linux-user 2021-12-20 10:12:24 -08:00
safe-syscall.S common-user: Move safe-syscall.* from linux-user 2021-12-20 10:12:24 -08:00