diff options
| author | Ilya Leoshkevich <iii@linux.ibm.com> | 2023-03-16 22:07:50 +0100 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2023-03-20 09:32:50 +0100 |
| commit | 703d03a4aaf38f285555ef5422ba5ce075416fc4 (patch) | |
| tree | d288ab0eec917cc3c26114d1c54e4a32e6f12d3c /hw/i2c/omap_i2c.c | |
| parent | 04fce706bd227c66738e965fc14b575edde598ed (diff) | |
| download | focaccia-qemu-703d03a4aaf38f285555ef5422ba5ce075416fc4.tar.gz focaccia-qemu-703d03a4aaf38f285555ef5422ba5ce075416fc4.zip | |
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 'hw/i2c/omap_i2c.c')
0 files changed, 0 insertions, 0 deletions