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:
parent
58140d3964
commit
fb084237a3
@ -120,7 +120,7 @@ safe_syscall_end:
|
|||||||
pop %ebp
|
pop %ebp
|
||||||
.cfi_adjust_cfa_offset -4
|
.cfi_adjust_cfa_offset -4
|
||||||
.cfi_restore ebp
|
.cfi_restore ebp
|
||||||
mov %eax, (%esp)
|
mov %eax, 4(%esp)
|
||||||
jmp safe_syscall_set_errno_tail
|
jmp safe_syscall_set_errno_tail
|
||||||
|
|
||||||
.cfi_endproc
|
.cfi_endproc
|
||||||
|
Loading…
Reference in New Issue
Block a user