summary refs log tree commit diff stats
path: root/linux-user/i386/cpu_loop.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-08-13 10:04:00 +1000
committerRichard Henderson <richard.henderson@linaro.org>2024-10-08 06:40:31 -0700
commit352cc9f300d83ea48b8154bfd2ff985fece887d0 (patch)
treed1e160b155b286da3fa89681d4ac96b8742a9e95 /linux-user/i386/cpu_loop.c
parent3213da7b9539581c6df95f8ced5b09d0b02d425f (diff)
downloadfocaccia-qemu-352cc9f300d83ea48b8154bfd2ff985fece887d0.tar.gz
focaccia-qemu-352cc9f300d83ea48b8154bfd2ff985fece887d0.zip
target/m68k: Always return a temporary from gen_lea_mode
Returning a raw areg does not preserve the value if the areg
is subsequently modified.  Fixes, e.g. "jsr (sp)", where the
return address is pushed before the branch.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2483
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240813000737.228470-1-richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'linux-user/i386/cpu_loop.c')
0 files changed, 0 insertions, 0 deletions