<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinycc/win32/lib/chkstk.S, branch main</title>
<subtitle>Tiny C Compiler by Fabrice Bellard Git mirror of the final release by Bellard, discarding all changes after. The repository at https://repo.or.cz/tinycc.git has become untrustworthy. Also the tcc sources have become tainted with AI slop.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/'/>
<entry>
<title>tccgen: nodata_wanted fix, default ONE_SOURCE, etc...</title>
<updated>2017-07-23T19:24:11+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2017-07-23T19:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=4b3c6e74aba07d61e91b2e0ba7190483a0f9f000'/>
<id>4b3c6e74aba07d61e91b2e0ba7190483a0f9f000</id>
<content type='text'>
tccgen.c:
  doubles need to be aligned, on ARM.  The section_reserve()
  in init_putv does not do that.
-D ONE_SOURCE: is now the default and not longer needed. Also,
  tcc.h now sets the default native target.  These both make
  compiling tcc simple as "gcc tcc.c -o tcc -ldl" again.
arm-asm.c:
  enable pseudo asm also for inline asm
tests/tests2/Makefile:
  disable bitfield tests except on windows and x86_64
  and don't generate-always
tcc.c:
  fix a loop with -dt on errors
configure:
  print compiler version (as recognized)
tccpp.c:
  actually define symbols for tcc -dt
  clear static variables (needed for -dt or libtcc usage)
96_nodata_wanted.c:
  use __label__ instead of asm
lib/files:
  use native symbols (__i386__ etc.) instead of TCC_TARGET_...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tccgen.c:
  doubles need to be aligned, on ARM.  The section_reserve()
  in init_putv does not do that.
-D ONE_SOURCE: is now the default and not longer needed. Also,
  tcc.h now sets the default native target.  These both make
  compiling tcc simple as "gcc tcc.c -o tcc -ldl" again.
arm-asm.c:
  enable pseudo asm also for inline asm
tests/tests2/Makefile:
  disable bitfield tests except on windows and x86_64
  and don't generate-always
tcc.c:
  fix a loop with -dt on errors
configure:
  print compiler version (as recognized)
tccpp.c:
  actually define symbols for tcc -dt
  clear static variables (needed for -dt or libtcc usage)
96_nodata_wanted.c:
  use __label__ instead of asm
lib/files:
  use native symbols (__i386__ etc.) instead of TCC_TARGET_...
</pre>
</div>
</content>
</entry>
<entry>
<title>tccrun: win64: add unwind function table for dynamic code</title>
<updated>2011-07-14T17:09:49+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2011-07-14T17:09:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=df4c0892f3fb5170042652cd648a29c94c3a2eca'/>
<id>df4c0892f3fb5170042652cd648a29c94c3a2eca</id>
<content type='text'>
This works only when tcc.exe is compiled using MSC.  MinGW does
something in the startup code that defeats it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This works only when tcc.exe is compiled using MSC.  MinGW does
something in the startup code that defeats it.
</pre>
</div>
</content>
</entry>
<entry>
<title>tccpe: support leading underscore for symbols</title>
<updated>2011-02-13T16:44:12+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2011-02-13T16:41:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=a3ebdd0aeb834e3e7a644925ebb363d7b8064a52'/>
<id>a3ebdd0aeb834e3e7a644925ebb363d7b8064a52</id>
<content type='text'>
To make this the default, enable this line in libtcc.c:tcc_new:

    #if defined(TCC_TARGET_PE) &amp;&amp; 0
        s-&gt;leading_underscore = 1;

and then recompile tcc and also libtcc1.a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To make this the default, enable this line in libtcc.c:tcc_new:

    #if defined(TCC_TARGET_PE) &amp;&amp; 0
        s-&gt;leading_underscore = 1;

and then recompile tcc and also libtcc1.a
</pre>
</div>
</content>
</entry>
<entry>
<title>build: remove #include "config.h" from target dependent files</title>
<updated>2010-11-26T19:46:54+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2010-11-26T19:45:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=9bd69bf49fb37554d199d0040c81bea009d43092'/>
<id>9bd69bf49fb37554d199d0040c81bea009d43092</id>
<content type='text'>
This is to make cross build of libtcc1.a easier.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to make cross build of libtcc1.a easier.
</pre>
</div>
</content>
</entry>
<entry>
<title>win32: register SEH in startup code (i386 only)</title>
<updated>2010-10-19T11:15:06+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2010-10-19T11:15:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=9228842fa75190665241bf1d3bb3f8f74d2ffdbb'/>
<id>9228842fa75190665241bf1d3bb3f8f74d2ffdbb</id>
<content type='text'>
Needed to handle signal() etc. with msvcrt
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Needed to handle signal() etc. with msvcrt
</pre>
</div>
</content>
</entry>
<entry>
<title>win64: add tiny unwind data for setjmp/longjmp</title>
<updated>2009-12-20T00:54:37+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2009-12-19T21:40:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=50b040ef83252730d75463bdeea589294e698532'/>
<id>50b040ef83252730d75463bdeea589294e698532</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>win64: adjust for two args with setjmp(buf,ctx)</title>
<updated>2009-12-19T21:16:17+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2009-12-17T17:44:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=d79b867d551510a64c4074c78d5737be16347fcc'/>
<id>d79b867d551510a64c4074c78d5737be16347fcc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>x86-64: chkstk, alloca</title>
<updated>2009-07-18T20:06:54+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2009-07-18T20:06:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=fc977d56c90b6c6a54b7e831b5c88e37f54a5cae'/>
<id>fc977d56c90b6c6a54b7e831b5c88e37f54a5cae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dos2unix</title>
<updated>2005-04-17T13:10:37+00:00</updated>
<author>
<name>bellard</name>
<email>bellard</email>
</author>
<published>2005-04-17T13:10:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=5556cf15656ad1e433ec20502411411e30a4cdc7'/>
<id>5556cf15656ad1e433ec20502411411e30a4cdc7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>win32 merge</title>
<updated>2005-04-14T23:49:21+00:00</updated>
<author>
<name>bellard</name>
<email>bellard</email>
</author>
<published>2005-04-14T23:49:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=4821702fb49c72216c307341dc3dfd5a3984cf83'/>
<id>4821702fb49c72216c307341dc3dfd5a3984cf83</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
