aboutsummaryrefslogtreecommitdiff
path: root/tccrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccrun.c')
-rw-r--r--tccrun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tccrun.c b/tccrun.c
index bd8c33f..2876ab7 100644
--- a/tccrun.c
+++ b/tccrun.c
@@ -197,6 +197,7 @@ static int tcc_relocate_ex(TCCState *s1, void *ptr)
if (s->reloc)
relocate_section(s1, s);
}
+ relocate_plt(s1);
for(i = 1; i < s1->nb_sections; i++) {
s = s1->sections[i];