]> 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:16:59 +0000 (03:16 +0100)
commit76ba04832b5b27e67c5f4d58b9937d810108d0b6
treed3d66a9aceadec91895ae52b6392409acb6c572f
parent644f5de21b18fcfc4554a7049199fd0a60ac4831
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