diff options
| author | Michael Matz <matz@suse.de> | 2014-04-06 01:59:35 +0200 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2014-04-06 01:59:35 +0200 |
| commit | 6a947d9d2610723db3f46bcae4f35d5d5c572f89 (patch) | |
| tree | 757406d0891bcc9b1ff18749136ea12ef52f8b13 /tccrun.c | |
| parent | 01c041923474750a236da02561f0f8835445848b (diff) | |
| download | tinycc-6a947d9d2610723db3f46bcae4f35d5d5c572f89.tar.gz tinycc-6a947d9d2610723db3f46bcae4f35d5d5c572f89.tar.bz2 | |
ELF: Remove traces of old RUNTIME_PLTGOT code
The last users of it went away, no use in keeping
this code.
Diffstat (limited to 'tccrun.c')
| -rw-r--r-- | tccrun.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -180,14 +180,6 @@ static int tcc_relocate_ex(TCCState *s1, void *ptr) if (s1->nb_errors) return -1; -#ifdef TCC_HAS_RUNTIME_PLTGOT - s1->runtime_plt_and_got_offset = 0; - s1->runtime_plt_and_got = (char *)(mem + offset); - /* double the size of the buffer for got and plt entries - XXX: calculate exact size for them? */ - offset *= 2; -#endif - if (0 == mem) return offset; @@ -215,11 +207,6 @@ static int tcc_relocate_ex(TCCState *s1, void *ptr) set_pages_executable(ptr, length); } -#ifdef TCC_HAS_RUNTIME_PLTGOT - set_pages_executable(s1->runtime_plt_and_got, - s1->runtime_plt_and_got_offset); -#endif - #ifdef _WIN64 win64_add_function_table(s1); #endif |
