|
| From: | Richard Henderson |
| Subject: | Re: [PATCH] common-user: Fix tail calls to safe_syscall_set_errno_tail |
| Date: | Tue, 4 Jan 2022 15:40:44 -0800 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
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 <laurent@vivier.eu> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- 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(+)
Queued to tcg-next. r~
| [Prev in Thread] | Current Thread | [Next in Thread] |