diff options
author | 2024-01-15 10:08:04 +0800 | |
---|---|---|
committer | 2024-01-18 10:43:14 +0100 | |
commit | 2926eab8969908bc068629e973062a0fb6ff3759 (patch) | |
tree | 6e69772541c3dc12539805c8838d6e932469b2dc /scripts/qapi/source.py | |
parent | target/i386: Do not re-compute new pc with CF_PCREL (diff) | |
download | qemu-2926eab8969908bc068629e973062a0fb6ff3759.tar.xz qemu-2926eab8969908bc068629e973062a0fb6ff3759.zip |
target/i386: fix incorrect EIP in PC-relative translation blocks
The PCREL patches introduced a bug when updating EIP in the !CF_PCREL case.
Using s->pc in func gen_update_eip_next() solves the problem.
Cc: qemu-stable@nongnu.org
Fixes: b5e0d5d22fbf ("target/i386: Fix 32-bit wrapping of pc/eip computation")
Signed-off-by: guoguangyao <guoguangyao18@mails.ucas.ac.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240115020804.30272-1-guoguangyao18@mails.ucas.ac.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions