diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-08-13 10:04:00 +1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-10-08 06:40:31 -0700 |
commit | 352cc9f300d83ea48b8154bfd2ff985fece887d0 (patch) | |
tree | d1e160b155b286da3fa89681d4ac96b8742a9e95 /linux-user/elfload.c | |
parent | 3213da7b9539581c6df95f8ced5b09d0b02d425f (diff) | |
download | qemu-352cc9f300d83ea48b8154bfd2ff985fece887d0.zip qemu-352cc9f300d83ea48b8154bfd2ff985fece887d0.tar.gz qemu-352cc9f300d83ea48b8154bfd2ff985fece887d0.tar.bz2 |
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/elfload.c')
0 files changed, 0 insertions, 0 deletions