summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-11-22 14:57:54 -0800
committerEdgar E. Iglesias <edgar@axis.com>2010-12-01 19:48:31 +0100
commit255108c0e3c78bc437789a3626e53079ef322a4e (patch)
tree0e33810b07ad9e42cb633ea66fd8916caeca0451
parent0909cbde9a1d42be9ab81f4f7e7d89c358212fd1 (diff)
downloadfocaccia-qemu-255108c0e3c78bc437789a3626e53079ef322a4e.tar.gz
focaccia-qemu-255108c0e3c78bc437789a3626e53079ef322a4e.zip
tcg-ia64: Provide default GUEST_BASE.
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>
-rw-r--r--tcg/ia64/tcg-target.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcg/ia64/tcg-target.c b/tcg/ia64/tcg-target.c
index a0f38771ee..80c6950b75 100644
--- a/tcg/ia64/tcg-target.c
+++ b/tcg/ia64/tcg-target.c
@@ -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 {