diff options
| author | grischka <grischka> | 2014-05-08 17:32:29 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2014-05-08 17:32:29 +0200 |
| commit | 0f51ccd4e4152e920f01d1dcbdecfd8fb62cb57c (patch) | |
| tree | c304cd2930998017203383ebbe9a350216af3a71 /libtcc.c | |
| parent | ad787abea6d4e6ee0717c4e791d10b1f6281e91d (diff) | |
| download | tinycc-0f51ccd4e4152e920f01d1dcbdecfd8fb62cb57c.tar.gz tinycc-0f51ccd4e4152e920f01d1dcbdecfd8fb62cb57c.tar.bz2 | |
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.
Diffstat (limited to 'libtcc.c')
| -rw-r--r-- | libtcc.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; |
