aboutsummaryrefslogtreecommitdiff
path: root/tcg/i386
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2012-05-09 19:26:56 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-05-09 13:59:18 -0500
commitc1696d94c17b7fe03a2b103b1ba117fb0726a316 (patch)
treee3d4cc85d1c469871cd3a8aa89c845f0f6417674 /tcg/i386
parentc438b1970b6b751dd403a9ed6a7ef7e078ec2307 (diff)
downloadqemu-c1696d94c17b7fe03a2b103b1ba117fb0726a316.zip
qemu-c1696d94c17b7fe03a2b103b1ba117fb0726a316.tar.gz
qemu-c1696d94c17b7fe03a2b103b1ba117fb0726a316.tar.bz2
tcg/ppc: Do not overwrite lower address word on Darwin and AIX
For targets where TARGET_LONG_BITS != 32, i.e. 64-bit guests, addr_reg is moved to r4. For hosts without TCG_TARGET_CALL_ALIGN_ARGS either data_reg2 or data_reg or a masked version thereof would overwrite r4. Place it in r5 instead, matching TCG_TARGET_CALL_ALIGN_ARGS hosts. This fixes immediate crashes of 64-bit guests observed on Darwin/ppc but not on Darwin/ppc64. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Acked-by: malc <av1474@comtv.ru> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tcg/i386')
0 files changed, 0 insertions, 0 deletions