aboutsummaryrefslogtreecommitdiff
path: root/tccpe.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccpe.c')
-rw-r--r--tccpe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tccpe.c b/tccpe.c
index a67023d..af4438d 100644
--- a/tccpe.c
+++ b/tccpe.c
@@ -1970,8 +1970,7 @@ ST_FUNC int pe_output_file(TCCState *s1, const char *filename)
tcc_add_bcheck(s1);
pe_add_runtime(s1, &pe);
- relocate_common_syms(); /* assign bss addresses */
- tcc_add_linker_symbols(s1);
+ resolve_regular_syms();
pe_set_options(s1, &pe);
ret = pe_check_symbols(&pe);