]> git.proxmox.com Git - qemu.git/commit
target-i386: Fix "call im" on x86_64 when executing 32-bit code
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 3 Jan 2010 02:08:19 +0000 (03:08 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 3 Jan 2010 02:14:41 +0000 (03:14 +0100)
commit995963852c589aae9487fdd6c20d898cf678ba04
tree14f7ee802b479e6de56322333a8c495318be4949
parent3e372cf87fa0d9ab378c3dffed6b863bef4ed7a3
target-i386: Fix "call im" on x86_64 when executing 32-bit code

Similarly to what is done in 32938e127f50a40844a0fb9c5abb8691aeeccf7e
for "jmp im", trunc the immediate to 32-bit when not running in 64-bit
mode.

Reported-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-i386/translate.c