From 9c5bb16447e3d6cf5493c4802f3e3a1939430a27 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 1 Oct 2016 20:47:36 +0200 Subject: 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 --- tccpe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tccpe.c') 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); -- cgit v1.3.1