aboutsummaryrefslogtreecommitdiff
path: root/tccpe.c
diff options
context:
space:
mode:
authorgrischka <grischka>2016-10-01 20:47:36 +0200
committergrischka <grischka>2016-10-01 20:47:36 +0200
commit9c5bb16447e3d6cf5493c4802f3e3a1939430a27 (patch)
tree1818b7725fa111bf267abd115b43905b8426f59e /tccpe.c
parentacac35c12597eb678c4a0866f79a6aeb9171dd09 (diff)
downloadtinycc-9c5bb16447e3d6cf5493c4802f3e3a1939430a27.tar.gz
tinycc-9c5bb16447e3d6cf5493c4802f3e3a1939430a27.tar.bz2
Revert part of "fix installation amd bcheck for Windows"
tccelf.c : force linking bcheck by adding elf symbol __bound_init bcheck.c : use (size_t)1 for x86_64 Fixes 7e7e6148fdb4adbda936f80b5d4ac3d738908d95
Diffstat (limited to 'tccpe.c')
-rw-r--r--tccpe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccpe.c b/tccpe.c
index 83acc2f..3e15d91 100644
--- a/tccpe.c
+++ b/tccpe.c
@@ -1809,8 +1809,8 @@ ST_FUNC int pe_output_file(TCCState * s1, const char *filename)
pe.filename = filename;
pe.s1 = s1;
- pe_add_runtime(s1, &pe);
tcc_add_bcheck(s1);
+ pe_add_runtime(s1, &pe);
relocate_common_syms(); /* assign bss adresses */
tcc_add_linker_symbols(s1);