aboutsummaryrefslogtreecommitdiff
path: root/common-user/host
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-01-04 16:41:22 -0800
committerRichard Henderson <richard.henderson@linaro.org>2022-01-04 16:41:22 -0800
commit58140d3964c7c545f0880d978f279ed7b4cb41b8 (patch)
treeca20b264e8da395cfec86b0b37ea329c656e252f /common-user/host
parent67e41fe0cfb62e6cdfa659f0155417d17e5274ea (diff)
parentd7478d4229f0a2b2817a55487e6b17081099fae4 (diff)
downloadqemu-58140d3964c7c545f0880d978f279ed7b4cb41b8.zip
qemu-58140d3964c7c545f0880d978f279ed7b4cb41b8.tar.gz
qemu-58140d3964c7c545f0880d978f279ed7b4cb41b8.tar.bz2
Merge tag 'pull-tcg-20220104' of https://gitlab.com/rth7680/qemu into staging
Fix for safe_syscall_base. Fix for folding of vector add/sub. Fix build on loongarch64 with gcc 8. Remove decl for qemu_run_machine_init_done_notifiers. # gpg: Signature made Tue 04 Jan 2022 04:39:35 PM PST # gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F # gpg: issuer "richard.henderson@linaro.org" # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" [ultimate] * tag 'pull-tcg-20220104' of https://gitlab.com/rth7680/qemu: common-user: Fix tail calls to safe_syscall_set_errno_tail sysemu: Cleanup qemu_run_machine_init_done_notifiers() linux-user: Fix trivial build error on loongarch64 hosts tcg/optimize: Fix folding of vector ops Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'common-user/host')
-rw-r--r--common-user/host/i386/safe-syscall.inc.S1
-rw-r--r--common-user/host/mips/safe-syscall.inc.S1
-rw-r--r--common-user/host/x86_64/safe-syscall.inc.S1
3 files changed, 3 insertions, 0 deletions
diff --git a/common-user/host/i386/safe-syscall.inc.S b/common-user/host/i386/safe-syscall.inc.S
index baf5400..9c45e56 100644
--- a/common-user/host/i386/safe-syscall.inc.S
+++ b/common-user/host/i386/safe-syscall.inc.S
@@ -120,6 +120,7 @@ safe_syscall_end:
pop %ebp
.cfi_adjust_cfa_offset -4
.cfi_restore ebp
+ mov %eax, (%esp)
jmp safe_syscall_set_errno_tail
.cfi_endproc
diff --git a/common-user/host/mips/safe-syscall.inc.S b/common-user/host/mips/safe-syscall.inc.S
index fc75a33..6a44614 100644
--- a/common-user/host/mips/safe-syscall.inc.S
+++ b/common-user/host/mips/safe-syscall.inc.S
@@ -141,6 +141,7 @@ safe_syscall_end:
1: USE_ALT_CP(t0)
SETUP_GPX(t1)
SETUP_GPX64(t0, t1)
+ move a0, v0
PTR_LA t9, safe_syscall_set_errno_tail
jr t9
diff --git a/common-user/host/x86_64/safe-syscall.inc.S b/common-user/host/x86_64/safe-syscall.inc.S
index a20927a..d1a67a3 100644
--- a/common-user/host/x86_64/safe-syscall.inc.S
+++ b/common-user/host/x86_64/safe-syscall.inc.S
@@ -99,6 +99,7 @@ safe_syscall_end:
1: pop %rbp
.cfi_def_cfa_offset 8
.cfi_restore rbp
+ mov %eax, %edi
jmp safe_syscall_set_errno_tail
.cfi_endproc