]> git.proxmox.com Git - qemu.git/commit
tcg/mips: fix crash in tcg_out_qemu_ld()
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 9 Feb 2010 21:54:22 +0000 (22:54 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 9 Feb 2010 22:29:44 +0000 (23:29 +0100)
commit307331a42a39b46487f8f4356eaa943101f6af4e
tree29c9d32aaf3118ec1c7e4aed8dce5ae74f951887
parent6728dd464b2c0f7c9edb00e3c3e14cb8e8590e77
tcg/mips: fix crash in tcg_out_qemu_ld()

The address register is overriden when it corresponds to v0 and the fast
path is taken, which leads to a crash. Fix that by using the a0 register
instead.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit cca1af8c4d2ef6449fd61494ba2cb087b838011c)
tcg/mips/tcg-target.c