grischka
4c2941d248
win32: wincrt1.c: include stdlib.h for exit()
2013-02-04 16:24:57 +01:00
grischka
df4c0892f3
tccrun: win64: add unwind function table for dynamic code
...
This works only when tcc.exe is compiled using MSC. MinGW does
something in the startup code that defeats it.
2011-07-14 19:09:49 +02:00
grischka
a3ebdd0aeb
tccpe: support leading underscore for symbols
...
To make this the default, enable this line in libtcc.c:tcc_new:
#if defined(TCC_TARGET_PE) && 0
s->leading_underscore = 1;
and then recompile tcc and also libtcc1.a
2011-02-13 17:44:12 +01:00
grischka
9bd69bf49f
build: remove #include "config.h" from target dependent files
...
This is to make cross build of libtcc1.a easier.
2010-11-26 20:46:54 +01:00
grischka
9228842fa7
win32: register SEH in startup code (i386 only)
...
Needed to handle signal() etc. with msvcrt
2010-10-19 13:15:06 +02:00
grischka
50b040ef83
win64: add tiny unwind data for setjmp/longjmp
...
This enables native unwind semantics with longjmp on
win64 by putting an entry into the .pdata section for
each compiled fuction.
Also, the function now use a fixed stack and store arguments
into X(%rsp) rather than using push.
2009-12-20 01:54:37 +01:00
grischka
d79b867d55
win64: adjust for two args with setjmp(buf,ctx)
2009-12-19 22:16:17 +01:00
grischka
97738d1ae9
win32: reformat examples, crt etc
2009-07-18 22:07:10 +02:00
grischka
fc977d56c9
x86-64: chkstk, alloca
2009-07-18 22:06:54 +02:00
grischka
dc251a7d8d
win64: use new headers from mingw
2009-07-18 22:06:37 +02:00
bellard
58f6207abe
_controlfp fix (grischka)
2005-04-17 13:11:15 +00:00
bellard
5556cf1565
dos2unix
2005-04-17 13:10:37 +00:00
bellard
4821702fb4
win32 merge
2005-04-14 23:49:21 +00:00