aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-07-20 01:14:43 +0400
committermalc <av1474@comtv.ru>2009-07-20 01:15:23 +0400
commita71836de38b94288a7caa9e85b7553917e0d792f (patch)
tree7159bf0cf6591735f746647fc6f15c085acb5887 /tcg
parentc62bbcd3f4c585426d06485e58bad8bf02a5be55 (diff)
downloadqemu-a71836de38b94288a7caa9e85b7553917e0d792f.zip
qemu-a71836de38b94288a7caa9e85b7553917e0d792f.tar.gz
qemu-a71836de38b94288a7caa9e85b7553917e0d792f.tar.bz2
Fix rbase initialization
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/ppc/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c
index 5c64a13..2409288 100644
--- a/tcg/ppc/tcg-target.c
+++ b/tcg/ppc/tcg-target.c
@@ -845,7 +845,7 @@ static void tcg_out_qemu_st (TCGContext *s, const TCGArg *args, int opc)
#else /* !CONFIG_SOFTMMU */
r0 = addr_reg;
r1 = 3;
- rbase = GUEST_BASE ? rbase : 0;
+ rbase = GUEST_BASE ? TCG_GUEST_BASE_REG : 0;
#endif
#ifdef TARGET_WORDS_BIGENDIAN