aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tccelf.c b/tccelf.c
index 805a885..5971442 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -509,7 +509,9 @@ static void relocate_section(TCCState *s1, Section *s)
int type, sym_index;
unsigned char *ptr;
unsigned long val, addr;
+#if defined TCC_TARGET_I386 || defined TCC_TARGET_X86_64
int esym_index;
+#endif
sr = s->reloc;
rel_end = (ElfW_Rel *)(sr->data + sr->data_offset);