Commit a71836de38b94288a7caa9e85b7553917e0d792f

Authored by malc
1 parent c62bbcd3

Fix rbase initialization

Signed-off-by: malc <av1474@comtv.ru>
Showing 1 changed file with 1 additions and 1 deletions
tcg/ppc/tcg-target.c
@@ -845,7 +845,7 @@ static void tcg_out_qemu_st (TCGContext *s, const TCGArg *args, int opc) @@ -845,7 +845,7 @@ static void tcg_out_qemu_st (TCGContext *s, const TCGArg *args, int opc)
845 #else /* !CONFIG_SOFTMMU */ 845 #else /* !CONFIG_SOFTMMU */
846 r0 = addr_reg; 846 r0 = addr_reg;
847 r1 = 3; 847 r1 = 3;
848 - rbase = GUEST_BASE ? rbase : 0; 848 + rbase = GUEST_BASE ? TCG_GUEST_BASE_REG : 0;
849 #endif 849 #endif
850 850
851 #ifdef TARGET_WORDS_BIGENDIAN 851 #ifdef TARGET_WORDS_BIGENDIAN