]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user/sparc: Fix cpu_clone_regs_*
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 6 Nov 2019 11:33:17 +0000 (12:33 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 6 Nov 2019 12:44:19 +0000 (13:44 +0100)
commit2ad983e0f4ea58a176ea51d61226758eff40c697
tree1a6ec467fd12714147fbe3a333e07d4c700f945c
parent07a6ecf48feaddb4914ca8ec9603021f992ec3b9
linux-user/sparc: Fix cpu_clone_regs_*

We failed to set the secondary return value in %o1
we failed to advance the PC past the syscall,
we failed to adjust regwptr into the new structure,
we stored the stack pointer into the wrong register.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20191106113318.10226-12-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/sparc/target_cpu.h