OSDN Git Service

tci: Fix qemu-alpha on 32 bit hosts (wrong assertions)
authorStefan Weil <sw@weilnetz.de>
Thu, 12 Sep 2013 18:17:50 +0000 (20:17 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 20 Sep 2013 16:09:24 +0000 (20:09 +0400)
commit07ac4dc5db22a31e47b149abdbc5ea99013cf4de
tree6d7796457586514f9e67f5f1558b4ca90a1c4b60
parent6f20f55bccdead8e68c753093f3af6a74cbba883
tci: Fix qemu-alpha on 32 bit hosts (wrong assertions)

Debian busybox-static for alpha has a load address of 0x0000000120000000
which is mapped to 0x0000000020000000 for 32 bit hosts.

qemu-alpha uses the TCG opcodes qemu_ld32, qemu_ld64, qemu_st32 and
qemu_st64 which all raise the assertion (taddr == host_addr).

Remove all assertions of this type because they are either wrong or
unnecessary (when sizeof(tcg_target_ulong) >= sizeof(target_ulong)).

Cc: qemu-stable <qemu-stable@nongnu.org>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tci.c