diff options
| author | Michael Matz <matz@suse.de> | 2014-04-06 00:30:22 +0200 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2014-04-06 00:30:22 +0200 |
| commit | 9750d0b725d65296364c08451a985c717bf1890d (patch) | |
| tree | 6ececf2241e2ef1236b2d364af23ee9ca1064c7d /tccrun.c | |
| parent | c4427747e6e5890b65c70e8fad5b30309b2b0279 (diff) | |
| download | tinycc-9750d0b725d65296364c08451a985c717bf1890d.tar.gz tinycc-9750d0b725d65296364c08451a985c717bf1890d.tar.bz2 | |
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.
Diffstat (limited to 'tccrun.c')
| -rw-r--r-- | tccrun.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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]; |
