I noticed a change at e7c71e24 ("tccasm: synch C and asm symtab tighter")
which I'm not sure is expected.
On Windows, when I build tcc using tcc with one source, a file "tcc.def" is
created at the same dir as the resulting tcc.exe, with this content:
LIBRARY tcc.exe
EXPORTS
___try__
__chkstk
__try__
_exception_code
_exception_info
To reproduce: prepare a working version of tcc for windows (this example is
with tcc 32), clone tcc, cd to its root dir, and execute:
echo '#define TCC_VERSION "0.9.27"' > config.h && path/to/tcc.exe
-DTCC_TARGET_PE -DTCC_TARGET_I386 -Iwin32 -I. -DONE_SOURCE -o tcc.exe tcc.c
And the result is that tcc.def is created alongside tcc.exe .
This started happening at e7c71e24 . The earlier commit ("Adjust testcase
for PIE compilers") doesn't create tcc.def with the same invocation.
Is it expected? a bug?