From 0f51ccd4e4152e920f01d1dcbdecfd8fb62cb57c Mon Sep 17 00:00:00 2001 From: grischka Date: Thu, 8 May 2014 17:32:29 +0200 Subject: win64: try to fix linkage - revert to R_X86_64_PC32 for near calls on PE - revert to s1->section_align set to zero by default Untested. Compared to release_0_9_26 the pe-image looks back to normal. There are some differences in dissassembly (r10/r11 usage) but maybe that's ok. --- libtcc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libtcc.c') diff --git a/libtcc.c b/libtcc.c index deda7e6..7caa7c1 100644 --- a/libtcc.c +++ b/libtcc.c @@ -1033,7 +1033,6 @@ LIBTCCAPI TCCState *tcc_new(void) ".dynhashtab", SHF_PRIVATE); s->alacarte_link = 1; s->nocommon = 1; - s->section_align = ELF_PAGE_SIZE; #ifdef CHAR_IS_UNSIGNED s->char_is_unsigned = 1; -- cgit v1.3.1