aboutsummaryrefslogtreecommitdiff
path: root/linux-user/cpu_loop-common.h
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2023-03-16 22:07:50 +0100
committerThomas Huth <thuth@redhat.com>2023-03-20 09:32:50 +0100
commit703d03a4aaf38f285555ef5422ba5ce075416fc4 (patch)
treed288ab0eec917cc3c26114d1c54e4a32e6f12d3c /linux-user/cpu_loop-common.h
parent04fce706bd227c66738e965fc14b575edde598ed (diff)
downloadqemu-703d03a4aaf38f285555ef5422ba5ce075416fc4.zip
qemu-703d03a4aaf38f285555ef5422ba5ce075416fc4.tar.gz
qemu-703d03a4aaf38f285555ef5422ba5ce075416fc4.tar.bz2
target/s390x: Fix EXECUTE of relative long instructions
The code uses the wrong base for relative addressing: it should use the target instruction address and not the EXECUTE's address. Fix by storing the target instruction address in the new CPUS390XState member and loading it from the code generated by gen_ri2(). Reported-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: David Hildenbrand <david@redhat.com> Message-Id: <20230316210751.302423-2-iii@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'linux-user/cpu_loop-common.h')
0 files changed, 0 insertions, 0 deletions