diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2016-11-12 23:16:09 +0800 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2016-12-03 17:26:51 +0000 |
| commit | 097cf3aa5ee370bab50d6d15cef9b0af55a1a3a2 (patch) | |
| tree | 3bf02360980492571e777b334dc1e9a8bdd61969 /tccpe.c | |
| parent | c4bec037be0da6bfd19484c34cc19e358cbb6822 (diff) | |
| download | tinycc-097cf3aa5ee370bab50d6d15cef9b0af55a1a3a2.tar.gz tinycc-097cf3aa5ee370bab50d6d15cef9b0af55a1a3a2.tar.bz2 | |
Control symbol table of which to relocate symbols
Pass pointer to symbol table to relocate the symbols of in relocate_syms
Diffstat (limited to 'tccpe.c')
| -rw-r--r-- | tccpe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1872,7 +1872,7 @@ ST_FUNC int pe_output_file(TCCState *s1, const char *filename) ; else if (filename) { pe_assign_addresses(&pe); - relocate_syms(s1, 0); + relocate_syms(s1, s1->symtab, 0); for (i = 1; i < s1->nb_sections; ++i) { Section *s = s1->sections[i]; if (s->reloc) { |
