Re: [PATCH] common-user: Fix tail calls to safe_syscall_set_errno_tail

2022-01-04 Thread Richard Henderson
On 1/4/22 11:04 AM, Richard Henderson wrote: 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 Signed-off-by: Richard Henderson --- common-user/host/

Re: [PATCH] common-user: Fix tail calls to safe_syscall_set_errno_tail

2022-01-04 Thread Laurent Vivier
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 Signed-off-by: Richard Henderson --- common-user

Re: [PATCH] common-user: Fix tail calls to safe_syscall_set_errno_tail

2022-01-04 Thread Philippe Mathieu-Daudé
On Tue, Jan 4, 2022 at 8:05 PM Richard Henderson wrote: > > 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 Using Laurent alias [*]: Fixes: a3310c0397e ("linux-user: Move s

[PATCH] common-user: Fix tail calls to safe_syscall_set_errno_tail

2022-01-04 Thread Richard Henderson
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 Signed-off-by: Richard Henderson --- common-user/host/i386/safe-syscall.inc.S | 1 + common-user/hos