misc fixes
commit8f6fcb709ae7b2379866c292ce478ab95dc75b48
authorgrischka <grischka>
Thu, 31 May 2018 21:51:51 +0000 (31 23:51 +0200)
committergrischka <grischka>
Fri, 1 Jun 2018 10:52:01 +0000 (1 12:52 +0200)
treeb53c4f4436310d61e9cbcb60ab183f6b8e4e9eeb
parent2b155a8c16b2856461020e65370385347a485d65
misc fixes

misc fixes including:
- tcc.c: fix "tcc -vv" for libtcc1.a on win32/PE
- tccelf.c: fix a crash when GOT has no relocs (witn -nostdlib)
- tccelf.c: fix stab linkage for zero n_strx
- tccgen.c: fix stdcall decoration for array parameters
    int __stdcall func(char buf[10]) is _func@4 (was _func@12)
- tccgen.c: fix static variables with nocode/nodata_wanted
    see tests2/96_nodata_wanted.c
- tccrun.c: align sections using sh_addralign (for reliable function_alignment)
- tests2/Makefile sort 100 after 99
- win32/include/sys/stat.h fix _stat and _wstat
- x86_64-gen.c: win64/gfunc_call: fix a bug with xmmN register args
    previously overwrote valid other xmmN registers eventually
tcc.c
tccelf.c
tccgen.c
tccrun.c
tests/tests2/96_nodata_wanted.c
tests/tests2/96_nodata_wanted.expect
tests/tests2/Makefile
win32/include/sys/stat.h
x86_64-gen.c