From 9750d0b725d65296364c08451a985c717bf1890d Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Sun, 6 Apr 2014 00:30:22 +0200 Subject: x86_64: Create proper PLT and GOT also for -run This makes us use the normal PLT/GOT codepaths also for -run, which formerly used an on-the-side blob for the jump tables. For x86_64 only for now, arm coming up. --- tccrun.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tccrun.c') 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]; -- cgit v1.3.1