common-user: Really fix i386 calls to safe_syscall_set_errno_tail

Brown bag time: offset 0 from esp is the return address,
offset 4 is the first argument.

Fixes: d7478d4229 ("common-user: Fix tail calls to safe_syscall_set_errno_tail")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2022-01-04 21:14:23 -08:00
parent 58140d3964
commit fb084237a3
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ safe_syscall_end:
pop %ebp
.cfi_adjust_cfa_offset -4
.cfi_restore ebp
mov %eax, (%esp)
mov %eax, 4(%esp)
jmp safe_syscall_set_errno_tail
.cfi_endproc