tcg-ia64: Provide default GUEST_BASE.
authorRichard Henderson <rth@twiddle.net>
Mon, 22 Nov 2010 22:57:54 +0000 (14:57 -0800)
committerEdgar E. Iglesias <edgar@axis.com>
Wed, 1 Dec 2010 18:48:31 +0000 (19:48 +0100)
Fix compilation error when GUEST_BASE is not defined.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
tcg/ia64/tcg-target.c

index a0f3877..80c6950 100644 (file)
@@ -45,6 +45,9 @@ static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] = {
 #else
 #define TCG_GUEST_BASE_REG TCG_REG_R0
 #endif
+#ifndef GUEST_BASE
+#define GUEST_BASE 0
+#endif
 
 /* Branch registers */
 enum {