From: malc Date: Sun, 19 Jul 2009 21:14:43 +0000 (+0400) Subject: Fix rbase initialization X-Git-Tag: v0.12.0-rc0~1892 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a71836de38b94288a7caa9e85b7553917e0d792f;p=thirdparty%2Fqemu.git Fix rbase initialization Signed-off-by: malc --- diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c index 5c64a13c137..2409288998b 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