aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
Diffstat (limited to 'tcg')
-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 {