aboutsummaryrefslogtreecommitdiff
path: root/tccrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccrun.c')
-rw-r--r--tccrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccrun.c b/tccrun.c
index 37e9303..7eb47fc 100644
--- a/tccrun.c
+++ b/tccrun.c
@@ -211,7 +211,7 @@ static int tcc_relocate_ex(TCCState *s1, void *ptr)
}
/* relocate symbols */
- relocate_syms(s1, 1);
+ relocate_syms(s1, s1->symtab, 1);
if (s1->nb_errors)
return -1;