Le 04/01/2022 à 20:04, Richard Henderson a écrit :
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: a3310c0397e2
Reported-by: Laurent Vivier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
---
common-user/host/i386/safe-syscall.inc.S | 1 +
common-user/host/mips/safe-syscall.inc.S | 1 +
common-user/host/x86_64/safe-syscall.inc.S | 1 +
3 files changed, 3 insertions(+)
Tested-by: Laurent Vivier <[email protected]>