mirror of
https://github.com/frida/tinycc
synced 2024-11-25 00:59:37 +03:00
8f6fcb709a
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
27 lines
733 B
Plaintext
27 lines
733 B
Plaintext
[test_static_data_error]
|
|
96_nodata_wanted.c:7: error: initializer element is not computable at load time
|
|
|
|
[test_static_nodata_error]
|
|
96_nodata_wanted.c:14: error: initializer element is not computable at load time
|
|
|
|
[test_global_data_error]
|
|
96_nodata_wanted.c:20: error: initializer element is not computable at load time
|
|
|
|
[test_local_data_noerror]
|
|
96_nodata_wanted.c:25: warning: assignment makes integer from pointer without a cast
|
|
96_nodata_wanted.c:25: warning: nonportable conversion from pointer to char/short
|
|
|
|
[test_data_suppression_off]
|
|
data:
|
|
8 - 8.0 - 8.0 - main - static string
|
|
333 44 555555 6 7
|
|
size of data/text:
|
|
non-zero/non-zero
|
|
|
|
[test_data_suppression_on]
|
|
size of data/text:
|
|
zero/zero
|
|
|
|
[test_static_data]
|
|
a = 1
|