docs.phext.io

phcc — historical reference

Every audited commit, in the order phdoc folded them. Each row is the project's full reference as of that commit, folded from the chain's per-commit deltas.

#commitdateauthorsubject
127f6e16bae9d2001-10-27bellard <bellard>Initial revision
2881aa9077a282001-10-28bellard <bellard>shl and shr and for tiny mode only
33115a8a38b382001-10-28bellard <bellard>added for, cond and comma support - fixed div/mod code
4586b05f7e66a2001-10-28bellard <bellard>remove unused features for TINY mode
59a8dfaac35082001-10-28bellard <bellard>added comments + correct error reporting
6927c4afc0cd92001-10-28bellard <bellard>update for name change
758f3296a6efe2001-10-28bellard <bellard>updated
89c1b84560e272001-10-28bellard <bellard>added 'x'= operators
9704d61357c652001-10-29bellard <bellard>clarified function types - added extern / static - added unsigned and invalid type parsing
104e92bac0703f2001-10-30bellard <bellard>added do while continue - simplify break/continue handling
11b15f269fbe992001-10-30bellard <bellard>added enum, typedefs, goto, switch
12946b600ddd822001-11-01bellard <bellard>added union/struct + correct local symbols
1397364931495f2001-11-06bellard <bellard>new code generator with constant propagation and register allocation - new parser - added #include handling
14aca442913c962001-11-06bellard <bellard>tcclib sample
15b0bdbb14effd2001-11-07bellard <bellard>added function prototypes and correct recursive type parsing
16a254461560b52001-11-08bellard <bellard>added #if support
17cdf6247518352001-11-08bellard <bellard>fix defined() handling
18cd526480b8092001-11-08bellard <bellard>suppressed another alloc
19507a221f7e692001-11-11bellard <bellard>new preprocessing: macro function handling and better ANSI conformance
20b536ac3068462001-11-11bellard <bellard>added std libs
21d261452977742001-11-11bellard <bellard>better type decl - added -l and -D options - added PROFILE defines
22605a028bf4452001-11-11bellard <bellard>eval function args in reverse order - added short and unsigned char support - added more messages
23eb0e3e70dcb42001-11-11bellard <bellard>update
244dceee3677712001-11-11bellard <bellard>update
25ef6e8589d10d2001-11-13bellard <bellard>ISOC99 restrict,__func__ - added misc macros
2644b5c9742ae42001-11-17bellard <bellard>fixed \nnn char parsing, added #line, added __VA_ARGS__, added macros in #include, added \xnn parsing, added L'' and L parsing (still not OK), added 0bXX, added ISOC99 initializers handling, added declaration parsing anywhere in block
27b9455a74847b2001-11-18bellard <bellard>added hash tables - add -o option for debug output
2834a14a08a3922001-11-18bellard <bellard>update
290c6b2dcdfe292001-11-26bellard <bellard>completed initializer handlign (compute size before storing initializers if unknown size - macro subst fix
304298fccb0c7f2001-11-28bellard <bellard>added wide char and string parsing - added zero init of auto initializers
31df9c047082752001-12-02bellard <bellard>added compound literals parsing - fixed string init with {}
32f22a32342bbd2001-12-02bellard <bellard>added K&R proto parsing
33cb1c8c892ca62001-12-02bellard <bellard>first stage for structure assign - added more generic function call code generation
34ebdec645a8882001-12-02bellard <bellard>added structure assignment (for = and function calls) - added cast handling for short/char (still not complete)
35a88b855866a12001-12-02bellard <bellard>update
3618a8013fe71a2001-12-02bellard <bellard>version change
378523baf61d7f2001-12-05bellard <bellard>better external allocs handling
38d7e05e1b8f652001-12-05bellard <bellard>better type checks - syntax fixes (gnu_ext added) - variable external defs
39711075fe3b162001-12-06bellard <bellard>use faster I/O functions - static compile patches
405d7f7bb5efde2001-12-06bellard <bellard>even faster
413c9ab729ae472001-12-08bellard <bellard>added multiple files compile - various symbol related fixes
4252ca29cd4f162001-12-08bellard <bellard>fix function call and ! operator
439b3c96c88e1f2001-12-08bellard <bellard>better type storage
44cb693e5318832001-12-09bellard <bellard>fixed switch - preparation for new types
453d1bdcf70e4a2001-12-09bellard <bellard>added bitfields support
469cebd0617f1a2001-12-12bellard <bellard>began to integrate floating point numbers - separated i386 code generator - fixed severe forward reference bug
473917389449162001-12-12bellard <bellard>separated i386 code generator
4825618c0430b52001-12-13bellard <bellard>float parsing + long double
49cb44835e947b2001-12-13bellard <bellard>fixed macro bug and dummy float constant parsing
50fa5161061e582001-12-13bellard <bellard>added float.h std header
51fbc51a39f96f2001-12-16bellard <bellard>new value stack system to handle the futur types (long long and floats)
525ee15844933f2001-12-16bellard <bellard>tcc documentation
532694c10547222001-12-17bellard <bellard>float update
54b0b2d5d2e9542001-12-17bellard <bellard>update
55f50d0b4488882001-12-19bellard <bellard>error() fixes
56f7181903bbd82001-12-20bellard <bellard>separated type and value on stack
57498551188e842001-12-22bellard <bellard>last patches to separate type and value handling
5821c35b9443712001-12-23bellard <bellard>use register classes (will allow better and simpler code gen - fixed long double handling
591465899342582002-01-03bellard <bellard>added full long long support - added section support - added __attribute__ parsing - added -U option
608b41bc57e1d12002-01-03bellard <bellard>0 constant can be used as a pointer
6114799da838342002-01-03bellard <bellard>suppressed some buffer overflows - moved function generation to cpu specific code (XXX: should have less cpu specific code for that)
6260f781c443cb2002-01-03bellard <bellard>first version of bounds checker
634124f1a1c1722002-01-04bellard <bellard>added minimal debug info support
649eab1030f7592002-01-05bellard <bellard>fixed VT_LLOCAL dereferencing
65ad28d4c5b03d2002-01-05bellard <bellard>use malloc hooks to properly catch all mallocs
665f85585b77012002-01-05bellard <bellard>finished bound check code (still slow) - fixed binary ops code gen - fixed float return
677e51b6607db02002-01-05bellard <bellard>added local bound generation
68b7fed2f2d46d2002-01-05bellard <bellard>added local bound generation - fixed binary ops - added bound check dereference
69d85bf50bfe8c2002-01-05bellard <bellard>better run time error display
7004ae07f03efe2002-01-05bellard <bellard>changed tcc tests name
713d22a2aa6dac2002-01-05bellard <bellard>bounding tests
724a922fa9ed6a2002-01-05bellard <bellard>better error display - added some string functions
73fd20e74b2f392002-01-05bellard <bellard>fixed memset
74ebe9e87ccf7e2002-01-05bellard <bellard>update
75872eed648c572002-01-05bellard <bellard>comments
768d191071491a2002-01-05bellard <bellard>implicit cast in global init - added bound check define - fixed division by zero in constant eval
771f15c98ab9362002-01-05bellard <bellard>fixed glibc bug
782bd31e4ea6292002-01-05bellard <bellard>added bound test
79cc10b240cb122002-01-05bellard <bellard>add c99 macros
80bbd541d760252002-01-05bellard <bellard>added ansi proto
819c06595a1e832002-01-12bellard <bellard>win32 defines + new internal file layer
820b8f352cb7dc2002-01-13bellard <bellard>fixed -D option
83621b3fc3b5442002-01-26bellard <bellard>stdcall added + floating point fixes
84d2c9157388c62002-01-26bellard <bellard>added more #elif tests
856e2d1a809aea2002-01-26bellard <bellard>increased hash table sizes - added cdecl and stdcall attributes - #elif fix - empty args in macro fix - benchmark option
86dbb999f8bd472002-01-26bellard <bellard>version change and window fixes
872d948c76106d2002-01-26bellard <bellard>new_region() fix - added bounded strlen and strcpy
885bf9559e9e912002-01-26bellard <bellard>bound check fix
89308017d5e0b02002-01-26bellard <bellard>update
90421911f921b92002-02-10bellard <bellard>moved i368 specific code
915a50e73980072002-02-10bellard <bellard>added CIL target
92048e710e153e2002-02-10bellard <bellard>added strlen test
93e5de65fcec862002-02-10bellard <bellard>update
9477db7175cad12002-02-10bellard <bellard>added il target
956933ac641f462002-03-03bellard <bellard>update
964226681d366b2002-03-03bellard <bellard>added optionnal bound check compile - fixed error reporting
9722ce5f248a432002-03-17bellard <bellard>added floating point constant propagation
987f4fcf12168d2002-03-17bellard <bellard>added tcc finite math function to avoid portability problems
999a69c067c3d12002-03-17bellard <bellard>negative float const
100db9fd02062ba2002-03-17bellard <bellard>better license terms
1017feafd2bbab02002-03-17bellard <bellard>version
1021e14c90c7ab72002-05-13bellard <bellard>added libtcc
1038f64c13c40b82002-05-13bellard <bellard>added libtcc - fixed spill reg bugs
10414fb0c49d8972002-05-13bellard <bellard>added arg to save_regs()
105dd35b8ccd10c2002-06-23bellard <bellard>man page
1064e5a85292bd02002-06-30bellard <bellard>correct line numbers when reparsing - added explicit TokenString structure - better logic for search path
1073d3e2372c57e2002-07-13bellard <bellard>added char/short types in lvalues to fix cast problems - added gcc style variadic macros - fixed zero arg macros - refuse extra comma at end of function call - fixed unused logical operation result case
10830766d3cd1922002-07-13bellard <bellard>converted to texinfo - added developper's guide
109264dbcfed23d2002-07-13bellard <bellard>fixed floating poing compare - use LVAL type - optimized bound checking
11017cbb388d3ba2002-07-13bellard <bellard>optimized bound checking
11112f3f3592c9f2002-07-13bellard <bellard>better file output - fixed order of variable declaration if initializer is present
1127ab1ac48bb3f2002-07-13bellard <bellard>more tests
1136cd36b12850c2002-07-14bellard <bellard>added better relocation support (needed for file output)
1149a8976d5eb9f2002-07-14bellard <bellard>update
1153cd4a7c4f98b2002-07-14bellard <bellard>better elf output - fixed float relocation data
11682695ae971b52002-07-14bellard <bellard>fixed PC32 relocation
11761a1599052742002-07-15bellard <bellard>added object file reading support
118a50e58e5ba552002-07-15bellard <bellard>more consistent command line handling
119f75e0c6d62bf2002-07-15bellard <bellard>update options
1207b54a53e08bb2002-07-18bellard <bellard>added archive support - better ELF output - fixed symbol relocation - added COMMON symbol handling
121be44fce9cdbe2002-07-18bellard <bellard>added GOT support
1229051cc21afe52002-07-22bellard <bellard>better elf output - generalized dynamic array use
1233d902af1a9122002-07-22bellard <bellard>moved relocation handling to elf generator
1246cdecbe4e6222002-07-22bellard <bellard>added runtime library - fixed more relocations
125b12e91aa01df2002-07-24bellard <bellard>fixed command line help - added -B option - moved bcheck.c outside of tcc
12658af3a6cd2d92002-07-24bellard <bellard>moved bcheck.c outside of tcc - optimized add sp code
1273f13ae4961732002-07-24bellard <bellard>bcheck.c is now a tcc library
128b2834b35b55c2002-07-24bellard <bellard>api change
129e9315f499bc12002-07-24bellard <bellard>added bound check symbols
130840d197e87602002-07-24bellard <bellard>update
13120f40851457d2002-07-24bellard <bellard>added FPU control word
132540cd6fde7422002-07-26bellard <bellard>fixed preprocessor expression parsing
1339b48237795e62002-07-27bellard <bellard>use data_offset in sections instead of pointer to ease section reallocation - relocated .stabs and .bounds sections - fixed char constants casts - fixed implicit cast to unary plus - fixed type for string constants
134a42941b1f0602002-07-27bellard <bellard>use data_offset in sections instead of pointer to ease section reallocation
1358264c257e73e2002-07-27bellard <bellard>more tests
136519ec30bcf842002-07-27bellard <bellard>added __start_x and __stop_x symbol generation - fp_hw fix for dynamic executables
13718e40e1a25b62002-07-27bellard <bellard>add stripping if not debug mode - moved debug and bound check init
1387ac43f6d19f92002-07-27bellard <bellard>better DLL generation - added size to all ELF symbols - dynamic hash table size
1394c9c0ab114eb2002-07-27bellard <bellard>added size info
1403a58c53eaf192002-08-18bellard <bellard>moved ELF specific stuff to tccelf.c
141acba7d10a28e2002-08-18bellard <bellard>better #line and #include tests
1424891761bc9dc2002-08-18bellard <bellard>realloc text section in code generation
14353834650fbd42002-08-18bellard <bellard>moved ELF stuff to tccelf.c - fixed #include and #line parsing - removed size limit on strings - added support for bound checking in generated executables - fixed -I include order - fixed incorrect function displayed in runtime error - fixed lvalue type when saved in local stack
144f5b9220b60b32002-08-18bellard <bellard>added tcc_add_sysinclude_path()
145796866862f432002-08-18bellard <bellard>updated
14659b27e85d9ff2002-08-18bellard <bellard>added include tests
1474264267299f12002-08-18bellard <bellard>added support for standalone operation
148cdf51a7a2a822002-08-18bellard <bellard>added cvsignore
1492eddd13c10f32002-08-18bellard <bellard>tccelf.c
150524be938fd042002-08-18bellard <bellard>updated
151f946dffd336e2002-08-18bellard <bellard>suppressed section_ptr - fixed constant string allocation
1525370be48e2f32002-08-18bellard <bellard>updated
1535e85ad260d852002-08-29bellard <bellard>fixed strlen - added __FUNCTION__
15441391fbb20d42002-08-29bellard <bellard>added linux define - added __FUNCTION - fixed spaces parsing - defined special macros
15546803f05e0262002-08-29bellard <bellard>fixed local extern handling - fixed '!' with symbols
156d2115bfb27f12002-08-29bellard <bellard>added symbol + relocation handling
1576dd6a026c35b2002-08-30bellard <bellard>better command line parsing - added -r option
158431d648096662002-08-31bellard <bellard>fixed PC32 relocation if constant address
15944b19defc26a2002-08-31bellard <bellard>fixed octal char const parsing - better __FUNCTION__ handling - handling of static libraries in case of memory compilation
1605c81896e06ae2002-08-31bellard <bellard>double fix
161540d31895c8b2002-08-31bellard <bellard>added alloca
162bc427f5bec952002-08-31bellard <bellard>update
163f1418e836fd22002-08-31bellard <bellard>more tests
164405c88106d0f2002-09-08bellard <bellard>fixed bound checking for structures - fixed ?: type handling - fixed '--' parsing
165509fa60368722002-09-08bellard <bellard>force #if #endif match in same file
166ab4da04aa9e82002-09-08bellard <bellard>added include file optimization
1678ecc9cd789e12002-09-08bellard <bellard>macro optimization - string constant optimisation
1681cb355747a932002-09-08bellard <bellard>update
1693748975feb382002-09-08bellard <bellard>trivial jump size optimization
17010f5d44f43cd2002-09-08bellard <bellard>update
171d8ef07df04442002-09-08bellard <bellard>added tcc_relocate() and tcc_get_symbol()
172c62792e6aa4c2002-11-02bellard <bellard>ignore some gcc options - removed many memory leaks - suppressed many global variables
173e4c7dd5e60d92002-11-02bellard <bellard>removed many memory leaks - suppressed many global variables
17405a919e29f122002-11-02bellard <bellard>added better error support
175973eb60e016e2002-11-02bellard <bellard>more long long tests - more ## tests
176c0180c4e5faa2002-11-02bellard <bellard>added correct ## handling : added TOK_PPNUM token
17743f30315f95a2002-11-02bellard <bellard>added alignof and typeof - better sizeof support - fixed get_tok_str() for TOK_PPNUM
178b8772fc99afb2002-11-02bellard <bellard>all keywords are now in tcctok.h
179b31d34fa0bc62002-11-02bellard <bellard>sizeof/alignof/typeof tests
180bde35a81f3022002-11-03bellard <bellard>simplified error handling
181fde824b7cd222002-11-03bellard <bellard>handle computed gotos
182804d0c8d41902002-11-03bellard <bellard>added computed gotos - better runtime error handling
183923627f030ae2002-11-03bellard <bellard>computed goto test
1846cd2d5d2c8442002-11-03bellard <bellard>update
1859620fd18e4802002-11-18bellard <bellard>added CType structure for type storage - supressed define hash table - added time dump in bench
1865286d3d84c832002-11-20bellard <bellard>suppressed secondary hash tables - began parsing optimization
18763965fc585a32002-11-22bellard <bellard>further parse optimizations
1882f219d8702052002-11-22bellard <bellard>use CH_EOB
189e926c359bb792002-11-22bellard <bellard>error message fixes - CH_EOB is now '\'
1902956bd85cde62002-11-22bellard <bellard>suppressed ch1 and preparser
191cdcfed9737c62002-11-22bellard <bellard>restored include file optimization - added static on all globals
192b81d4ba6b36b2002-11-22bellard <bellard>prepared parser for direct use of file->buf_ptr - faster comment parsing
1938901fbeef1522002-11-23bellard <bellard>parsing optimizations
1949e180474f0be2002-11-23bellard <bellard>optimized token strings - optimized token hashing
195a9f08655acee2002-11-23bellard <bellard>expression optimization
1960adc5a8921572002-11-23bellard <bellard>fixed line numbering
197ab9973c843892002-11-23bellard <bellard>optimized unary() - fix long long signed comparisons
1980841db04c54f2002-11-23bellard <bellard>fixed structure init without {} - fixed function declaration parse
1997b2721ff07f92002-11-24bellard <bellard>added empty structs support - changed double align to 4 (i386 default ABI) - added align support for structs - added GCC defines for basic types
200b9d9425993372002-11-24bellard <bellard>fixed structure type test - fixed enum parsing - added warning for int/ptr conversions instead of error
201122198a8c2262002-11-24bellard <bellard>update
202d1e7e264a5d12002-11-24bellard <bellard>added MAX_ALIGN
2035fac37b0a2882002-11-24bellard <bellard>use TCC macros
2042ec23ab858f02002-11-24bellard <bellard>added varargs.h
205abf909e1acd62002-11-24bellard <bellard>added static bit fields init - version change - #error and #warning fix - support aligned attribute without parameter
206dc685c6b7d712002-12-08bellard <bellard>update
207a6c5e2f9ca792002-12-08bellard <bellard>FreeBSD fixes
208b5259da4f2eb2002-12-08bellard <bellard>renamed registers
2094df76253ad252002-12-08bellard <bellard>FreeBSD fixes - file type guessing - glibc2.2 fixes - ELF align issue
210fa6ac83ec5af2002-12-08bellard <bellard>FreeBSB fixes - elf align issues
21153196cd475802002-12-08bellard <bellard>added
2127808b4046e6e2002-12-08bellard <bellard>fixes for buggy GCC compilers
21375e743d23e772003-01-06bellard <bellard>update
2148e40dd90bbb92003-01-06bellard <bellard>macro opt - asm support - new option parsing - supressed IL code
2157893a9ecdf6f2003-01-06bellard <bellard>asm support
21650f0ae610fed2003-01-06bellard <bellard>glibc compat fix
21765092b7d855d2003-01-06bellard <bellard>added asm tokens - suppressed synonims (avoid potential bugs in preprocessing)
2180da3613ac33d2003-01-06bellard <bellard>asm test
219d575137648e02003-04-09bellard <bellard>update
2203605c50b36bd2003-04-10bellard <bellard>spell fixes + texinfo format fixes by Peter Lund
221eed54d6bfb9c2003-04-13bellard <bellard>struct syntax fix
22260b9a1aa38682003-04-13bellard <bellard>better _Bool lvalue support
22373acbe2413202003-04-13bellard <bellard>function parameters must be converted to pointer of functions
224d6819c2c36a72003-04-13bellard <bellard>comment fixes (Peter Lund)
225c2e6daafc1022003-04-13bellard <bellard>PLT generation fix
2260c618f4b7f0d2003-04-13bellard <bellard>sanitized string and character constant parsing
227cab6018913312003-04-13bellard <bellard>fixed comment parsing
22834b7d96fec7d2003-04-13bellard <bellard>update
229f46a02a3609f2003-04-13bellard <bellard>fixed macro function bug
230cb96022ab7582003-04-13bellard <bellard>added configure - gcc 3.x support
231d579dc4dbf852003-04-13bellard <bellard>gcc 3 tests activated - new tests for 0.9.17
2325647993e79e42003-04-13bellard <bellard>configure support
233dd56ab8c77332003-04-13bellard <bellard>added configure support
23440987541dc682003-04-13bellard <bellard>added __TIME__ and __DATE__ support - added -v and -run options
2356104629dc2272003-04-13bellard <bellard>added -run option
236fe7bcdef6bde2003-04-13bellard <bellard>added config.texi
2373bbcd30776bc2003-04-13bellard <bellard>update
23885fa15e64c9d2003-04-13bellard <bellard>compile fix
2396e197e3d5d432003-04-14bellard <bellard>fixed inline asm without operand case
2404149fedd7b042003-04-14bellard <bellard>added 'A' asm constraint
241c5ab452d64932003-04-14bellard <bellard>switch label parse fix
2420d6f8021ee882003-04-14bellard <bellard>update
243214ccccea7f92003-04-16bellard <bellard>simpler function call API
244066d5e7a849c2003-04-16bellard <bellard>ignore OUTPUT_FORMAT and TARGET ld script commands (fixes Redhat >= 7 static link problems)
245410fc57ba05c2003-04-16bellard <bellard>default output object filename is basename of input filename (same behaviour as gcc)
2460eef235475a82003-04-21bellard <bellard>asm number parsing (thanks to Dave Long)
2479791bfaf485c2003-04-26bellard <bellard>more precise C type check support (const warnings) - added generic -W option support
248356fa0c3bbc12003-04-26bellard <bellard>added tcc_set_warning() - c++ include support
24960efcfe27c3b2003-04-26bellard <bellard>update
2507828683e609c2003-04-26bellard <bellard>added __builtin_constant_p() and __builtin_types_compatible_p() support
2512b64f2f570532003-04-27bellard <bellard>added -nostdlib
252a901c5f2040d2003-04-27bellard <bellard>update
25368c800981ed82003-04-27bellard <bellard>added % constraint
25471f119fe25882003-04-28bellard <bellard>various asm directives - char support (Dave Long)
255c4e6b2e9be2f2003-04-28bellard <bellard>alacarte linking (Dave Long)
256edbfa7715fc62003-04-28bellard <bellard>update
2575908725ad5802003-05-18bellard <bellard>test macro substitution inside macro args
2586cdf6f88d75f2003-05-18bellard <bellard>fixed macro argument substitution
259f0d5a74bcd612003-05-18bellard <bellard>automatic man page generation from tcc-doc.texi
260e58bda52cd4a2003-05-18bellard <bellard>removed unnecessary manual page
261638e666c42bc2003-05-18bellard <bellard>fixed zero arg macro parse
262813acdc691f52003-05-24bellard <bellard>added 32 bit shift support
2638f5e44a439b42003-05-24bellard <bellard>changed license to LGPL
2647b05ed6b819b2003-05-24bellard <bellard>update
265770ef5ed1f152003-05-24bellard <bellard>changed license to LGPL
266fe3b68b087932003-05-24bellard <bellard>libtcc1 is now a library so that it is linked in only on demand
26798713a6be3952003-05-24bellard <bellard>added -rdynamic support
2684e6edcdcddad2003-05-24bellard <bellard>update
269d0476a0e2e902003-05-24bellard <bellard>help update
270370f5e571c4c2003-05-24bellard <bellard>added missing texi2pod.pl
2719d95be78c8c52003-05-29bellard <bellard>added init_array defines for new ld compatibility
272277e01cd643a2003-06-02bellard <bellard>const warning test
27321d2d99bdc112003-06-02bellard <bellard>suppressed warning for const function parameters
2747b940fcb1b1a2003-07-20bellard <bellard>reject abstract declarators in function definition (Mauro Persano)
275c5959b77b4b72003-07-20bellard <bellard>fixed typdefed type parsing (Mauro Persano)
276f8d02417642e2003-07-20bellard <bellard>changed tcc_get_symbol() prototype
2779c1106d854112003-09-19bellard <bellard>added -w option
278c5ce5eaedae42003-10-04bellard <bellard>fixed -w option - doc update (thanx to Romain Francoise)
279d369a77647c92003-10-04bellard <bellard>unbounded section name (might be useful when section name contains function name for g++ linkonce sections)
28046169b92d91b2003-10-04bellard <bellard>.gnu.linkonce section support (useful to link with recent glibc)
281bef8703f772d2003-10-04bellard <bellard>added arguments to -run - fixed libc linking when running in memory - output a warning instead of an error if invalid escaped sequence in character
282feed3262c91d2003-10-04bellard <bellard>fixed libc linking when running in memory
2839890ea1233a12003-10-04bellard <bellard>added examples
284b7f12dfbdff62003-10-04bellard <bellard>update
28577a19bf50e8e2003-10-05bellard <bellard>update
28644cea6aee95b2003-10-05bellard <bellard>update
2874df5bd2eb04d2003-10-14bellard <bellard>ARM target support (Daniel Glockner) - allow unsigned char as default on ARM (Daniel Glockner) - fixed small ld script support (Daniel Glockner)
2887a5123a770552003-10-14bellard <bellard>update
289114883e078f22003-10-17bellard <bellard>added -funsigned-char, -fsigned-char and -Wimplicit-function-declaration
290fe203057c2602003-10-17bellard <bellard>fixed assignment of const struct in struct
2918da2d689df532004-10-02bellard <bellard>install fix
29222d8df96c6022004-10-02bellard <bellard>comment parsing fix - bitfields partial fix
293c1265d1616962004-10-02bellard <bellard>update
2948da6027e733c2004-10-02bellard <bellard>both .globl and .global directives are accepted by as
295c52df4de381b2004-10-02bellard <bellard>dietlibc support
296df36de6507e72004-10-02bellard <bellard>fixes for dietlibc
29779c72b2419982004-10-04bellard <bellard>initial TMS320C67xx support (TK)
2983bd3c71fd11b2004-10-04bellard <bellard>faster (Daniel Glöckner)
2996e5b1cc43a302004-10-04bellard <bellard>ARM fixes (Daniel Glockner)
300bf45336afb7f2004-10-05bellard <bellard>initial TMS320C67xx support (TK)
301ec7d36326de62004-10-05bellard <bellard>C67 COFF executable format support (TK)
302c50af8399dcd2004-10-07bellard <bellard>fixed __LINE__ token type
30313affef3f1ea2004-10-07bellard <bellard>win32 configure
304aa7ef7919e162004-10-08bellard <bellard>copy paste abuse
30562f99adb71f72004-10-18bellard <bellard>update
306d65463809c212004-10-18bellard <bellard>fixed 'no base' modrm generation - better asm constraints handling
3074d9f6d2bcf2a2004-10-18bellard <bellard>push/pop fixes - added fxsave and fxrstor
30872a88fbab0e12004-10-18bellard <bellard>primitive fastcall functions support
3099668499b9f1e2004-10-18bellard <bellard>primitive fastcall functions support - -fno-common option - -Ttext linker option - bit field fixes - section alignment fixes
3100bd402d2eb3b2004-10-18bellard <bellard>absolute symbols support - .org, .fill and .previous directives
311ff3a5daf25002004-10-18bellard <bellard>_end symbol definition fix - fixed section alignment logic
312807321efbaf02004-10-18bellard <bellard>update
31345466d2df65e2004-10-23bellard <bellard>output format support
31459c3563827642004-10-23bellard <bellard>do not generate code for unused inline functions - fixed long long code gen bug - added --oformat linker option
315eb79471184b92004-10-23bellard <bellard>added .ascii and .asciz directives
316bb07bf31aae12004-10-23bellard <bellard>update
31738e8a23025ea2004-10-23bellard <bellard>fixed linker symbol generation - output format support
3182a6c104722a92004-10-23bellard <bellard>update
319e657dfb4914a2004-10-25bellard <bellard>added .quad asm directive
3203e74b91de6062004-10-27bellard <bellard>correct libtcc1 link order
32132ba2eadf6f22004-10-27bellard <bellard>compile fix
322c9c05ca5f0532004-10-27bellard <bellard>copyright update
3236b52984ce49e2004-10-27bellard <bellard>added _Bool in bit-fields
324c2ec76a41f4d2004-10-28bellard <bellard>gcc 3.3 compatibility fix for multi-line string literals
325736b565766102004-10-28bellard <bellard>fixed const and volatile function parameters typing - fixed string parsing when skipping code
3261e1d3ff687752004-10-29bellard <bellard>packed attribute support
3271d0e5e8b01f22004-11-02bellard <bellard>stack full fix
3286bbfb8f6100b2004-11-07bellard <bellard>removed warnings
329398e22c5413c2004-11-07bellard <bellard>gcc 3.4 compile fix
33048c85f1b15832004-11-07bellard <bellard>optimisations: hash table for include file search, pool for symbol allocation - sympler token string allocation - '-b' fix with '-run' option
331be5e9cb9623b2004-11-07bellard <bellard>pool for symbol allocation
3321c1919072b652004-11-07bellard <bellard>update
33327feb1adac9d2004-11-07bellard <bellard>gcc 3.4 fix
3340b8d7f44b4c02004-11-08bellard <bellard>update
3356ab11406235c2004-11-08bellard <bellard>update
336fc72e41a557f2004-12-16bellard <bellard>better gcc compatibility (Jon Griffiths)
337bdd09709d7b42005-04-10bellard <bellard>ELF visibility defines
3382c538d7a2b0f2005-04-10bellard <bellard>initial PE format support
3399825011cedeb2005-04-10bellard <bellard>__chkstk support
3408f2d519203e72005-04-10bellard <bellard>#include_next support (Bernhard Fischer)
34144211ddff5ce2005-04-10bellard <bellard>update
3420bca832c18f12005-04-13bellard <bellard>#pragma pack support (grischka)
343ef156f0c44e52005-04-13bellard <bellard>update
344d733dc752e8d2005-04-13bellard <bellard>better st_other support
3454821702fb49c2005-04-14bellard <bellard>win32 merge
346acc4f88e6da02005-04-14bellard <bellard>build of cross compilers is optional - added tccdir path
3477baf968102012005-04-14bellard <bellard>build of cross compilers is optional - win32 merge
34802af482c320a2005-04-14bellard <bellard>moved examples
349ce93d5440fba2005-04-15bellard <bellard>update
350c897c520880f2005-04-15bellard <bellard>cannot change dir layout yet
3516144d433211b2005-04-17bellard <bellard>fib fix (grischka)
3525556cf15656a2005-04-17bellard <bellard>dos2unix
35358f6207abe642005-04-17bellard <bellard>_controlfp fix (grischka)
354debf0234cced2005-04-17bellard <bellard>added DECLARE_STDCALL_P (grischka)
355484ee920c1cc2005-04-17bellard <bellard>do not assume signed char (grischka)
35609f4ce9857f52005-04-17bellard <bellard>_Bool type fix
357fe9b1f60ce2f2005-04-17bellard <bellard>win32 merge (grischka)
3580c7f0ed312d52005-06-15bellard <bellard>added -f[no-]leading-underscore
359f6db2edc40ad2005-06-15bellard <bellard>added -f[no-]leading-underscore - '@' symbol for asm
360b78d3ff1dca82005-06-17bellard <bellard>the PE linker code is not ready for -fleading-underscore support
361c262e9ea04472005-06-17bellard <bellard>win32 fix
3624d7eadb2fab62005-06-17bellard <bellard>preprocessor function macro parsing fix (grischka) - disabled -fleading-underscore for win32
3634386b4566b182005-06-17bellard <bellard>macro function test
36416559cd60c532005-06-17bellard <bellard>update
365b0b8ac13ce022005-09-03bellard <bellard>mark executable sections as executable when running in memory
366c42532c37dc92005-09-03bellard <bellard>use CFLAGS from configure
36744738b516a532005-09-03bellard <bellard>fixed function type check
368bb24eb9de44f2005-09-03bellard <bellard>ignore AS_NEEDED ld command
3696f8b8887b1452005-09-03bellard <bellard>added support for win32 wchar_t (Filip Navara)
3703ba1190eb4b72005-09-03bellard <bellard>segment override prefix support (Filip Navara)
37181f957ae09642005-09-03bellard <bellard>normalized slashes in paths (Filip Navara)
372e9c64e3f473a2005-09-03bellard <bellard>windows style fastcall (Filip Navara)
3737b8e283980a42005-09-03bellard <bellard>support for empty input register section in asm (Filip Navara)
3747bc5e518478b2005-09-03bellard <bellard>anonymous union/struct support (Filip Navara)
37562c5a5466ab12005-09-03bellard <bellard>fixed parsing of function parameters
3768ba48f84fe102005-09-04bellard <bellard>fastcall keywords
3776d66b5a9711a2005-09-04bellard <bellard>update
378aee0da0b17602005-09-04bellard <bellard>avoid jumping into statement expression
3795487bc23c8d32005-10-30bellard <bellard>tcc_load_dll fix (Tao Wu)
3806ca0299e5b7b2006-02-20bellard <bellard>allow (base,index) as alias to (base,index,1)
381200b58dad81f2006-10-16bellard <bellard>initial implementation of -E option
3823b8cd565be2b2006-10-28bellard <bellard>fixed multiple concatenation of PPNUM tokens (initial patch by Dave Dodge)
38338d2e8b9d8da2006-10-28bellard <bellard>Bug fix: A long long value used as a test expression ignores the upper 32 bits at runtime (Dave Dodge)
38424a19cc37e782006-10-28bellard <bellard>discard type qualifiers when comparing function parameters (Dave Dodge)
3850bea5c7f21db2006-10-28bellard <bellard>workaround for function pointers in conditional expressions (Dave Dodge)
38652b7254b9c092006-10-28bellard <bellard>fixed multiple typedef specifiers handling
387365d0ad545342006-10-28bellard <bellard>multiple typedef test
38865b974e396282006-10-28bellard <bellard>conversion test
389fb2c34f8cdc52006-10-28bellard <bellard>fixed sign extension in some type conversions (Dave Dodge)
3908b0c4c6582de2006-10-28bellard <bellard>update
39184f4e99635692006-10-28bellard <bellard>added va_copy()
3927097268ac5722006-10-28bellard <bellard>fixed help
393d13aa5426ad12006-10-28bellard <bellard>typos
3942bcc187b1bbb2007-10-30grischka <grischka>Fix 'invalid relocation entry' problem on ubuntu - from Bernhard Fischer
39554bf8c05566a2007-11-14grischka <grischka>Import some changesets from Rob Landley's fork (part 1)
396d778bde7f9682007-11-21grischka <grischka>Import more changesets from Rob Landley's fork (part 2)
3973e8b9e6d10512007-11-23grischka <grischka>New files: alloca86.S alloca86-bt.S
3982bcb9646940d2007-11-25grischka <grischka>Fixed: - Hanging tcc -E - Crashes witn global 'int g_i = 1LL;' - include & lib search paths on win32 Added quick build batch file for mingw Reverted case label optimization (See Changelog for details).
3992de1b2d14cc92007-11-25grischka <grischka>Some in-between fixes (See Changelog for details).
400f99d3de221db2007-12-04grischka <grischka>Import 409,410: ARM EABI by Daniel Gl�ckner
401b0d40c12da162007-12-09grischka <grischka>tiny_impdef.c - converted to LF line-endings (and slight cleanup)
40234140dd627412007-12-13grischka <grischka>Use _WIN32 for a windows hosted tcc and define it for the PE target.
403f466577673ed2007-12-13grischka <grischka>Disable singnedness warnings with newer gcc.
4046c96c41ee49c2007-12-16grischka <grischka>Import changesets (part 4) 428,457,460,467: defines for openbsd etc.
405adb14564724f2007-12-17grischka <grischka>Handle backslashes within #include, #error, #warning
4065342b32eef562007-12-19grischka <grischka>Switch to newer tccpe.c (includes support for resources)
4073667408a57562008-01-16grischka <grischka>Just warn about unknown directives, define __STDC_VERSION__=199901L
408265dddbecf8c2008-01-16grischka <grischka>Udated and cleaned up TODO.
4092eaa1104f7af2008-03-08grischka <grischka>Checkin tiny_libmaker (ar replacement) by Timovj Lahde
410c6537d11cbda2008-03-08grischka <grischka>Get rid of one warning
411e2c89576c7392008-03-08grischka <grischka>Fix 'tcc -static' with recent glibc
4126ed868c51cab2008-03-08grischka <grischka>Enable -B option for library path on win32
41388b3cb570eff2008-03-25grischka <grischka>Comply to c89 compilers other than gcc (Hanzac Chen)
4149bcc0b970b892008-03-25grischka <grischka>Add -soname linker option (Marc Andre Tanner)
415cd24bd05b4fe2008-03-25grischka <grischka>get rid of a warning and fix .bat
4164d9aaacc85472008-03-31grischka <grischka>Accept standard input as an inputstream (Hanzac Chen)
417a327c7a552452008-03-31grischka <grischka>added verbosity levels (-vv -vvv)
418f22e961f805d2008-03-31grischka <grischka>update manual, changelog
41923594b69804b2008-04-27grischka <grischka>enable multiple states and fix minor memory leaks
4200d598aca087e2008-04-27grischka <grischka>fix bogus relocations with TCC_OUTPUT_DLL
4215247bbc2f0402008-04-27grischka <grischka>fix stabstr with linked objects
422f2698687fba62008-04-27grischka <grischka>fix options in C scripts after -run
42396bd8f2b25f12008-05-05grischka <grischka>enable pe-output from libtcc (Shmuel Zeigerman)
424f9bf48d6433a2008-05-05grischka <grischka>release loaded dlls cleanly (Sam K)
4251300cec38cc42008-05-10grischka <grischka>free_section bugfix
4262c6cd08bcc1c2008-05-10grischka <grischka>fix isidnum_table for CH_EOF (-1)
4278f7e3f325da72008-05-24Adam Sampson <ats@offog.org>Patch for DESTDIR installation (Adam Sampson)
4282c657f6608fd2008-08-19Daniel Glöckner <daniel-gl@gmx.net>Set VT_LVAL_xxx flags for function arguments in gfunc_prolog (Daniel Glöckner)
42912265da6cd242008-09-05Daniel Glöckner <daniel-gl@gmx.net>Runtime lib functions
430e8039673ad532008-09-05Daniel Glöckner <daniel-gl@gmx.net>ARM related Makefile changes
431256f6e6200be2008-09-05Daniel Glöckner <daniel-gl@gmx.net>A prefix for default library/include search paths
43215e0dc08a6702008-09-05Daniel Glöckner <daniel-gl@gmx.net>Allow to use libgcc instead of libtcc1
433e263ee3cbfcb2008-09-05Daniel Glöckner <daniel-gl@gmx.net>Fix gv for long longs
4345a92536cea202008-09-11Daniel Glöckner <daniel-gl@gmx.net>Optimize arithmetic with pointer to value on stack + constant
43543a34d354a6a2008-09-11Daniel Glöckner <daniel-gl@gmx.net>Force null pointer exception for code outside of a function
4363783b335084e2008-09-11Daniel Glöckner <daniel-gl@gmx.net>Fix bitfields with non-int types and in unions
437a80acab4fc152008-09-11Daniel Glöckner <daniel-gl@gmx.net>Display error on statement expressions with complex return type
4387f51aa13e7912008-09-14grischka <grischka>update changelog
4397bebf1f59a982008-09-15grischka <grischka>was hash, not link
44078f288bc870e2008-11-29grischka <grischka>win32/build-tcc.bat: define CONFIG_SYSROOT
44183466c61510b2008-11-24grischka <grischka>line-numbers output for TCC -E
4422d9b5e0bb8b82008-11-20Daniel Glöckner <daniel-gl@gmx.net>Rewrote casts
4431b599ea7f8612008-11-20Daniel Glöckner <daniel-gl@gmx.net>Cast parameter of '!' to _Bool
444deb410710cc32008-11-20Daniel Glöckner <daniel-gl@gmx.net>Rewrote '?' for constants
4455fd6f7bd44b02008-11-20Daniel Glöckner <daniel-gl@gmx.net>Fix get_tok_str wrt wide characters
44676b02c2a03082008-11-20Daniel Glöckner <daniel-gl@gmx.net>Futher changes to casts
4477dd792ef51a62008-11-29Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Introduce ElfW macro and ELFW to encapsulate the difference between Elf32_* and Elf64_*. Also, introduce ElfW_Rel and SHT_RELX for difference between REL and RELA.
44873a84cefda722008-11-29Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Imported several macros required by x86-64
449d6072d3703df2008-11-30Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Add __builtin_frame_address(0)
4502355fc7686052008-11-30Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Use long instead of int to hold pointer values.
451ce8d71edbc342008-11-30Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Use int*2 instead of long*2 to hold double value.
452c92daa02e4882008-11-30Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>One more s/int/long/
45327d23342eabb2008-11-30Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Make tccelf.c 64bit ready.
454ba8c95a98dec2008-11-30Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>silly bug fix: s/#ifdef PTR_SIZE == 4/#if PTR_SIZE == 4/
4551e776b29d3f42008-12-01Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Suport LDOUBLE_SIZE == 16 environment.
456fb0ac27691c12008-12-01Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>s/int/unsigned/ since GCC 4.3.2 produces code which doesn't stop.
4570a9873aa22732008-12-01Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Add support of x86-64.
458aa8d22e38ef82008-12-01Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Add several test cases.
4597c3f19c079af2008-12-02grischka <grischka>fix data overflow with init_putv
46064147b346b162008-12-28grischka <grischka>fix constant optimization for unsigneds
4615a044b67bba42009-02-02Alexander Egorenkov <ae@linux-pc-2.(none)>type_size function returned incorrect size
4626213d4b4b65f2009-01-18Kirill Smelkov <kirr@landau.phys.spbu.ru>string_test: we should always use 'unsigned int' for b
46300f0932760302009-01-18Kirill Smelkov <kirr@landau.phys.spbu.ru>tcc -E: preserve spaces (partial solution)
464b41fc95566f52009-02-11grischka <grischka>win32: fix for VC8Express compiler
4653116744bdd9c2009-02-16grischka <grischka>i386: align=8 for double and long long
4664a8c2229ce152009-02-16grischka <grischka>win32: allow user segments as writable & executable
467ae607280c5cb2009-03-14Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Allow long long as a type of bitfields on x86-64.
46862e73da612472009-03-15Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>A uint64 bug fix on x86-64
4694f056031f4952009-03-15Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Support long long bitfields for all architectures.
470006c907da7df2009-03-15Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Code cleaning: utilize vpushll().
4717db1e69df29f2009-03-15Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Suppress noisy pointer signed-ness warnings on x86-64.
472b8a32d8d40262009-03-20Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Generate PIC for addresses of symbols.
473fe8f230ab6bc2009-03-21Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>First naive DLL support on x86-64.
474040ef000e4862009-03-31Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Better DLL support on x86-64.
475af6cbc48d16c2009-03-31Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Fix overrun in decl_initializer_alloc.
4766512d9e2eac32009-03-31Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Add check for invalid numbers.
477ebb874e216432009-03-31Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Remove multiple definition error caused by combination of x86-64 and va_list.
47806fa15fb99122009-04-01Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: Save RDX and RCX before we use them as function parameters.
479e6db5f5fb6702009-04-01Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64 bug fix: Use stack with alignment just like 32bit environments.
480754b0beb7d442009-04-03Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64 bug fix: Fix stab generation for x86-64.
48197072b3cd7042009-04-04Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: Now TCC can create healthy shared objects from object files generated by GCC
4820e015988cc5d2009-04-03grischka <grischka>i386: apply "align=8 for doubles ..." for PE only
4835818945ef69b2009-04-03grischka <grischka>accept "restrict" in array-decl (STDC 199901)
484c80f81c199582009-04-03grischka <grischka>tiny_libmaker: fix function array overflow
48529c8e1545a492009-04-03grischka <grischka>get rid of "free_section problem" with private sections
4866c10429aa5e72009-04-03grischka <grischka>check for absolute include paths
487830b7533c99f2009-04-12Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Generate PIC code so that we can create shared objects properly.
488fcf2e5981fe52009-04-12Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: Combine buffers of sections before we call tcc_run().
4890e239e2ba5b32009-04-12Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Improve the test coverage: !val for float/double/long long f.
4909fe28b610ebe2009-04-13Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: Make ABI for long double compatible with GCC.
4912e9b57b6d0662009-04-13Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Fix silly typos in the previous change.
492de3f0a46fe352009-04-14Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Fix for x86-64: The first and second arguments of memcpy must be pointers.
493b879ffa193f72009-04-14Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: There can be valid addresses which is greater than 0xc0000000.
494a9c78d04f2042009-04-14grischka <grischka>win32: accept uppercase filename suffixes
495be43c8e0ed222009-04-15Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: Cast from 64bit pointer to long long must not generate movslq.
49683fd36333a692009-04-15Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Fixes for issues I've just found/introduced to x86 TCC.
49751a7f163ad4a2009-04-15Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Work around for the issue TCC doesn't handle -2147483648 properly.
49839a4b859d4d42009-04-16Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: Fix cast from integers to pointers.
49985d016b507d92009-04-16Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: Remove code for debug print. Now, we concat buffers before relocation. So this only happens when users try creating >2GB binary.
500742cf058752b2009-04-16Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: Define make variable TARGET so that test2 and test3 use correct flag.
5019a8b2912ed2e2009-04-16grischka <grischka>TOK_builtin_malloc: alternative solution
502795f67428e782009-04-16grischka <grischka>alternative int tcc_relocate(TCCState *s1, void *ptr);
503b1697be6917e2009-04-16grischka <grischka>change tcc_add/get_symbol to use void*
504e6ba81b012b12009-04-16grischka <grischka>get rid of 8 bytes memory leak
5059a7173bf69cc2009-04-17Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: Fix tcc -run. We need extra memory for PLT and GOT.
506d62301b050412009-04-17grischka <grischka>avoid warning uninitialized
50790697c4c561a2009-04-17grischka <grischka>CONFIG_TCC_STATIC: add dummy for dlclose
5080f0ed4a8bf2b2009-04-17grischka <grischka>tcc -E: preserve spaces, alternative solution
509dd5630ff95b82009-04-17grischka <grischka>tcc -E: fix pasting empty tokens
510d36fea34e36c2009-04-18Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Call relocate_sym() before we return the offset, so user doesn't need to check the return value twice.
51173ba078d2f702009-04-18grischka <grischka>tcc_relocate: return error and remove unused code
512d165e87340c32009-04-18grischka <grischka>libtcc: new api tcc_set_lib_path
513b56f9562477a2009-04-18grischka <grischka>libtcc: add support to be build as DLL
514eca1fbaf92f62009-04-18grischka <grischka>mute strange difference in tcctest
515e8a52a8249572009-04-18grischka <grischka>win32: readme.txt->tcc-win32.txt, update tcc-doc
516ea5e81bd6a332009-04-18grischka <grischka>new subdirs: include, lib, tests
5175829791ffaca2009-04-18grischka <grischka>fix makefiles etc for subdirs
51848ae0c0468fc2009-04-18Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Fixes for tests/Makefile.
519859da934e0ce2009-04-18Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>Return value of exit should be void.
520e9e89ad699be2009-04-18grischka <grischka>enable backtrace only when it's supported
52115626621fb2a2009-04-19grischka <grischka>cleanup makefiles
522a93bcdffae3a2009-05-05grischka <grischka>new files: tcc.h libtcc.c tccpp.c tccgen.c
523ae37bd5abcab2009-05-05grischka <grischka>move declarations to tcc.h
524805990b94ef62009-05-05grischka <grischka>move preprocessor to tccpp.c
5250d1ed741024a2009-05-05grischka <grischka>move parser/generator to tccgen.c
5269dc9cbf319f62009-05-05grischka <grischka>move libtcc interface and helper functions to libtcc.c
52792204e8818342009-05-05grischka <grischka>move global variables to libtcc.c
528b8f6e1ae30572009-05-05grischka <grischka>move minor things from libtcc.c to other files
5295c6509578e782009-05-05grischka <grischka>make tcc from tcc.c and libtcc from libtcc.c
530f9181416f6042009-05-11grischka <grischka>move some global variables into TCCState
5310a35f9d66e152009-05-11grischka <grischka>move static prototypes to libtcc.c
53267aebdd5b7332009-05-11grischka <grischka>enable making tcc using libtcc
53340f5ce002e742009-05-11grischka <grischka>fix warnings with tcc_add/get_symbol
53403c787d6ce8d2009-05-11grischka <grischka>fix unused/uninitalized warnings
535ca4b4a52add52009-05-11grischka <grischka>fix build with msvc
536530b77e3659b2009-05-06Daniel Glöckner <daniel-gl@gmx.net>ARM: fix big immediate offset construction
537aed6a7cb60142009-05-11grischka <grischka>fix "cached include" optimization
538bf8d8f5f3e0a2009-05-11grischka <grischka>update Changelog, bump version: 0.9.25
53968310299b67b2009-05-16grischka <grischka>ulibc: #define TCC_UCLIBC and load elf_interp
540110a4edc154f2009-05-16grischka <grischka>drop alloca #define
5418ea8305199492009-06-08Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: Add alloca.
542dca2b15df42c2009-06-10Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: Align return value of alloca by 16.
543e7297581fceb2009-06-15Sam Watkins <sam@nikas.(none)>pass constness from structs to members
544bba515afe5492009-06-17grischka <grischka>tccelf: accept BSS symbol with same name from other module
54569fdb57eddd02009-06-17grischka <grischka>unions: initzialize only one field
546a342bbadc8da2009-06-17grischka <grischka>use static declaration from prototype
547c3701df16cf12009-06-08Soloist Deng <soloist.deng-gmail.com>trying to fix the bug of unclean FPU st(0)
5486a004ed19f612009-06-17grischka <grischka>allow redefinition of func_old_type functions
549956b4beec1232009-06-17grischka <grischka>incompatible function ptr assignment: just warn
550e4ae77c7bbe02009-06-17grischka <grischka>tcc_preprocess: add gcc-style include-depth flags
551ec54c34b9ef72009-06-17grischka <grischka>error messages: print "error: ..."
552610fd47510232009-06-17grischka <grischka>win32: structure return GCC compatible (ret 4 with cdecl)
553c4b7e77bbe1d2009-06-17grischka <grischka>accept option -x <lang>
554ec4a350620f82009-06-17grischka <grischka>win32: guard va_list typedef
555c93ddac9aa462009-06-30grischka <grischka>configure: support DESTDIR for RPM packagers etc.
5560085c648f6e92009-07-06grischka <grischka>bcheck: restore malloc hooks when done
557045cff28fe6d2009-07-06grischka <grischka>fix asmtest (somehow), update Makefiles
558fcdb663dde6c2009-07-06grischka <grischka>pp: simplify pasting, enable L ## number
55985e481b66eae2009-07-06grischka <grischka>pp: return newline after directive
5605e83b64dae592009-07-06grischka <grischka>cleanup: put prototypes in front of libtcc.c
561d0b432ab38b02009-06-29grischka <grischka>cleanup: stop abuse of sym->r for inline functions
562bed17847bdfa2009-07-06grischka <grischka>cleanup: stop abuse of sym->c for #define tokenstreams
563370cdeb628962009-07-06grischka <grischka>tccpe: build IAT vector with with -run too
564dcfad3af49932009-07-06grischka <grischka>tccpe: get rid of kludgy export-symbol sort
565fe8def3303d72009-07-06grischka <grischka>tccpe: use ElfW macros
566f366cb20fe062009-07-06grischka <grischka>tccpe: support pe32+ (x86_64) target
567719ba918dd142009-07-06grischka <grischka>tccpe: use more official structs
5683ea4acb9b9152009-07-18grischka <grischka>pe32+ target: add in various #define's
5693ba1532cfb442009-07-18grischka <grischka>pe32+ target: add to makefile
570459875796b1b2009-07-18grischka <grischka>pe32+ target: adjust x86_64-gen.c
571035918ef2f332009-07-18grischka <grischka>win64: fix pointer <-> unsigned long typecast issues
57209ac9faf59552009-07-18grischka <grischka>win64: align jmp_buf
57306aed3d171832009-07-18grischka <grischka>win64: update tiny_impdef, tiny_libmaker (Elf64)
574dc251a7d8d8b2009-07-18grischka <grischka>win64: use new headers from mingw
575c0fc0fa0c4272009-07-18grischka <grischka>win64: add x64 target to build-tcc.bat
576fc977d56c90b2009-07-18grischka <grischka>x86-64: chkstk, alloca
577bb5e0df79acb2009-07-18grischka <grischka>x86-64: fix load() for const pointers: (void*)-2
57897738d1ae9902009-07-18grischka <grischka>win32: reformat examples, crt etc
5799fda4f4248f22009-07-18grischka <grischka>win32: treat long double as double
5801df662c1b0942009-07-18grischka <grischka>tccpe: load dll on the fly
58194ae3984b0d42009-07-18grischka <grischka>tccpe: set tcc_lib_path from DLL
582c998985c74452009-07-18grischka <grischka>cleanup: constify some global data
583f88350b611ed2009-07-18grischka <grischka>fix some warning
584b08dfb8273f12009-07-18grischka <grischka>tcc: optionally build using libtcc
585697f9e305d8b2009-08-24grischka <grischka>win64: fix bat
5860d34c2136eb82009-07-14grischka <grischka>tccgen: free inline functions correctly
587d923e652f2ee2009-06-19grischka <grischka>tccpp: avoid double free with macro_ptr_allocated (after errors)
5881026ca5888112009-07-10grischka <grischka>fix "symbol not defined" if symbol has offset 0
589569c20f104f72009-07-23grischka <grischka>tccpp: fix quirk with cached headers and #else
590834b782a9c992009-07-23grischka <grischka>tccpe: fill checksum header field
5913a1380120d8c2009-07-18Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: change the type of size_t and ptrdiff_t.
5925dadff3de5532009-07-18Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>x86-64: Fix stab debug information.
593dd70d19267ac2009-05-25grischka <grischka>#define __TINYC__ = version-number
5945b113f3ee3bc2009-11-13grischka <grischka>win32: handle __declspec(dllimport)
595bc48cc1edb402009-10-07Daniel Glöckner <daniel-gl@gmx.net>fix sizeof(array + integer)
5962349efa61b5c2009-08-26Frederic Feret <tommy.planet@free.fr>add binary executable output support
5970d768b97130e2009-08-27Frederic Feret <tommy.planet@free.fr>added 16-bit x86 assembly support
598526c4645048f2009-08-27Frederic Feret <tommy.planet@free.fr>first support of x86_64 assembly
5992f73e42d871e2009-08-27Frederic Feret <tommy.planet@free.fr>various fixes and new options for PE format
600b7d7af4fa20f2009-08-27Frederic Feret <tommy.planet@free.fr>ARM: first support for arm-pe target
601ae23c46ce2792009-08-27Frederic Feret <tommy.planet@free.fr>fixed and added missing file for x86_64 assembly
6023065e706307e2009-09-01Frederic Feret <tommy.planet@free.fr>Fixed compilation error in i386-asm.c
6032fdb45f577002009-09-01Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>fix ambiguity
604c15e37edad602009-09-16Feret@.(none) <Feret@.(none)>Removed binary executable output support
6050a3bcb57f6262009-11-14grischka <grischka>fix 32bit asm
6061383055b17402009-11-14grischka <grischka>x86_64: fix asm
60750055880f9b12009-11-21grischka <grischka>asm 32/64: replace (long)sym->next by sym->jnext
608a26bf10de39b2009-11-21grischka <grischka>win64: Use tcc's own assembler
609a5279b2c059a2009-11-29grischka <grischka>tccpe: fclose FILE*
610679f0794f8e52009-11-30grischka <grischka>win32: explain usage of mingw w32api package
611720a32ede4a22009-12-01grischka <grischka>win32: remove #define alloca from mingw headers
61255cb2170cd5c2009-11-29Luigi Rizzo <rizzo>solve tccelf problem on FreeBSD
613d2e125186fb02009-09-01Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>improve handling of --help
614b573072300e42009-09-01Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>document -print-search-dirs
615c0620c8a00f72009-11-30bobbl <bobbl@gmx.de>avoid needless register save when storing structures
61656d6abdb3dfa2009-12-06grischka <grischka>tccgen: propagate alignment from typedef
617e500c9118a492009-12-06grischka <grischka>i386-asm: fix imul
618614790dc14b42009-12-15Christian Jullien <none>x86-64: Fix Wrong comparisonbetweenpointerandlongcste
619d79b867d55152009-12-17grischka <grischka>win64: adjust for two args with setjmp(buf,ctx)
620ab4a4ab25e472009-12-17grischka <grischka>x86-64: in gv(): ignore second register
621b5e22384836d2009-12-19grischka <grischka>tccasm: make VT_VOID symbols ST_NOTYPE, elf-wise
6221445fea5827a2009-12-19grischka <grischka>tccpe: allow linkage to extern symbols from asm
623dd3d4f7295f02009-12-19grischka <grischka>x86-64: fix udiv, add cqto instruction
624e81569bc70692009-12-19grischka <grischka>tcc: add "-Wl,-rpath=path" option (library search path)
6251308e8ebcfba2009-12-19grischka <grischka>integrate x86_64-asm.c into i386-asm.c
62694bf4d2c227e2009-12-19grischka <grischka>tccpe: improve dllimport
6273020a4765d6d2009-12-19grischka <grischka>tccpe: with -l try also with "lib" prefix
62841e112360f772009-12-19grischka <grischka>fix uninitialized warnings with 'type.ref'
6293db219477a632009-12-19grischka <grischka>tccrun: new file
6308bbde91f62292009-12-19grischka <grischka>tcc_relocate: revert to 0.9.24 behavior
6317fa712e00c522009-12-19grischka <grischka>win32: enable bounds checker & exception handler
63288a3ccab9f3c2009-12-20grischka <grischka>allow tcc be build from separate objects
63350b040ef83252009-12-19grischka <grischka>win64: add tiny unwind data for setjmp/longjmp
6344a01eb09d8202009-12-19grischka <grischka>use vpushv in some places
635cda8c41ef3d12009-12-19grischka <grischka>win32: add size_t to _mingw.h
6360e5c0ee045272009-12-18grischka <grischka>x86-64: use r8,r9 as load/store registers
637070b86a870f82009-12-20grischka <grischka>x86-64: use r8/r9 as generic integer registers
638b54862406e182009-12-20grischka <grischka>x86-64: fix gtst, back to only 5 regs for now
6390de95730ad292009-12-20grischka <grischka>build from multiple objects: fix other targets
640903b6001e7c02009-12-20grischka <grischka>update Makefiles
641bdb9387a74942010-01-14grischka <grischka>win32: readme: add libtcc_test example
6422341ee5142c12010-01-14grischka <grischka>tccpe: improve dllimport/export and use for tcc_add_symbol
6435299142286b42010-01-14grischka <grischka>x86-64: use uplong for symbol values
644b0abcfde9d452010-01-14grischka <grischka>win32: cleanup include
645e20bf69ac5ad2010-01-14grischka <grischka>win64: defined size_t and ptrdiff_t to unsigned long long
646280e20b1d3a62010-01-14grischka <grischka>tccpp: warn about #define redefinition
6474e5170d4a59a2010-01-14grischka <grischka>tccpp: convert TOK_GET macro into function
648a40814cc9d7a2010-01-14grischka <grischka>tccpp: signal missing #endif error
6493aa26a794e242010-01-26grischka <grischka>win32: adjust for mingw32 winapi packages
6505caf6235cf762010-01-26Detlef Riekenberg <wine.dev@web.de>Makefile: Delete tcc-doc.html during 'make distclean'
6512650584ac4fd2010-01-26Detlef Riekenberg <wine.dev@web.de>Recognize -Wl,-Bsymbolic
652a975008ae7952010-01-26Detlef Riekenberg <wine.dev@web.de>Add support for the __mode__ attribute
65362ba135228ed2010-01-26Detlef Riekenberg <wine.dev@web.de>Add support for --help
654900871ca8daf2010-01-26Detlef Riekenberg <wine.dev@web.de>Dump the current token in skip(), when it's not the expected token
655253bad7993822010-01-28Nikos Mavrogiannopoulos <nmav@gnutls.org>Added patch to detect and use the paths for 64bit libraries as used by CentOS (affects X86_64 only).
656b9aeac0a64f12010-02-01Alexandre Becoulet <diaxen@ganymede.localdomain>Fixed bug which prevent tcc preprocessor to ignore line number directives
657d63ec6f20dc72010-02-04Ali Gholami Rudi <ali@rudi.ir>fill got table for static linking
65895b9a477b6742010-02-27Manuel Simoni <msimoni@gmail.com>weak function symbols
6594d05a6319d072010-03-15Daniel Glöckner <daniel-gl@gmx.net>Catch array[index] with unknown sizeof(*array)
66095bc36a149162010-03-30Detlef Riekenberg <tcc.dev@web.de>tccpp: Add missing bracket in an error message
66127bcc8f583fc2010-04-03unknown <TimoL@.(none)>tinylibmaker: On error situation tempfile was not removed
662d3c432244c002010-04-03U-UNIT1\dennis <dennis@UNIT1.(none)>generate inc and dec for smaller code
663197a6acb30942010-04-04Timo VJ Lähde <timovj.lahde@gmail.com>Avoid a crash with weak symbols for "make test"
6649ff7a0bc98862010-04-05Detlef Riekenberg <tcc.dev@web.de>tccasm: Detect (but ignore) the .file directive
665f740485a5ab22010-04-05Detlef Riekenberg <tcc.dev@web.de>tccpp: Allow local labels to start with a dot
6666825c5db72042010-04-05Detlef Riekenberg <tcc.dev@web.de>tccasm: Support .type directive (only name,@function)
667558258a301292010-04-05Detlef Riekenberg <tcc.dev@web.de>tccasm: Detect (but ignore) .size directive
668a135dd50c65f2010-04-05Detlef Riekenberg <tcc.dev@web.de>tccasm: Detect (but ignore) .ident directive
66978e83d8761af2010-04-05Detlef Riekenberg <tcc.dev@web.de>libtcc: Allow multiple options for -Wl separated with ','
67087574de8ed4a2010-04-05Detlef Riekenberg <tcc.dev@web.de>libtcc: Support -soname for the linker
67134dabe496f362010-04-05Detlef Riekenberg <tcc.dev@web.de>libtcc: Detect (but ignore) -init and -fini for -Wl
672264a103610e32010-04-05Detlef Riekenberg <tcc.dev@web.de>tccgen: Detect (but ignore) function redirection
673a3b932b3f9482010-04-06Detlef Riekenberg <tcc.dev@web.de>tccgen: Fix broken use of ATTR_MODE
674e6f43dd0c6692010-04-12grischka <grischka>win32: sys/timeb.h use _ftime instead of _ftime32
675d2cf970a414e2010-04-13grischka <grischka>tccelf: fix warning
6766655e06ec8512010-03-13Romain Francoise <rfrancoise@debian.org>Error out on bad char array initialization
6778de9b7a6314a2010-04-10Thomas Preud'homme <thomas.preudhomme@celest.fr>Correctly support all unary expression with sizeof
6786d4166df61ad2010-04-15Thomas Preud'homme <thomas.preudhomme@celest.fr>Don't prefix $prefix with $(DESTDIR) in configure
67947abdbd3d52a2010-03-30Thomas Preud'homme <thomas.preudhomme@celest.fr>Better handle ld scripts
680e9406c09a3212010-04-13Thomas Preud'homme <thomas.preudhomme@celest.fr>Complain for static fct declared w/o file scope
681e4ed4e7f4f662010-04-18Thomas Preud'homme <thomas.preudhomme@celest.fr>Support more arm EABI compatible architectures
68283b0bd3095ac2010-04-19Sergei Trofimovich <st@anti-virus.by>libtcc.c: fix compilation failure (inconsistent tcc_add_file_internal)
6832cb1fd6a10792010-04-19Timo VJ Lahde <timovj.lahde@gmail.com>PE ARM: jump IAT arm code
684809f489662582010-04-19Timo VJ Lahde <timovj.lahde@gmail.com>WinCE PE subsystem
6853ad3168125ec2010-04-20Thomas Preud'homme <thomas.preudhomme@celest.fr>Clean changes introduced by 47abdbd
6864d5fcfb9718d2010-04-20Thomas Preud'homme <thomas.preudhomme@celest.fr>Delete unused vtop_saved variable in unary_type
6876525a15919dd2010-04-20Thomas Preud'homme <thomas.preudhomme@celest.fr>Fix "already done" test in libname_to_filename()
688a64a6f36a04f2010-04-20Thomas Preud'homme <thomas.preudhomme@celest.fr>Replace malloc+strcpy by tcc_strdup in ld_load_file_list
689be7e339d8a2f2010-04-21Henry Kroll III <henry@comptune.com>Use mmap instead of exec mem for Selinux machines. Fixes crash on Fedora.
6904686236091d82010-04-24Henry Kroll III <henry@comptune.com>i386-win32-tcc fails to build a valid win32 executable if built on x86_64 using --enable-cross. The easiest way to fix this is to put -m32 in the Makefile.
6911578322b06492010-04-24Henry Kroll III <henry@comptune.com>fix typo in configure
692a4ed587f61042010-04-24Henry Kroll III <henry@comptune.com>add --disable-static option to build libtcc.so instead of libtcc.a for distros that want static libs
6932ab42855cb2e2010-04-24Henry Kroll III <henry@comptune.com>make --with-selinux work with libtcc, too
694b0b29d8013a02010-04-24Henry Kroll III <henry@comptune.com>put tcc in /usr/lib64/tcc on distros that have it
69580b4c698c24e2010-04-24Henry Kroll III <henry@comptune.com>make win32 version of libtcc1.a for cross-compiler on x86 / x86_64
696eb78e94300662010-04-25Henry Kroll III <henry@comptune.com>reverse make win32 version of libtcc1.a patch
697239fdf0b87de2010-04-25Henry Kroll III <henry@comptune.com>remove make_libtcc1_win32.sh shell script and merge commands into Makefile
6981a8e7d9fbb532010-04-25Henry Kroll III <henry@comptune.com>Merge branch 'mob' of ssh://repo.or.cz/srv/git/tinycc into makefile
69907eb8506089c2010-04-25Henry Kroll III <henry@comptune.com>make --enable-cross work properly on x86_64 merge more changes from Fedora spec file into Makefile I did a lot of reading on Makefiles. It should be a lot less hacked now that I got rid of my temporary cross-build script. I had to build i386-win32-tcc as 32 bit in order to use it to build the windows version of libtcc1.a and move that into lib directory. Still testing, but it does build windows fib.exe smoothly now and generates shard lib, libtcc.so.1.0 and test links against it.
700765992396f2d2010-04-25Henry Kroll III <henry@comptune.com>Makefile fixup: * additional make target for lib/tcc1.def on non-win32 builds tcc1.def was formerly lib/libtcc1.a but has bee made into its own Makefile target, tcc1.def
701ac0b7d82d8a32010-04-26Henry Kroll III <henry@comptune.com>don't build tcc1.def on Windows. I think the Windows build portion of the Makefile already provides their own version. If not, we can remove the check.
702209caeedeee12010-04-27Henry Kroll III <henry@comptune.com>Summary of commits + added some brief comments to Makefile
703c7a4e11bf1482010-04-28Henry Kroll III <henry@comptune.com>remove superfluous LIBS=. (leftover from work on --disable-statc)
7041f62f2253c9a2010-04-30Henry Kroll III <henry@comptune.com>recursive Makefiles should use $(MAKE), not "make" add clean: target for lib/tcc1.def
705036ff17916582010-04-30Henry Kroll III <henry@comptune.com>reverse another unnecessary change -m32 is set elsewhere now.
706a28b18fa16ed2010-04-25Thomas Preud'homme <thomas.preudhomme@celest.fr>Link alias symbols together
7072220467fcf272010-04-27Thomas Preud'homme <thomas.preudhomme@celest.fr>Don't load libtcc1 on arch where it doesn't exist
7088eb86ab78d192010-05-06Thomas Preud'homme <thomas.preudhomme@celest.fr>Add nan, snan and inf float constants
7096eac6b7254ad2010-05-06Daniel Glöckner <daniel-gl@gmx.net>Revert "tccpp: Allow local labels to start with a dot"
7103de023b6c6522010-05-13Daniel Glöckner <daniel-gl@gmx.net>ARM: use uint32_t for opcodes
711a64727ba7d752010-05-13Daniel Glöckner <daniel-gl@gmx.net>append ULL to big constants
712741841d863be2010-05-14Daniel Glöckner <daniel-gl@gmx.net>ARM: allow jumps > 32MB on -run
71320a1cba286eb2010-05-14Daniel Glöckner <daniel-gl@gmx.net>ARM: implement rt_get_caller_pc
714128e46f91bc02010-05-14Daniel Glöckner <daniel-gl@gmx.net>ARM: add support for R_ARM_V4BX
715a867f42597742010-05-14Daniel Glöckner <daniel-gl@gmx.net>don't discard SHT_((PRE)INIT|FINI)_ARRAY sections
716dc265feb63c72010-05-26Thomas Preud'homme <thomas.preudhomme@celest.fr>Fix bashims in configure and gcctestsuite.sh.
7176709933d78d82010-06-11yuanbin <yuanbin0@gmail.com>tccgen: initial last member of union
718dd72577759f12010-06-11yuanbin <Administrator@yuan.(none)>tccgen: initial the last member of union
719de7a214c173c2010-06-12Kirill Smelkov <kirr@landau.phys.spbu.ru>.cvsignore -> .gitignore
7205344b2e73bd22010-06-12Kirill Smelkov <kirr@landau.phys.spbu.ru>.gitignore += *.o *.a
721d6ce75b4d6622010-06-12yuanbin <Administrator@yuan.(none)>tccgen.c: skip fields from same union
722952e83e0cabb2010-06-12yuanbin <Administrator@yuan.(none)>tccgen: skip fields from same union
723d351384fdcbd2010-06-13yuanbin <Administrator@yuan.(none)>tccgen: skip ')' in front of ',' for initializer
7245fcd1fef1cd72010-06-15grischka <grischka>Fix last commits: remove CRLF, chmod 644 tccgen.c
72510b48028690d2010-06-15grischka <grischka>Fix "Fix bashims in configure ..." for MSYS
726632ee5a540762010-06-15grischka <grischka>Revert "Complain for static fct declared w/o file scope"
72787db8b637e3f2010-06-16Kirill Smelkov <kirr@landau.phys.spbu.ru>chmod a-x i386-gen.c
72866b54af8ea8a2010-06-16Kirill Smelkov <kirr@landau.phys.spbu.ru>tcc: Fix typo in error (it's '%s', not '%s)
729a919a373da072010-06-20Kirill Smelkov <kirr@mns.spb.ru>Add input files/libs and reloc_output switch to TCCState
730bdae4a59c3a72010-06-16Kirill Smelkov <kirr@landau.phys.spbu.ru>tcc: Refactor "compute default outfile name" into libtcc function
731433ecdfc9d142010-06-21Claudio Bley <b_l_e_y@ml1.net>implemented C99 for loop with variable declaration
7323ba37e1e3f1d2010-06-21grischka <grischka>tccgen: Revert yuanbin's recent patches
7330c928da96d5f2010-06-20Kirill Smelkov <kirr@mns.spb.ru>tcc: Draft suppoprt for -MD/-MF options
7341203348302312010-06-20Kirill Smelkov <kirr@mns.spb.ru>tcc -E: Let output_default be <file>.o instead of a.out
735441a089aa4942010-06-20Kirill Smelkov <kirr@mns.spb.ru>Document what tcc_fileextension does
73693de8d8038762010-06-20Kirill Smelkov <kirr@mns.spb.ru>tcc: Explicitly require -l<lib> for libraries
7372fe5210a33552010-06-20Kirill Smelkov <kirr@mns.spb.ru>.gitignore += tags
7389775aea1ab632010-06-21Kirill Smelkov <kirr@mns.spb.ru>Merge branch 'kirr/tcc-MD' into mob
73927988c5e66482010-06-22Thomas Preud'homme <thomas.preudhomme@celest.fr>Use mktemp to generate temp files.
7405e6fabefd7ae2010-06-23Thomas Preud'homme <thomas.preudhomme@celest.fr>Revert "Use mktemp to generate temp files."
74182c5edb31cd02010-06-30grischka <grischka>Avoid crash with "Avoid a crash with weak symbols for "make test""
742bcc9137a10042010-06-24Thomas Preud'homme <thomas.preudhomme@celest.fr>Add support for indirect functions as externals.
7437901d1e3ad192010-08-12Kirill Smelkov <kirr@landau.phys.spbu.ru>tcc_set_linker: mimic all option forms as supported by GNU ld
7444ab4efd3a69e2010-08-21grischka <grischka>Revert "implemented C99 for loop with variable declaration"
7451f6781f0eebc2010-08-26Shinichiro Hamaji <shinichiro.hamaji@gmail.com>Fix alignment around struct for SSE.
7469d347f87426a2010-08-26Shinichiro Hamaji <shinichiro.hamaji@gmail.com>Probably wrong stack alignment for struct on Win64
747c31dc7aa0c362010-08-30Shinichiro Hamaji <shinichiro.hamaji@gmail.com>Fix casts from 32bit integer types to 64bit integer types.
748a7fb00e887a22010-09-08grischka <grischka>tccmain: simplify option help
7499b09fc376e8c2010-09-05Thomas Preud'homme <thomas.preudhomme@celest.fr>Add support of asm label for functions.
7502887f40f760b2010-09-10Thomas Preud'homme <thomas.preudhomme@celest.fr>Add support for GNU/Hurd
751776364f395d72010-09-10Thomas Preud'homme <thomas.preudhomme@celest.fr>Add support for __FreeBSD_kernel__ kernel
75236f74e46b47a2010-09-10Thomas Preud'homme <thomas.preudhomme@celest.fr>Add missing dircategory and direntry to texi file
7533f829d11ff232010-09-10Thomas Preud'homme <thomas.preudhomme@celest.fr>Add info file creation into tcc build process
7542596273fce522010-09-11Thomas Preud'homme <thomas.preudhomme@celest.fr>Add support for __REDIRECT_NTH needed with eglibc.
755b8adf0090e982010-09-14Thomas Preud'homme <thomas.preudhomme@celest.fr>Move asm label functions from tccasm.c to tccgen.c
756872cc430c0662010-09-21Sergei Trofimovich <st@anti-virus.by>info doc: fix --infodir to respect DESTDIR for 'make install'
757c1c4040d75212010-10-07Thomas Preud'homme <thomas.preudhomme@celest.fr>Explicit license in tiny_libmaker.c
758036d94112d4f2010-10-10Thomas Preud'homme <thomas.preudhomme@celest.fr>Remove ifdef STT_GNU_IFUNC test in tccrun.c
7599228842fa7512010-10-19grischka <grischka>win32: register SEH in startup code (i386 only)
76014673d0c49152010-10-25Ben Bacarisse <software@bsb.me.uk>Fix binding of assignment expressions.
761fb498eb9257f2010-10-27Henry Kroll III <henry@comptune.com>selinux: correct ftruncate, fix bus error in tcc -run
762c635976cd7b42010-10-29Henry Kroll III <henry@comptune.com>Force gcc for x86_64 --enable-cross
76324d6a93f446e2010-10-29Henry Kroll III <henry@comptune.com>Makefile: cross-copiler tcc1.def is now libtcc1.a, ignore mv errors
764e250ffb319be2010-10-29Henry K <henry@desk.local>Makefile: edit comments
765f0afec709eff2010-11-06Henry Kroll III <henry@comptune.com>Makefile: x86_64 win32-cross add clean: target
7669036c18170ce2010-11-25Henry Kroll III <henry@comptune.com>tcc: Linux -pthread option sets -D_REENTRANT and -lpthread
767f1c9f649da5b2010-11-25Henry Kroll III <henry@comptune.com>x86_64: fix --with-libgcc and simplify biarch paths
768e97bf88badfd2010-11-25grischka <grischka>libtcc: new function tcc_open_bf to create BufferedFile
76944e84bb22adc2010-11-25grischka <grischka>tccpp: fix token pasting ##
77077e4679aec712010-11-25Henry Kroll III <henry@comptune.com>x86_64: finish biarch path fixup
771c4eef48025d82010-11-26grischka <grischka>libtcc: fix s->include_stack_ptr used uninitialized in tcc_open
7729bd69bf49fb32010-11-26grischka <grischka>build: remove #include "config.h" from target dependent files
773f332bb3bcad22010-11-27grischka <grischka>tccpe: typedef unsigned int DWORD for cross compilers.
7743d35b6b36d6f2010-11-28Henry Kroll III <henry@comptune.com>Makefile: --enable-cross on x86_64 simplified
7759a986f374e062010-11-28Henry Kroll III <henry@comptune.com>configure: allow changing installation directory
776ddea94daea752010-11-29Henry Kroll III <henry@comptune.com>Makefile: TCC=tcc
77748a2a8dabd142010-11-30Henry Kroll III <henry@comptune.com>Remove unnecessary $(PROGS_CROSS) from non-cross builds.
7787b18df138d672010-11-30Henry Kroll III <henry@comptune.com>Makefile: build --config-cross libtcc1.a directly to win32/lib
77952b75c5fa0f02010-11-30Henry Kroll III <henry@comptune.com>Makefile: Put i386-win32-tcc back into --enable-cross install
7808185070841922010-11-30Henry Kroll III <henry@comptune.com>Makefile: Add .PHONY targets
7810d38e3b663482010-11-30Henry Kroll III <henry@comptune.com>make CC=tcc install: fixes strip:tcc: File format not recognized
7829e406656c7392010-11-30Henry Kroll III <henry@comptune.com>tcc.c: skip -lpthread when -c option specified
783c1a437add7942010-11-30Henry Kroll III <henry@comptune.com>tccpe.c: Makefile: --enable-cross win64 cross library build
784b7d89ff822812010-11-30Henry Kroll III <henry@comptune.com>Makefile: fix Linux cross install, cleanup
78593ef24e6feaa2010-12-01Henry Kroll III <henry@comptune.com>Makefile: fix typo and resulting workaround
786165d1366146f2010-12-01Henry Kroll III <henry@comptune.com>Makefile: cleanup leftovers on cross build. really works now
78703b23994f1902010-12-01Henry Kroll III <henry@comptune.com>tccpe.c: fallback to libtcc1.a for other targets (ARM)
788a2779556b49c2010-12-02Henry Kroll III <henry@comptune.com>split cross libtcc1.a to separate directories
7892215567d7aa62010-12-02Henry Kroll III <henry@comptune.com>Makefile: fix clean target, bcheck, add comments
790c5d3ce684a4d2010-12-02Henry Kroll III <henry@comptune.com>Changelog: document some of the recent changes
79194e72b16e7d12010-12-03Henry Kroll III <henry@comptune.com>Add --enable-cygwin option to build on windows with cygwin+mingw32
7923b8b290a45692010-12-03Henry Kroll III <henry@comptune.com>make cross compilers an expert option in configure --help
7932ce9a0e2fe102010-12-03Henry Kroll III <henry@comptune.com>needs lib path on bcheck.o fixes undefined symbol '__try__'
79486ffc48129522010-12-04grischka <grischka>make: new lib/Makefile for libtcc1.a on more platforms
79521c2a68aa0f72010-12-04grischka <grischka>tccelf/tcccoff: fix some type conversion warnings
79669fe7585a2d12010-12-04grischka <grischka>tiny_libmaker: strip leading directory to avoid buffer overrun
797eb550ed23baa2010-12-05Henry Kroll III <henry@comptune.com>tcc: add option -s for gcc compatibility (ignored)
79850ff5ed790d22010-12-05Henry Kroll III <henry@comptune.com>make: cross compilers exist before using them (fixes parallel make)
7991c821373ad382010-12-05Henry Kroll III <henry@comptune.com>make: i386/libtcc1.a for i386-tcc (x86_64 to i386 cross)
80033f86ada92cd2010-12-05Henry Kroll III <henry@comptune.com>trim unnecessary bits from my previous 3 commits
801f2d7998a967e2010-12-06Shinichiro Hamaji <shinichiro.hamaji@gmail.com>Copy tcclib.h to tests directory so GCC uses its own headers.
802bb7bb37fe2eb2010-12-07Henry Kroll III <henry@comptune.com>tcc: add -m32 option to x86_64 cross compilers
80310a08a372ff32010-12-07Henry Kroll III <henry@comptune.com>Merge branch 'mob' of git://repo.or.cz/tinycc into kroll
804f3d3ab5a69472010-12-07Henry Kroll III <henry@comptune.com>tcc: move undef out of if block
805b3be007afa462010-12-08Henry Kroll III <henry@comptune.com>tcc: fix -m32 and add -m64 option
806ffb9fcc5a24e2010-12-08Henry Kroll III <henry@comptune.com>tcc: oops, error handler does not accept format strings
807c6f5d819af912010-12-08Henry Kroll III <henry@comptune.com>tcc: fix format string in error handler
8088f98573658092010-12-13Henry Kroll III <henry@comptune.com>tcc: -m32 prefix "win32-" when file extension is present
809d16722481f8f2010-12-20Henry Kroll III <henry@comptune.com>tcc: add unsupported option -pedantic
8103b3a7cc8ba332010-12-20Henry Kroll III <henry@comptune.com>configure: improvements to option --tccdir
81190355c78ed512010-12-20Henry Kroll III <henry@comptune.com>configure: add --disable-rpath option (Fedora)
81273cb4392ab372010-12-20Henry Kroll III <henry@comptune.com>make: fix install with CC=tcc and potential link problem
81344f7055a04862010-12-21Henry Kroll III <henry@comptune.com>make: fix cannot find -ltcc with --disable-rpath
814f449f98dec922010-12-22Henry Kroll III <henry@comptune.com>configure: --sharedir documentation root
81548e325df3cad2010-12-23Henry Kroll III <henry@comptune.com>configure: --sharedir defaults to /usr/local/share
8160ae39f1957c92010-12-28Shinichiro Hamaji <shinichiro.hamaji@gmail.com>Handle r_addend and R_X86_64_PLT32 properly.
817d457addfc3ad2010-12-28Shinichiro Hamaji <shinichiro.hamaji@gmail.com>Fix for the previous commit.
81845e1ae28963b2010-12-28Shinichiro Hamaji <shinichiro.hamaji@gmail.com>One more fix for tcc -run
81983f0a7b6f89d2010-12-28Shinichiro Hamaji <shinichiro.hamaji@gmail.com>Test va_copy in tcctest.c
82007fd82b4113c2010-12-28Shinichiro Hamaji <shinichiro.hamaji@gmail.com>Make alignments for struct arguments 8 bytes
8210ed7ba3f5e792010-12-28Shinichiro Hamaji <shinichiro.hamaji@gmail.com>Support struct arguments with stdarg.h
822288831854b4a2011-01-04Sergei Trofimovich <st@anti-virus.by>Makefile: respect LDFLAGS (set via --extra-ldflags=)
823d97a25fbdd802011-01-04Sergei Trofimovich <st@anti-virus.by>lib/alloca*: mark ELF stack access flags as nonexecutable
8240a50e6c933cb2011-01-04Sergei Trofimovich <st@anti-virus.by>tcc.c: fix an error when you build an object file with '-pthread' key set
825f43fafc680712011-01-20Joe Soroka <gits@joesoroka.com>accept multiple comma separated symbols for .globl/.global directives, like gas does
8262047f88334f32011-01-21Joe Soroka <gits@joesoroka.com>i386-asm: accept retl as a synonym for ret
8276839382480b82011-01-24Joe Soroka <gits@joesoroka.com>asmtest: avoid testing against complex nop alignment in gas
8284d5105c8f1ff2011-02-01Joe Soroka <gits@joesoroka.com>support weak attribute on variables
829c59d3426b8062011-02-01Joe Soroka <gits@joesoroka.com>tccasm: support .weak labels
830cf08675702042011-02-01Joe Soroka <gits@joesoroka.com>weak definitions overrule non-weak prototypes
83175c6695932b52011-02-01Joe Soroka <gits@joesoroka.com>tccpp: fix bug in handling of recursive macros
832a25325e9be132011-02-01Joe Soroka <gits@joesoroka.com>tccasm: define __ASSEMBLER__ for .S files, like gcc does
83387d84b7cb8b42011-02-01Joe Soroka <gits@joesoroka.com>tccasm: allow one-line prefix+op things like "rep stosb"
83447b4cf22cda42011-02-01Joe Soroka <gits@joesoroka.com>tccasm: accept "fmul/fadd st(0),st(n)" (dietlibc ipow/atanh)
8350d9376da70d92011-02-01Joe Soroka <gits@joesoroka.com>tccasm: accept bracketed offset expressions
836b88677454b292011-02-02Joe Soroka <gits@joesoroka.com>tcctest: plugged memleak (was polluting valgrind reports)
837e939c4072cee2011-02-02Joe Soroka <gits@joesoroka.com>add -isystem cmdline option
838db6fcce78f4d2011-02-02Joe Soroka <gits@joesoroka.com>tcc: add sysinclude path with -B, like gcc does
839d35a3ac375472011-02-04Thomas Preud'homme <thomas.preudhomme@celest.fr>Correct Changelog wrt. to fix attribution
840a5a50eaafeea2011-01-15Thomas Preud'homme <thomas.preudhomme@celest.fr>Implement C99 Variable Length Arrays
8417f00523e2e192011-02-01Thomas Preud'homme <thomas.preudhomme@celest.fr>Reorder increasingly VT_* constants in tcc.h
842af26ac56bfc52011-02-04Thomas Preud'homme <thomas.preudhomme@celest.fr>Make TOK_alloca available for x86-64
843e3e5d4ad7a472011-02-04Thomas Preud'homme <thomas.preudhomme@celest.fr>Disable C99 VLA when alloca is unavailable.
8442775173d4db92011-01-20grischka <grischka>fix crash with get_tok_str() in skip()
845b0c50fbd4d9e2011-02-04Joe Soroka <gits@joesoroka.com>update VT_STRUCT_SHIFT for new VT_VLA
8464b8470f3ae852011-02-05Thomas Preud'homme <thomas.preudhomme@celest.fr>Revert "Disable C99 VLA when alloca is unavailable."
847c1b7267a2fbd2011-02-05Thomas Preud'homme <thomas.preudhomme@celest.fr>Revert "Make TOK_alloca available for x86-64"
84838f6467c06592011-02-05Thomas Preud'homme <thomas.preudhomme@celest.fr>Revert "Reorder increasingly VT_* constants in tcc.h"
849db560e9439de2011-02-05Thomas Preud'homme <thomas.preudhomme@celest.fr>Revert "Implement C99 Variable Length Arrays"
8503b4b3b75a6be2011-02-05Joe Soroka <gits@joesoroka.com>revert "update VT_STRUCT_SHIFT for new VT_VLA"
851cf36410e30b32010-04-13Thomas Preud'homme <thomas.preudhomme@celest.fr>Complain for static fct declared w/o file scope
852c23400278ad72011-02-07Thomas Preud'homme <thomas.preudhomme@celest.fr>Fix incorrect use of basic type as bitflags.
85332a682b88feb2011-02-07Thomas Preud'homme <thomas.preudhomme@celest.fr>Fix fct asm label: only valid for declaration
85411b2d33523d82011-02-07Thomas Preud'homme <thomas.preudhomme@celest.fr>Add support of asm label for variables.
855a3ebdd0aeb832011-02-13grischka <grischka>tccpe: support leading underscore for symbols
856dbefae52b07c2011-02-22Jaroslav Kysela <perex@perex.cz>Fix complex static initializers (handle additional '}' and '{' brackets)
857ab73c9bc4ef82011-02-22Jaroslav Kysela <perex@perex.cz>fix another static struct init issue (arrays with unknown size at end)
85885642f887cc22011-02-22Jaroslav Kysela <perex@perex.cz>fix warning for tcctest.c introduced with my last commit
85915b8a57096552011-02-23Joe Soroka <gits@joesoroka.com>tccpp: treat gas comments in .S files as raw text, not tokens
860bec84fa00a4c2011-02-24Joe Soroka <gits@joesoroka.com>tccasm: support alternate .type syntaxes
8611b85b55059612011-02-24Joe Soroka <gits@joesoroka.com>i386-asm: support "pause" opcode
862185fba4189782011-02-27Changming Xu <xcmhit@gmail.com>tcc -E: append a ' ' after subst
863684723488d092011-03-01Changming Xu <xcmhit@gmail.com>Replace comment by a blank
864823f832630122011-03-02Joe Soroka <gits@joesoroka.com>tcc: fix weak attribute handling
8653beb383236242011-03-03Joe Soroka <gits@joesoroka.com>handle post-asm-label attributes on variables
866ce8c1886a5982011-03-03Joe Soroka <gits@joesoroka.com>collapse branch in decl(), making way for next patch
867c93eca4fe4902011-03-03Joe Soroka <gits@joesoroka.com>tccgen: handle __attribute((alias("target")))
868c27e76aa2aa62011-03-03Changming Xu <xcmhit@gmail.com>unlink outfile first
8695d55647a3cbc2011-03-06grischka <grischka>tccpp: fix problem in preprocess_skip with empty #
87038cbb40e904f2011-03-07Joe Soroka <gits@joesoroka.com>__typeof(t) should not include storage modifiers of t
8710f0c2d9c02d32011-03-07Joe Soroka <gits@joesoroka.com>weak redefinition of a symbol should weaken the original
8728bcb2ae1b2622011-03-07Joe Soroka <gits@joesoroka.com>factor out symbol weakening into new function
8734fbe3cda330e2011-03-07Joe Soroka <gits@joesoroka.com>use new weaken_symbol() to fix another real-world corner case
874e23194a1fa2c2011-03-07Joe Soroka <gits@joesoroka.com>support c99 for-loop init decls
875585027aa96362011-03-07Joe Soroka <gits@joesoroka.com>tccelf: allow multiply defined weak symbols
876772b302187c92011-03-08Joe Soroka <gits@joesoroka.com>added a note clarifying post_type() recursion
87789059f94c08b2011-03-08Joe Soroka <gits@joesoroka.com>refactor post_type() to be explicit about its recursion
878545a37b306c32011-03-08Joe Soroka <gits@joesoroka.com>some indentation made prev patch pretty; removed it
8792d292e69a1d12011-03-08Joe Soroka <gits@joesoroka.com>small change to previous whitespace-only commit
880b3a8eed49e0f2011-03-08Joe Soroka <gits@joesoroka.com>revert last 3 commits. will find better way.
8817fc2eee55c0a2011-03-08Joe Soroka <gits@joesoroka.com>partially revert e23194a
8825eb82755db1e2011-03-08Joe Soroka <gits@joesoroka.com>support c99 for-loop init decls (2nd attempt)
88331fe1cc62b302011-03-08Joe Soroka <gits@joesoroka.com>clarify support for functions returning an array
88491163f167e082011-03-08Joe Soroka <gits@joesoroka.com>revert last commit. fails "make test"
8859ff91d4c6f6b2011-03-08Joe Soroka <gits@joesoroka.com>clarify support for functions returning an array (try#2)
8860b8aa909a39e2011-03-08Joe Soroka <gits@joesoroka.com>fix c99 for-loop init decl scope (thanks: grischka)
8874062d787daf12011-03-19Joe Soroka <gits@joesoroka.com>sizeof(struct with "flexible array member") is wrong
88806a7c415a9072011-03-19Joe Soroka <gits@joesoroka.com>revert complicated & broken flexible array member handling
88917571298f30b2011-03-19Joe Soroka <gits@joesoroka.com>handle c99 flexible array members less hackily
890ace0f7f2598f2011-04-06Joe Soroka <gits@joesoroka.com>re-apply VLA by Thomas Preud'homme
891810aca9e68482011-04-06Joe Soroka <gits@joesoroka.com>clarify post_type() VT_STORAGE handling by moving it out
892c94f80502e0b2011-04-06Joe Soroka <gits@joesoroka.com>VLA bcheck works via bound alloca; add test, remove warning
8936eb97c70b7042011-04-08Joe Soroka <gits@joesoroka.com>VLA leaks vstack. added warning to detect future leaks
894b714af0405e72011-04-08Joe Soroka <gits@joesoroka.com>add naive workaround for VLA vstack leak
895174d61a56e0b2011-04-08Joe Soroka <gits@joesoroka.com>move a comment to its correct location
896cb2fa5eab9202011-04-08Joe Soroka <gits@joesoroka.com>VLA fix [1/3]: added testcase demonstrating VLA bug
8977c7ca3c6aa092011-04-08Joe Soroka <gits@joesoroka.com>VLA fix [2/3]: removed VT_ARRAY from VT_VLA types
8981446b543ae542011-04-10Joe Soroka <gits@joesoroka.com>VLA fix [3/3]: store VLA sizeofs in anonymous runtime stack vars
899c85f77de70fc2011-04-10Joe Soroka <gits@joesoroka.com>prevent internal segfault on apparent VLA at file scope
9001b8c094f39892011-04-10Joe Soroka <gits@joesoroka.com>remove no-longer-necessary naive fix for vla vstack leak
9011b0f42f8ad542011-04-10Joe Soroka <gits@joesoroka.com>update documentation to reflect VLA changes
902812781cd11302011-04-12Joe Soroka <gits@joesoroka.com>simplify/rollback VLA pointer subtraction
90346e2dd7c32842011-04-12Joe Soroka <gits@joesoroka.com>tcctok.h: fix ifdef target/host confusion
9042b7a8eb8f56c2011-04-12Joe Soroka <gits@joesoroka.com>use of TOK_alloca breaks cross compiler build
90548d81a796e5b2011-04-14Joe Soroka <gits@joesoroka.com>libtcc.c: report vstack "leaks" only if compile succeeded
9067391cf01a7262011-05-02Joe Soroka <gits@joesoroka.com>fix spurious vstack-leak warnings on error
907921f002a6d2a2011-05-14Thomas Preud'homme <thomas.preudhomme@celest.fr>make clean work when LIBTCC1 not defined
908db9d5f0fa4dc2011-05-16Thomas Preud'homme <thomas.preudhomme@celest.fr>Improve weak aliases handling
909ee06ef9dd3942011-05-16Thomas Preud'homme <thomas.preudhomme@celest.fr>Remove unused variables
91066d992d883dd2011-05-16Thomas Preud'homme <robotux@armelhome.rsr.lip6.fr>Remove unused variables
9118123e334e94f2011-04-20Thomas Preud'homme <robotux@armelhome.rsr.lip6.fr>Support scratchbox, Nokia N900 and qemu arm archs
91228a5b702f4fc2011-05-17Daniel Glöckner <daniel-gl@gmx.net>Fix calling ARM EABI functions returning big structures
913c449ef2e1f732011-05-17grischka <grischka>tcc-doc: remove obsolete '-o option must also be given'
914eb152022a0352011-05-14Thomas Preud'homme <thomas.preudhomme@celest.fr>make test work when LIBTCC1 not defined
915330d2ee0faf22011-05-17Thomas Preud'homme <thomas.preudhomme@celest.fr>Update Changelog
9163511e6e2a8b02011-06-17Thomas Preud'homme <thomas.preudhomme@celest.fr>Default to create progs with symbols (incl. debug)
917cb2138f8b0982011-06-17Thomas Preud'homme <thomas.preudhomme@celest.fr>Make examples' shebang use target tcc bindir path
91831ca000d72bc2011-07-05Thomas Preud'homme <thomas.preudhomme@celest.fr>Add multiarch dirs to linker search path
91938de06e334f22011-07-05Thomas Preud'homme <thomas.preudhomme@celest.fr>Fix commit 31ca000d
920ca6ff4fadac82011-07-06Thomas Preud'homme <thomas.preudhomme@celest.fr>Free extra_libdir_str after use.
921a6775fc1544c2011-07-06Thomas Preud'homme <thomas.preudhomme@celest.fr>Introduce tcc_split_path_component for 31ca000d
9224d6a4a26e08e2011-07-07Thomas Preud'homme <thomas.preudhomme@celest.fr>Add configuration of include subdirectories
923571465d32bdb2011-07-07Thomas Preud'homme <thomas.preudhomme@celest.fr>Revert "Make examples' shebang use target tcc bindir path"
924a03346c06e502011-07-07Thomas Preud'homme <thomas.preudhomme@celest.fr>Document in README that ex4.c can be executed.
92527a428cd0fae2011-07-07Thomas Preud'homme <thomas.preudhomme@celest.fr>Make ex1.c and ex4.c be executable on any systems
926f8656fbc3c3f2011-07-07Thomas Preud'homme <thomas.preudhomme@celest.fr>Remove useless changes from 31ca000d in configure
927d01f65ef935d2011-07-08Joe Soroka <gits@joesoroka.com>fix end-of-scope for self-referential macros
92813121e220cb22011-07-08Thomas Preud'homme <thomas.preudhomme@celest.fr>Fix problem spotted in <4E15F966.4090102@gmx.de>
9295cf5871aafa02011-07-08Thomas Preud'homme <thomas.preudhomme@celest.fr>Use CONFIG_TCC_LDDIR for ld.so on all linux archs
93038756b506f992011-07-08Joe Soroka <gits@joesoroka.com>fix self-referential token pasting
931cd3d1a45f34b2011-07-11Joe Soroka <gits@joesoroka.com>better constant handling for expr_cond
932c71798c376902011-07-11Joe Soroka <gits@joesoroka.com>handle arrays with a flexible member but no initializer
933436c1a734ff82011-07-11Joe Soroka <gits@joesoroka.com>allow defining sysroot at compile-time
9347b573dc239a52011-07-11grischka <grischka>win32/include: enable _timezone etc variables.
93545184e01d80d2011-07-11grischka <grischka>win32: add -Wl,--stack=xxx switch
9364ccb5662cbfb2011-07-12Thomas Preud'homme <thomas.preudhomme@celest.fr>Fix array_test: move params to local vars
9375280293d6b162011-07-14grischka <grischka>make: create native tcc from separate objects
938232650f8b3a72010-09-15grischka <grischka>tccgen: reset aligned attribute for next type
939df4c0892f3fb2011-07-14grischka <grischka>tccrun: win64: add unwind function table for dynamic code
940af839938102f2010-09-15grischka <grischka>tccrun: improve rt_printline output format
941d59bd8be8e132010-09-15grischka <grischka>tccrun: rt_printline: fix no-stabs case
94208083ddb21412010-09-15grischka <grischka>tccrun: win32: improve rt_get_caller_pc
943d483ab322f792010-09-15grischka <grischka>tccrun: win32: improve exception handler
944aa80e5b1ff9a2011-07-14grischka <grischka>tccpe: cleanup ELFW() macros etc.
9458d107d9ffd812010-12-17grischka <grischka>win64: va_arg with structures
946adc80009c8cc2011-07-14grischka <grischka>elf.h: define SHF_MERGE etc.
947d7d8458888082011-07-16grischka <grischka>Revert "better constant handling for expr_cond"
9489b52e16a50e72011-07-22Joe Soroka <gits@joesoroka.com>re-added negative-array-size testcase and fixed fix for it
949339f961c115f2011-07-22Joe Soroka <gits@joesoroka.com>fixed Makefile test targets
950b2f5ee9b2de42011-07-30Thomas Preud'homme <thomas.preudhomme@celest.fr>Force const. expr. in expr_cond outside function
951626a9074512c2011-07-31Thomas Preud'homme <thomas.preudhomme@celest.fr>Revert "Force const. expr. in expr_cond outside function"
952df9cce24a8742011-07-31grischka <grischka>Accept colon separated paths with -L and -I
9535e954fef32ec2011-08-01Thomas Preud'homme <thomas.preudhomme@celest.fr>Set CONFIG_TCC_CRT_PREFIX relative to CONFIG_SYSROOT
95476adc5770f4a2011-08-01Thomas Preud'homme <thomas.preudhomme@celest.fr>Add a --multiarch-triplet switch to configure
9550b6652003cba2011-08-03Thomas Preud'homme <thomas.preudhomme@celest.fr>Revert "Add a --multiarch-triplet switch to configure"
9569ffd77f18d072011-08-05Thomas Preud'homme <thomas.preudhomme@celest.fr>Remove semicolon in x86-64 va_arg definition.
95781cd0cf6fdcb2011-08-06grischka <grischka>configure: add switches to set search paths
958f115c12346922011-08-06grischka <grischka>x86-64: fix flags and zero-pad long doubles
9595e5e29f8fd7f2011-08-06grischka <grischka>tcctest: switch weak_toolate proto with impl
96039a07cca58f52011-08-06grischka <grischka>tcc: fix -m32/64 & simplify
961e6f3bf7f08e42011-08-06grischka <grischka>libtcc: cleanup the 'gen_makedeps' stuff
962e844fb11c2522011-08-06grischka <grischka>libtcc: support more than one crtprefix
963fd0cea8895c32011-08-10Gabriel Corneanu <gabrielcorneanu@gmail.com>dll build + small adjustments
96474a24d77fd9c2011-08-11grischka <grischka>libtcc: minor adjustments
965bf374a5f23832011-08-11grischka <grischka>rename error/warning -> tcc_(error/warning)
966ab7ed48ee8c22010-06-22Daniel Glöckner <daniel-gl@gmx.net>Fix problem with PLT and GOT relocs on armel.
9672dd3fb103e9f2011-07-15Thomas Preud'homme <thomas.preudhomme@celest.fr>Don't define strtold and strtof on *BSD + uClibc
9685f99fe2ff11d2011-10-03Nicolas Limare <nicolas.limare@cmla.ens-cachan.fr>libtcc: add missing tcc_enable_debug()
96983d57c06f4062012-01-04Thomas Preud'homme <robotux@celest.fr>Fix linkage of named file in loader script.
970519a9040a16f2012-01-06Thomas Preud'homme <robotux@celest.fr>Compile tccasm.c conditionally (TCC_CONFIG_ASM)
9719c25ed13b42f2012-01-08Thomas Preud'homme <robotux@celest.fr>s/derefencing/dereferencing/ in i386-gen.c
9723ab269c56ac12012-01-22Thomas Preud'homme <robotux@celest.fr>Error out when assigning void value.
9739527c4949fd92012-01-23Daniel Glöckner <daniel-gl@gmx.net>i386: fix loading of LLOCAL floats
9748ca8b08890c22012-02-09Milutin Jovanovic <jovanovic.milutin@gmail.com>Patch attempting to build OSX TinyCC.
9756e13c35334202012-02-16Milutin Jovanovic <jovanovic.milutin@gmail.com>Attempt to fix 32 bit OSX build. The fix consists of adding -m32 and -m64 to the appropriate CFLAGS. In addition, memory hooks are very different on OSX, so build of bcheck.c had to be disabled for now.
976d7a7c3769d0a2012-02-27mob <mob>Multiple fixes for 64 bit sections
977e343b1dfd47e2012-02-12Ramsay Jones <ramsay@ramsay1.demon.co.uk>Add __REDIRECT needed for Large File Support API on linux
9785775911dadef2012-03-03Andrew Mulbrook <andrew262@gmail.com>Revert "Multiple fixes for 64 bit sections"
979a0db7162af0f2012-03-03Andrew Mulbrook <andrew262@gmail.com>Fix assumption of 32bit long on portions of Elf
980a35b3059bb0a2012-03-05grischka <grischka>tcc.h: define TCC_IS_NATIVE
981ae191c3a619d2012-03-05grischka <grischka>x86_64: fix loading of LLOCAL floats
982de54586d5b452012-03-06Milutin Jovanovic <jovanovic.milutin@gmail.com>Further changes improving the OSX build. Everything builds. libtest passes. Other tests still have issues, currently with weak linking.
9833d25213c16f92012-03-13Thomas Preud'homme <robotux@celest.fr>Inform user that -b only exists on i386.
98453c5715cca202012-03-14Thomas Preud'homme <robotux@celest.fr>Remove vnrott (duplicate vrotb)
9851736a71b71222012-03-14Thomas Preud'homme <robotux@celest.fr>Consider long int constant as 64 bits on x86-64
9867fb0482a46452012-03-14Thomas Preud'homme <robotux@celest.fr>Support linker options passed in several -Wl param
987c52d79605a3c2012-03-16unknown <wctam@.itedn32a.localdomain>fix mingw compliation
9882eee100c371a2012-03-16Thomas Preud'homme <robotux@celest.fr>Fix use after free for linker_arg
9891c11b857fe872012-03-18Thomas Preud'homme <robotux@celest.fr>Use CString to concat linker options
99016202e054f032012-04-10Thomas Preud'homme <robotux@celest.fr>Revert "Use CString to concat linker options"
991176876e5deef2012-04-18Gabriel Corneanu <gabrielcorneanu@gmail.com>add "nostdlib" option to libtcc
992214564b1dc762012-04-18Gabriel Corneanu <gabrielcorneanu@gmail.com>Re-enable "Use CString to concat linker options"
9934274c44de7df2012-04-18grischka <grischka>tcc.c: fix previous commit "Use CString to concat linker options"
9945aaa067af42b2012-04-18grischka <grischka>win32: tcc.exe uses libtcc.dll
995ab936aeb8cf12012-04-18grischka <grischka>cleanup some partially broken patches
9963c59f84240482012-04-18grischka <grischka>tcc.h: unify multiple #ifdef CONFIG_TCC_BACKTRACE
997f1b5c2ef4fc12012-04-18grischka <grischka>tcc_realloc: auto "memory full" error
99832a411914b5b2012-04-18grischka <grischka>support "x86_64-linux-gnu" subdirs with lib & include
999f98c2306a0852012-04-18grischka <grischka>libtcc: tcc_get_symbol uses the TCCState parameter
10006471ec0a2bd52012-04-14Michael Matz <matz@suse.de>Fix conversion in a?0:ptr.
10015c0a2366a3bb2012-04-14Michael Matz <matz@suse.de>Fix bitfield loads into char/short.
100286ac6b9beec12012-04-15Michael Matz <matz@suse.de>x86_64: Fix indirection in struct paramaters
10031d0a5c2515532012-04-15Michael Matz <matz@suse.de>x86_64: Fix segfault for global data
100415f4ac2b1a442012-04-15Michael Matz <matz@suse.de>Fix detection of labels with a typedef name
10054c0d70ab07b42012-04-15Michael Matz <matz@suse.de>Fix parsing function macro invocations
1006b068e29df7532012-04-15Michael Matz <matz@suse.de>x86_64: Implement GET_CALLER_FP
1007718fd591fa932012-04-15Michael Matz <matz@suse.de>Make sizeof() be of type size_t
10089ca9c82ff8a42012-04-16Michael Matz <matz@suse.de>Fix comparing comparisons
10090394caf784122012-05-13Michael Matz <matz@suse.de>Emit spaces for -MD
10102daae0dc99c02012-05-13Michael Matz <matz@suse.de>x86_64: Fix compares with NaNs.
1011a2c71af1ea752012-05-22Thomas Preud'homme <robotux@celest.fr>Fix CONFIG_LDDIR usage
1012b56edc7b90632012-05-22Thomas Preud'homme <robotux@celest.fr>Several multiarch/biarch fixes
1013731e07f175452012-05-28Thomas Preud'homme <robotux@celest.fr>Only warn for unknown options in configure script
1014bfb00494eb2f2012-03-14Thomas Preud'homme <robotux@celest.fr>Fix removal of vnrott
10157f6095bfec822011-12-10Thomas Preud'homme <robotux@celest.fr>Add support for arm hardfloat calling convention
10169a81dcab0ab12012-06-05Thomas Preud'homme <robotux@celest.fr>tccelf.c: Add R_ARM_REL32 relocation
1017a42b029101a72012-06-10Michael Matz <matz@suse.de>x86-64: Fix call saved register restore
101832cd070c969f2012-06-11Milutin Jovanović <jovanovic.milutin@gmail.com>osx: Removed some optimizations for x86 builds as they were causing seg faults.
101927d38bf23f742012-05-13grischka <grischka>tcc.c: fix argv index for parse_args
1020ad5f3758c38f2012-06-12grischka <grischka>Revert "Make ex1.c and ex4.c be executable on any systems"
10212e7a1af5d5d62012-06-12Thomas Preud'homme <robotux@celest.fr>Evaluate configure arguments
1022b0ebcfa7bae42012-06-13Thomas Preud'homme <robotux@celest.fr>Detect multiarch on Kfreebsd and Hurd
102342c1b6ba380d2012-06-18Milutin Jovanović <jovanovic.milutin@gmail.com>tests: Added numerous tests.
1024240064c03bbc2012-06-27Vincent Lefevre <vincent@vinc17.net>Incorrect shift result type with 64-bit ABI
1025d54e24cc0ea02012-06-27Milutin Jovanović <jovanovic.milutin@gmail.com>tests: Minor adjustments selecting which tests are run on each platform.
102609b98a42a38b2012-07-06Vincent Lefevre <vincent@vinc17.net>Tests on left-shift type.
1027d27a0b35482b2012-07-06Vincent Lefevre <vincent@vinc17.net>Incorrect shift result type on unsigned short first argument.
1028ed9c6b132aba2012-06-12Thomas Preud'homme <robotux@celest.fr>Fix R_ARM_REL32 relocation
1029d1694f7d7e6d2012-07-11Thomas Preud'homme <robotux@celest.fr>get_reg(): try to free r2 for an SValue first
1030c9a2fbaad1092012-07-27Thomas Preud'homme <robotux@celest.fr>Add multiarch directory for arm hardfloat variant
103156e23984b9cd2012-07-30Thomas Preud'homme <robotux@celest.fr>Disable callsave_test for arm
1032ca38792df17f2012-09-01grischka <grischka>tccrun: another incompatible change to the tcc_relocate API
10333d409b0889382012-09-20Sergey Vinokurov <serg.foo@gmail.com>fix #include_next infinite loop bug, see http://savannah.nongnu.org/bugs/?31357
10342fe7fd9e87592012-10-07Thomas Preud'homme <robotux@celest.fr>Support for R_ARM_[THM_]MOV{W,T}_ABS[_NC} relocs
1035c6630ef92a212012-10-09Thomas Preud'homme <robotux@celest.fr>Fix R_ARM_CALL when target fonction is Thumb
10369966fd4eaea12012-10-15Thomas Preud'homme <robotux@celest.fr>Only use blx if available
103785f6fad3a6ac2012-10-25Thomas Preud'homme <robotux@celest.fr>Forbid VLA as static variables
1038cf95ac399cbc2012-10-25Thomas Preud'homme <robotux@celest.fr>Error out in case of variable name clash
1039508df168f42a2012-10-25Thomas Preud'homme <robotux@celest.fr>Fix commit 85f6fad3a6acbfa07a3dc45b673965fc26890d8e
1040fad68c9163a72012-10-07Thomas Preud'homme <robotux@celest.fr>Add support for R_ARM_THM_{JUMP24,CALL} relocs
1041034dce4f049b2012-10-28Thomas Preud'homme <robotux@celest.fr>Enable arm hardfloat calling convention
1042943574aba5472012-11-02Roy Tam <roytam@gmail.com>pe: fix tcc not linking to user32 and gdi32
10435eb64357b1682012-11-05Hitoshi Mitake <h.mitake@gmail.com>forbid invalid comparison of struct
1044a7f010ee8a9a2012-10-22Thomas Preud'homme <robotux@celest.fr>Honour *FLAGS everywhere
1045b0f08ace945a2012-11-07Thomas Preud'homme <robotux@celest.fr>Create a clean target for tests2/Makefile
1046e07802e39d412012-10-28Thomas Preud'homme <robotux@celest.fr>Support R_ARM_THM_JUMP24 relocation to plt
1047891dfcdf3fc42012-11-03Thomas Preud'homme <robotux@celest.fr>Generate PLT thumb stub only when necessary
1048061b5799cc1f2012-11-07Thomas Preud'homme <robotux@celest.fr>Allow source fortification
104914c99236da352012-11-09Thomas Preud'homme <robotux@celest.fr>Call to veneers in ARM mode
10503c986eeae3442012-11-11Thomas Preud'homme <robotux@celest.fr>Add armv6l to ARM supported processors
10511af3bca4eae32012-11-12Thomas Preud'homme <robotux@celest.fr>Revert "Generate PLT thumb stub only when necessary"
1052646b51833f032012-11-12Kirill Smelkov <kirr@navytux.spb.ru>lib/bcheck: Prevent libc_malloc/libc_free etc from being miscompiled
1053cffb7af9f9682012-11-13Kirill Smelkov <kirr@navytux.spb.ru>lib/bcheck: Prevent __bound_local_new / __bound_local_delete from being miscompiled
10545d648485bdd82012-11-13Kirill Smelkov <kirr@navytux.spb.ru>Now btest pass!
105540a54c4399cc2012-11-14Kirill Smelkov <kirr@navytux.spb.ru>Repair bounds-checking runtime
1056e79c3533ecef2012-11-14Milutin Jovanović <jovanovic.milutin@gmail.com>-Wno-unused-result now added only on gcc >= 4.4
1057b2a02961b4402012-11-14Kirill Smelkov <kirr@navytux.spb.ru>Add support for __builtin_frame_address(level)
1058ab24aaeca3032012-11-15Kirill Smelkov <kirr@navytux.spb.ru>i386: We can change 'lea 0(%ebp),r' to 'mov %ebp,r'
1059e2212738d4082012-11-03Thomas Preud'homme <robotux@celest.fr>Generate PLT thumb stub only when necessary
106015a315f4a5af2012-11-19Thomas Preud'homme <robotux@celest.fr>Define TCC_ARM_EABI if using hardfloat ABI
10616eec9310387f2012-11-21Thomas Preud'homme <robotux@celest.fr>Only reference vfpr when available
10624744269494bc2012-11-21Kirill Smelkov <kirr@navytux.spb.ru>Update .gitignore
1063168aed4984902012-11-21Kirill Smelkov <kirr@navytux.spb.ru>tests: btest should only run on targets supporting bcheck
10648d90205fd9332012-11-28Thomas Preud'homme <robotux@celest.fr>Fix OABI calling convention
106505b02a5581d22012-11-23Thomas Preud'homme <robotux@celest.fr>arm-gen.c: Invalid operator test always false
1066c4a18f47a24c2012-12-04Thomas Preud'homme <robotux@celest.fr>Detect ARM CPU version in configure
106743a11a7ed10a2012-11-30Kirill Smelkov <kirr@navytux.spb.ru>Make tcc work after self-compiling with bounds-check enabled
1068efd9d92b7c5d2012-12-09Kirill Smelkov <kirr@navytux.spb.ru>lib/bcheck: Don't assume heap goes right after bss
1069dbeb4faf21592012-12-09Kirill Smelkov <kirr@navytux.spb.ru>lib/bcheck: Fix code typo in __bound_delete_region()
1070031ff872be7b2012-12-09Kirill Smelkov <kirr@navytux.spb.ru>tests: Add tests for compile/run tcc.c with `tcc -b` then compile tcc.c again, then run tcctest.c
1071a55ecf6d2cec2012-12-09Kirill Smelkov <kirr@navytux.spb.ru>Repair bounds-checking more, this time `tcc -b -run tcc.c -run tcc.c -run tcctest.c` works
1072d815896d4c072012-12-10Roy <roytam@gmail.com>bcheck: there is no unistd.h in win32.
10733f09b90d211a2012-12-14Akim Demaille <akim@lrde.epita.fr>build: fix VPATH builds
1074b174399340912012-12-20grischka <grischka>win32: build-tcc.bat: get rid of hardcoded VERSION string
10755ebc6a964d492012-12-20grischka <grischka>Makefile: revamp "tar" target
10769c9ca2032bc02012-12-21Akim Demaille <akim@lrde.epita.fr>configure: style changes
1077ba49862de6eb2012-12-21Akim Demaille <akim@lrde.epita.fr>configure: prefer here-documents
1078d7264e02186d2012-12-21Akim Demaille <akim@lrde.epita.fr>configure: style changes
1079017bbbfee11b2012-12-21Akim Demaille <akim@lrde.epita.fr>configure: support absolete out-of-tree builds
10808adfb4a419262012-12-21Akim Demaille <akim@lrde.epita.fr>build: simplify the makefiles
10817667a8887a442012-12-21Akim Demaille <akim@lrde.epita.fr>build: fix out-of-tree build
1082e79281f58ec32012-12-21Akim Demaille <akim@lrde.epita.fr>build: fix out-of-tree install
10838eb92e6052002012-12-21Kirill Smelkov <kirr@navytux.spb.ru>Optimize cstr_reset() to only reset string to empty, not call free() and later malloc()
108463193d1794b02012-12-21Kirill Smelkov <kirr@navytux.spb.ru>Optimize vswap()
1085fc574f14984d2012-12-31Roy <roytam@gmail.com>win32: malloc.h: fix win32 tcc-tcc complication by correcting _STATIC_ASSERT, ideas from mingw-w64 changeset 4293 stdarg.h, stddef.h: _mingw.h needs them
1086eb028a8f423d2013-01-06Thomas Preud'homme <robotux@celest.fr>Honor CC when testing for -Wno-unused-result
1087e92dbe4686902013-01-06Thomas Preud'homme <robotux@celest.fr>Stop returning 0 in cmp_comparison_test
10882358b378b3cd2013-01-06grischka <grischka>tccpp: alternative fix for #include_next infinite loop bug
10890a8c7d143eb02013-01-06grischka <grischka>Fix "Optimize cstr_reset() to only reset string to empty"
109059e18aee0e502013-01-11mingodad <mingodad@gmail.com>Added what I call virtual io to tinycc this way we can make a monolitic executable or library that contains all needed to compile programs, truly tinycc portable. Tested under linux exec the "mk-it" shell script and you'll end up with a portable tinycc executable that doesn't depend on anything else.
1091ea583f7b8a0a2013-01-13Thomas Preud'homme <robotux@celest.fr>Fix C99ism in vswap()
10925e7954b408822013-01-13Thomas Preud'homme <robotux@celest.fr>Stop setting -Wno-unused-result switch in Makefile
109360a3ff5f2cdc2013-01-14Thomas Preud'homme <robotux@celest.fr>Revert "pe: fix tcc not linking to user32 and gdi32"
10948c56b0cf900c2013-01-14Thomas Preud'homme <robotux@celest.fr>Revert "Added what I call virtual io to tinycc this way we can make a monolitic executable or library that contains all needed to compile programs, truly tinycc portable."
1095a4e630c7d94f2013-01-14Thomas Preud'homme <robotux@celest.fr>Install libtcc.h when invoking make install
1096f7b417723ed62013-01-14Thomas Preud'homme <robotux@celest.fr>Fix out-of-tree build with relative path to root
10972daf8b96a82e2013-01-14grischka <grischka>Revert mistake in "win32: malloc.h: fix win32 ... _STATIC_ASSERT"
1098c5892fe4f5b22013-01-14grischka <grischka>Revert "Optimize vswap()"
10996b6eea60f3ff2013-01-24Thomas Preud'homme <robotux@celest.fr>Fix [f]getc return value usage in 40_stdio test
1100b89793d10a8c2013-01-24grischka <grischka>win32: _mingw.h: do not undef NULL
1101f8cde529843b2013-01-25Thomas Preud'homme <robotux@celest.fr>Link STT_GNU_IFUNC into STT_FUNC in executable.
1102de35a3389f632013-01-25Thomas Preud'homme <robotux@celest.fr>Use gcc to generate tcctest.gcc
1103f63c7509427c2013-01-26Thomas Preud'homme <robotux@celest.fr>Organize frames in a real linked list on ARM
1104f3e5649150df2013-01-26Thomas Preud'homme <robotux@celest.fr>Don't do builtin_frame_address test with ARM gcc
11050f81512d7da22013-01-27Thomas Preud'homme <robotux@celest.fr>Fix stack alignment on 8 bytes at function call
1106bcac413c30582013-01-28Thomas Preud'homme <robotux@celest.fr>Fix overflow detection in ARM relocation
110752947e5844582013-01-29Thomas Preud'homme <robotux@celest.fr>Favor arm hardfloat over arm softfloat.
110801e1eecdbedc2013-01-30Thomas Preud'homme <robotux@celest.fr>Update Changelog
11095fa135f9eb852013-01-30Thomas Preud'homme <robotux@celest.fr>Changelog update
11106ccee6edb32a2013-01-30Thomas Preud'homme <robotux@celest.fr>Add my copyright for changes in arm-gen.c
111117cf0dcf70672013-01-30grischka <grischka>configure: use relative paths for in-tree build
1112b7e75ccdb0652012-12-22grischka <grischka>tccpe: no debug, no stabs
1113828ccde9fc0e2013-01-30grischka <grischka>arm: define TCC_ARM_VERSION for cross compiler
1114913cd6270bb62013-01-30grischka <grischka>Changelog: cleanup
11151b1e7ee1fd2f2013-01-30Thomas Preud'homme <robotux@celest.fr>Fix cross-compilation out-of-tree build
111693785149ed612013-01-31Domingo Alvarez Duarte <mingodad@gmail.com>Add predictability in CType initialization.
1117505329b5b3ee2013-01-31Domingo Alvarez Duarte <mingodad@gmail.com>Don't call elf_hash on NULL value
1118981eb84d8ab92013-01-31Thomas Preud'homme <robotux@celest.fr>Check whether structure fields have a type
1119370547a550e72013-01-31Thomas Preud'homme <robotux@celest.fr>Revert "Check whether structure fields have a type"
11202f6b8469cc272013-01-31grischka <grischka>safety: replace occurrences of strcpy by pstrcpy
1121ae33c30b49d22013-01-31Thomas Preud'homme <robotux@celest.fr>Revert "Don't call elf_hash on NULL value"
11226f4983af5b812013-01-31Thomas Preud'homme <robotux@celest.fr>Revert "Add predictability in CType initialization."
1123506193724f8a2013-02-03Daniel Glöckner <daniel-gl@gmx.net>arm: fix conversion from integer to float/double with VFP
1124f7f6025bd1242013-02-03Daniel Glöckner <daniel-gl@gmx.net>arm: fix conversion from float/double to signed integer with VFP
112561a4fd1d6e262013-02-04Daniel Glöckner <daniel-gl@gmx.net>arm: force rounding towards zero on cast to integer with VFP
1126f715207249262013-02-04Thomas Preud'homme <robotux@celest.fr>arm-gen.c: fix var initialization in gfunc_call
1127263dc93cfab42013-02-04grischka <grischka>c67: remove global #define's for TRUE/FALSE/BOOL
11284c2941d2486f2013-02-04grischka <grischka>win32: wincrt1.c: include stdlib.h for exit()
11293186455599042013-02-04grischka <grischka>Makefile: allow CONFIG_LDDIR=lib64 configuration
113082bcbd027f102013-02-04grischka <grischka>portability: fix void* <-> target address conversion confusion
113197c279f5ea102013-02-04grischka <grischka>Makefile: fix "allow CONFIG_LDDIR=lib64 configuration"
11324b539aa67de92013-02-04grischka <grischka>tccrun.c: unify rt_get_caller_pc prototype
1133248dc67506212013-02-04grischka <grischka>win32: Honor "-Wl,-subsystem=console/gui" option
113460e647f856f42013-02-04Thomas Preud'homme <robotux@celest.fr>Slightly improved support for !gcc compilers
1135e0aee4f455982013-02-04grischka <grischka>portability: make tcc_get_symbol() available for non-native
11366c4d3244dacb2013-02-05Thomas Preud'homme <robotux@celest.fr>Align on 4n bytes when copying fct args on stack
113760cf64612c1d2013-02-05grischka <grischka>tests2: move into tests
1138d5f4df09ff4a2013-02-05grischka <grischka>tests: cleanup
113992024ab07ad82013-02-05grischka <grischka>tccelf: fix debug section relocation
11407a477d70cabe2013-02-06grischka <grischka>lib/Makefile: use CC, add bcheck to libtcc1.a
11414b8e7f1f39342013-02-08Thomas Preud'homme <robotux@celest.fr>Fix fn_dirname in configure script
1142d6d7686b608c2013-02-08grischka <grischka>tcc.h: declare CValue.tab[LDOUBLE_SIZE/4]
11438042121d74902013-02-09grischka <grischka>tcc -vv/--print-search-dirs: print more info
1144829655949b792013-02-10grischka <grischka>tcc --help: update option summary
114505108a3b0a8e2013-02-12grischka <grischka>libtcc: new LIBTCCAPI tcc_set_options(TCCState*, const char*str)
1146f6cfaa6d25912013-02-13Thomas Preud'homme <robotux@celest.fr>Improve multiarch detection
1147af4b27f0fd7d2013-02-13Thomas Preud'homme <robotux@celest.fr>Fix previous commit
1148f9ac201377932013-02-13Thomas Preud'homme <robotux@celest.fr>Detect multiarch triplet and lddir from ldd output
1149a4cbd9b002ab2013-02-13Thomas Preud'homme <robotux@celest.fr>Various fixes for f9ac2013
1150e298f608385d2013-02-13Thomas Preud'homme <robotux@celest.fr>Create config-print program to test $cc
1151944627c479f02013-02-14grischka <grischka>configure: cleanup
1152062efe6ab8512013-02-14Urs Janssen <urs@hq.tin.org>- make clang accept unportable code in libtcc1.c - add -dumpversion cmd.line opt
1153b1a82335626f2013-02-14Thomas Preud'homme <robotux@celest.fr>Another attempt to "detect" multiarch
1154b4656f3191a92013-02-14Thomas Preud'homme <robotux@celest.fr>Add arm ABI detection in conftest.c
115599b801dafc662013-02-14Thomas Preud'homme <robotux@celest.fr>Add missing heading slash to detect /lib64 systems
1156762a43877b6e2013-02-14grischka <grischka>configure: pass CONFIG_xxxDIR/PATH options via commandline
1157b9f089fc4a3c2013-02-14Thomas Preud'homme <robotux@celest.fr>Don't search libgcc_s.so.1 on /lib64
1158c4397b2b02f52013-02-14grischka <grischka>configure: detect ARM variants
11590928761257b82013-02-14Thomas Preud'homme <robotux@celest.fr>Revert "Don't search libgcc_s.so.1 on /lib64"
1160108b2876654b2013-02-14Urs Janssen <urs@hq.tin.org>- don't use GCC_MAJOR to see if we're not using gcc as GCC_MAJOR might be set during configure even with --cc=notgcc as long as gcc is installed.
1161cec76c8b8a7a2013-02-15Urs Janssen <urs@hq.tin.org>- document -dumpversion - fixed a broken prototype
1162bfde339b8cd52013-02-15Urs Janssen <urs@hq.tin.org>fixed pasto in in 108b2876; background for the additional $CC test is: GCC_MAJOR may be set even is $CC not realy gcc (but i.e. clang, which (as of 3.1) requires an addtional CFLAG to accept the non portable (gnuisms all over the place; try to cimpile tcc with Sun^HOracle, Intel, Pathscale, ... compiler) code).
1163d5e22108a0dc2013-02-14Thomas Preud'homme <robotux@celest.fr>Release TinyCC 0.9.26
11640bdbd49eac6c2013-02-16Urs Janssen <urs@hq.tin.org>add version number to manpage avoid c++/c99 style comments in preprocessor directives avoid leadings whitespaces in preprocessor directives mention implemented variable length arrays in documentation fixed ambiguous option in texi2html call (Austin English)
1165fe64a4d005122013-02-17Thomas Preud'homme <robotux@celest.fr>Define __STDC_HOSTED__
11663ad64ffe2e912013-02-17Thomas Preud'homme <robotux@celest.fr>Define __STDC_HOSTED__ to a sane value
1167322743eef8b92013-02-18Roy <roytam@gmail.com>libtcc: tcc_define_symbol() uses strings, fix segfault
1168e946c3583f702013-02-18Thomas Preud'homme <robotux@celest.fr>Add support for KfreeBSD 64bits
11695d6cfe855a902013-02-18Thomas Preud'homme <robotux@celest.fr>Fix GNU Hurd interpreter path
11700db7f616ad862013-02-18Urs Janssen <urs@hq.tin.org>remove doubled prototype fix documentation about __TINYC__ define __STDC_HOSTED__ like __STDC__
11710ad857c80e172013-02-19Andrew Aladjev <aladjev.andrew@gmail.com>added CPATH, C_INCLUDE_PATH and LD_LIBRARY_PATH
1172183b2ab14cf22013-02-19Urs Janssen <urs@hq.tin.org>don't confuse LD_LIBRARY_PATH (run time) with LIBRARY_PATH (link time)
1173243c6990095c2013-02-20Urs Janssen <urs@hq.tin.org>document $CPATH, $C_INCLUDE_PATH, $LIBRARY_PATH
1174c219a53402682013-03-11Thomas Preud'homme <robotux@celest.fr>Update .gitignore with regards to test changes
1175d9dfd9cded862013-03-14Thomas Preud'homme <robotux@celest.fr>Fix configure script on FreeBSD
11766ed6a36a51062013-02-28Thomas Preud'homme <robotux@celest.fr>Flush caches before -running program
1177c68af2db9d492013-03-19Thomas Preud'homme <robotux@celest.fr>Fix synchronization between data and instr caches
11780de6fe6c41622013-03-25Jov <amutu@amutu.com>Update README,add x86_64/arm,FreeBSD/OSX etc. Change make to gmake because make will not be gnu make in some OS like FreeBSD
11791ef95ea342302013-04-08Thomas Preud'homme <robotux@celest.fr>Fix building instruction wrt make/gmake
11801d673cbfd6192013-04-17James Lyon <jamesly0n@hotmail.com>Fixed out of tree build problem on Windows.
1181e31579b0769e2013-04-17James Lyon <jamesly0n@hotmail.com>Fixed tests on Windows (including out-of-tree problems)
1182ce5e12c2f9502013-04-17James Lyon <jamesly0n@hotmail.com>Added ABI compatibility tests with native compiler using libtcc.
11832bbfaf436f932013-04-18James Lyon <jamesly0n@hotmail.com>Tests in abitest.c now work on Win32.
11843f1d9000071e2013-04-18James Lyon <jamesly0n@hotmail.com>Added some additional tests to abitest.c
118555ea6d3fc1752013-04-18James Lyon <jamesly0n@hotmail.com>x86-64 ABI fixes.
1186b961ba5396ae2013-04-19James Lyon <jamesly0n@hotmail.com>Got test1-3 working on x86-64.
11870e17671f72262013-04-19James Lyon <jamesly0n@hotmail.com>Most x86-64 tests now work; only on error in test1-3.
1188946afd2343b12013-04-19James Lyon <jamesly0n@hotmail.com>Fixed problems with XMM1 use on Linux/x86-64.
1189cbce6d2bac822013-04-19James Lyon <jamesly0n@hotmail.com>Improved x86-64 XMM register argument passing.
119023f73e92f3e62013-04-19James Lyon <jamesly0n@hotmail.com>Fixed 64-bit integer bug introduced by x86-64 ABI work.
119105fa2e754b1f2013-04-19James Lyon <jamesly0n@hotmail.com>Workaround for MinGWs use of 80-bit long double on Win32.
11928a81f9e103662013-04-21James Lyon <jamesly0n@hotmail.com>Added CMake build system (to facilitate Win64 builds)
11935c35ba66c5ad2013-04-24James Lyon <jamesly0n@hotmail.com>64-bit tests now pass (well, nearly).
1194e7a7efed11792013-04-25James Lyon <jamesly0n@hotmail.com>Added cross compilation to CMake build system.
11951caee8ab3b6c2013-04-25James Lyon <jamesly0n@hotmail.com>Sorted out CMake on x86-64 and fixed silly XMM# bug introduced when working on Win64 stdargs.
1196ae2ece93da442013-04-25James Lyon <jamesly0n@hotmail.com>Fixed i386 calling convention issue and CMake build on i386.
119741d76e1fcbe42013-04-26James Lyon <jamesly0n@hotmail.com>Fixed silly error in Windows build of tests (abitest-cc not linking to libtcc)
11986ee366e765482013-04-26James Lyon <jamesly0n@hotmail.com>Fixed x86-64 long double passing.
119941b3c7a507272013-04-27James Lyon <jamesly0n@hotmail.com>Improved variable length array support.
1200be1b6ba7b7172013-04-29grischka <grischka>avoid "decl after statement" please
12014d86b20701cc2013-05-01Daniel Glöckner <daniel-gl@gmx.net>ARM hardfloat: fix struct return with float/double args
1202e670435500042013-05-05grischka <grischka>Relicensing TinyCC
12036f512a7f1ca82013-05-05Thomas Preud'homme <robotux@celest.fr>Relicensing TinyCC
120447305d427d272013-05-05Shinichiro Hamaji <shinichiro.hamaji@gmail.com>Relicensing TinyCC
120547d9f08c6f372013-05-23Fabrice Bellard <bellard.org>Relicensing TinyCC
1206d0c4138ac2ab2013-05-29Thomas Preud'homme <robotux@celest.fr>Improve texi2html -> makeinfo conversion
1207807dc7c8de2d2013-06-06Roy <roytam@gmail.com>tccpe: pstrcpy() will truncate .stabstr section name, use strncpy() instead.
1208f6b50558fc462013-06-14Thomas Preud'homme <robotux@celest.fr>Add support for load/store of _Bool value
120937b0348993182013-06-11Thomas Preud'homme <robotux@celest.fr>Define __ARM_PCS_VFP in hardfloat compilation mode
12108c033a1461b72013-06-22Frédéric Féret <frederic.feret@outlook.com>Relicensing TinyCC
121169c2e7f96c952013-07-24grischka <grischka>tccgen: fix crash with undeclared struct ... as in: #include<stdio.h> int main() { struct asdasd x; printf("%d\n", sizeof(x)); } This fixes commit 17571298f30bf204fafe9cf1aca5258d2d087d63
121273faaea227a52013-08-28grischka <grischka>i386-gen: preserve fp control word in gen_cvt_ftoi
12139382d6f1a0e22013-09-07Thomas Preud'homme <robotux@celest.fr>Fix lib, include, crt and libgcc search paths
1214235a65033f282013-09-07Ramsay Jones <ramsay@ramsay1.demon.co.uk>libtcc1.c: Fix __asm__() in __tcc_fpinit and __tcc_cvt_ftol
121513b997668e322013-09-10grischka <grischka>win32: fix libtcc support
121676cb1144ef912013-09-16Thomas Preud'homme <robotux@celest.fr>Generate an error when a function is redefined
1217642b6d0f50c62013-09-19YX Hao <lifenjoiner@163.com>Add the possibility to use noname functions by ordinal
1218a465b7f58fde2013-09-19Thomas Preud'homme <robotux@celest.fr>Forbid the use of array of functions
12190f522fb32a632013-09-19Thomas Preud'homme <robotux@celest.fr>Forbid enum redefinition.
122082969f045c992013-09-20Thomas Preud'homme <robotux@celest.fr>Report error when using undefined enum
1221673befd2d7742013-09-20Thomas Preud'homme <robotux@celest.fr>Report error when redefining enumerator
122245b35a3d66ee2013-09-23Vittorio Giovara <vittorio.giovara@gmail.com>set the user-defined library search paths first
1223a1a691a030d02013-09-24Thomas Preud'homme <robotux@celest.fr>Detect correct instruction with incorrect operands
12240f5942c6b3822013-09-24Thomas Preud'homme <robotux@celest.fr>Avoid warnings with gcc 4.8 + default CFLAGS
1225385a86b000ca2013-10-01Thomas Preud'homme <robotux@celest.fr>Fix commit 0f5942c6b382105075dabb6f975a313efc63a5f9
1226d0c2f00df2362013-10-02Ramsay Jones <ramsay@ramsay1.demon.co.uk>Fix CONFIG_TCC_SYSINCLUDEPATHS on !win32 systems
12273b07a15fd12d2013-10-06Amine Najahi <mohaminaj@gmail.com>Detect usage of incomplete types inside struct/union
12281c4afd13501f2013-10-29Thomas Preud'homme <robotux@celest.fr>Add support for thread-local storage variables
1229cf02f920c1482013-11-03Thomas Preud'homme <robotux@celest.fr>Revert "Add support for thread-local storage variables"
1230b7d017dec8992013-11-05Thomas Preud'homme <robotux@celest.fr>Fix allocation of struct in registers on ARM
1231fbb4841606b52013-02-28Thomas Preud'homme <robotux@celest.fr>Add __clear_cache implementation in libtcc1
12320650ab01c8a82013-11-08Joseph Poirier <jdpoirier@gmail.com>struct variable behind guard, proper macro check, and remove some whitespace.
12331528a085408e2013-02-04Thomas Preud'homme <robotux@celest.fr>Refactor and simplify gfunc_call() on arm
12340c40bc8982ad2013-11-17Thomas Preud'homme <robotux@celest.fr>Correctly align and reclaim stack at function call
12351b606d18840f2013-11-17Thomas Preud'homme <robotux@celest.fr>Allow thumb transition for R_ARM_PC24
123641ce391c86df2013-11-21Thomas Preud'homme <robotux@celest.fr>Fix register corruption at function call on ARM
1237c3e7c725b5402013-11-21Thomas Preud'homme <robotux@celest.fr>Fix counting of VFP regs in ARM's gfunc_prolog
123863a84713eee32013-11-21Thomas Preud'homme <robotux@celest.fr>Correctly identify homogeneous float aggregate
1239d9d60a1ebd9a2013-11-21Thomas Preud'homme <robotux@celest.fr>Remove code in arm-gen.c for struct packing in reg
1240dcec8673f21d2013-11-22Thomas Preud'homme <robotux@celest.fr>Add support for struct > 4B returned via registers
124148fc7466527d2013-11-25Thomas Preud'homme <robotux@celest.fr>Fix structure passing in ARM calling convention
124282b257c29cc22013-11-25Thomas Preud'homme <robotux@celest.fr>Add comment to explain the code added by 41ce391c
12434260ce1889f62013-11-25Thomas Preud'homme <robotux@celest.fr>Add va_* macro implementation for ARM
12445919da6f05a22013-11-25Thomas Preud'homme <robotux@celest.fr>Make abitest.c have predictable result
12453676f61983ca2013-11-26Thomas Preud'homme <robotux@celest.fr>Define __ARM_EABI__ and __ARMEL__ when applicable
1246389c25c4b9002013-12-11Thomas Preud'homme <robotux@celest.fr>Support special calling convention for runtime ABI
1247f2dbcf7594882013-04-07Thomas Preud'homme <robotux@celest.fr>Add ARM aeabi functions needed to run tcctest
1248a24e31e85d292013-12-15Thomas Preud'homme <robotux@celest.fr>Fix signed integer division in ARM runtime ABI
124946dd2971abfe2013-12-15Thomas Preud'homme <robotux@celest.fr>make git ignore lib/arm directory
1250fbc8810334e62013-12-16grischka <grischka>Fix "Add support for struct > 4B returned via registers"
125159b8007f98eb2014-01-03Thomas Preud'homme <robotux@celest.fr>Always set *palign in classify_x86_64_arg
1252e0e9a2a295622013-12-31Thomas Preud'homme <robotux@celest.fr>Report error on NaN comparison
12539e79b18bca642014-01-03Thomas Preud'homme <robotux@celest.fr>Use libtcc.a for static link even with USE_LIBGCC
12540382131c6fc72014-01-04Thomas Preud'homme <robotux@celest.fr>Provide install-strip target in Makefile
12553eed3506b4bf2014-01-04Thomas Preud'homme <robotux@celest.fr>Fix negation of 0.0 and -0.0
12569e9e5c2929ca2014-01-04Daniel Glöckner <daniel-gl@gmx.net>Relicensing TinyCC
1257c634c797c5212014-01-04Thomas Preud'homme <robotux@celest.fr>Update Changelog from git changelog entries
1258eda2c756edc42013-12-31Thomas Preud'homme <robotux@celest.fr>Move logic for if (int value) to tccgen.c
12595078a06e91612014-01-04Daniel Glöckner <daniel-gl@gmx.net>Relicensing TinyCC
1260a01d83d783802014-01-06Thomas Preud'homme <robotux@celest.fr>Don't enable bound check if libgcc is used
1261bcc1904f9c952014-01-06Thomas Preud'homme <robotux@celest.fr>Don't call __tcc_fpinit if using libgcc
12628efaa711904b2014-01-06Thomas Preud'homme <robotux@celest.fr>Fix struct ret in variadic fct with ARM hardfloat
12634ad186c5ef612014-01-06grischka <grischka>i386: use __fixdfdi instead of __tcc_cvt_ftol
1264d443644de3602014-01-06grischka <grischka>tccpe: cleanup "imports per ordinal"
12652bd0daabbe1f2014-01-06grischka <grischka>misc. fixes
12663fe2a95d7fe82014-01-07grischka <grischka>be stricter with aliasing
126799851b0d9e0d2014-01-07Vincent Lefevre <vincent@vinc17.net>fixed permissions for install on Unix
126858f3b7781b892014-01-07Thomas Preud'homme <robotux@celest.fr>Don't say compiler flags are warning options
126970a088af87402014-01-07Thomas Preud'homme <robotux@celest.fr>Explicit that EABI only supports VFP for now
1270b6247d1f3c342014-01-07Thomas Preud'homme <robotux@celest.fr>Add support for runtime selection of float ABI
127128f0286479502014-01-08Thomas Preud'homme <robotux@celest.fr>Update elf.h
127232734680cb2a2014-01-08Thomas Preud'homme <robotux@celest.fr>Improve ELF on ARM
12733352cb8aef692014-01-08Thomas Preud'homme <robotux@celest.fr>Shared libraries also have entry points
1274bf2854d2a2572014-01-04Thomas Preud'homme <robotux@celest.fr>Use GNU triplet prefix for cross tcc compilers
1275da0601e490762014-01-08Thomas Preud'homme <robotux@celest.fr>Remove WITHOUT_LIBTCC macro: no more user
1276767410b8750b2014-01-09Thomas Preud'homme <robotux@celest.fr>Various Makefile fixes for cross-compilation
1277935d8169b8e32014-01-09keren <keren@bluebird.(none)>Use anonymous file instead of regular file to back mmap
1278ea7b17f641cb2014-01-10Archidemon <_dangerdl@mail.ru>Fixes for PE x86_64 for fail in code
1279fdf9fba5785f2014-01-10Archidemon <_dangerdl@mail.ru>Fixes previous fixes
128080b36ab628ec2014-01-10keren <keren@bluebird.(none)>Fix missing mem_size assignment when using mmap()
12819e11476e15342014-01-11Michael Matz <matz@suse.de>Fix Fixes for PE x86_64 for fail in code
12829c6ddbfe90342014-01-11Michael Matz <matz@suse.de>Fix compile on ARM non-eabi and non-vfp
128305c9b76131e92014-01-12Michael Matz <matz@suse.de>Fix floating point unary minus and plus
1284f42a02efda422014-01-12Michael Matz <matz@suse.de>tcctest: One more signed zero test
12858e724128e8232014-01-12Iavael <iavaelooeyt@gmail.com>Revert "Use anonymous file instead of regular file to back mmap"
1286262eec3e83612014-01-12Vincent Lefevre <vincent@vinc17.net>Fixed the LDBL_* macros in include/float.h for x86-64: as said when x86-64 support was added, "for long double, we use x87 FPU". And indeed, tests show that Intel's extended precision is used, not double precision.
128775118780da3f2014-01-19Kirill Smelkov <kirr@navytux.spb.ru>tccrun: Mark argv area as valid for bcheck
128848ad93983f292014-01-20Austin English <austinenglish@gmail.com>workaround a wine cmd bug in build-tcc.bat
128932a4962593d62014-01-21grischka <grischka>tcctest: add back testXb (self compile with -b)
1290fad8e13ccd562014-01-23Iavael <iavaelooeyt@gmail.com>Ordinary and implicit rules cannot be mixed in the same string in Makefile
12915cbe03b9c47e2014-02-01Thomas Preud'homme <robotux@celest.fr>Move result of itof double conv back to VFP reg
1292c88c2706a2052014-02-01Thomas Preud'homme <robotux@celest.fr>Test long long to float conversions
12936f3569e4e2db2013-12-18Thomas Preud'homme <robotux@celest.fr>Ignore abitest-cc and abitest-tcc test programs
12943d4b57ffe3f32013-12-17Thomas Preud'homme <robotux@celest.fr>Clean tccelf.c
1295599677a5e2902013-12-17Thomas Preud'homme <robotux@celest.fr>Give ARM asm mnemonic of PLT entries
12963cbc7a2dccf12013-12-17Thomas Preud'homme <robotux@celest.fr>Add macro to browse reloc and sym entries
1297b5b82df3e3882013-12-18Thomas Preud'homme <robotux@celest.fr>Split elf_output_file in smaller functions
12988635939b8d902014-02-02Thomas Preud'homme <robotux@celest.fr>Add support of Thumb to ARM branch relocation
1299f62e97e0ede52014-02-02Thomas Preud'homme <robotux@celest.fr>Revert "Add support of Thumb to ARM branch relocation"
1300e5a706a091312014-02-02Thomas Preud'homme <robotux@celest.fr>Revert "Split elf_output_file in smaller functions"
13012eb844f8b5ea2014-02-02Thomas Preud'homme <robotux@celest.fr>Revert "Add macro to browse reloc and sym entries"
13029fc57302f88a2014-02-02Thomas Preud'homme <robotux@celest.fr>Switch float abi to softfp for int <--> float conv
13034760804dbac12014-02-03Thomas Preud'homme <robotux@celest.fr>Fix fct param passing of struct with size < 4
13041415d7e6b6c42014-02-03Thomas Preud'homme <robotux@celest.fr>Don't perform builtin_frame_address on ARM
13054e5f15c6851c2014-02-03Thomas Preud'homme <robotux@celest.fr>switch last 2 params of TOK_memset on ARM
130617314a1fb3162014-02-04Thomas Preud'homme <robotux@celest.fr>Fix parameter passing of long long bitfield
130702d2ca8ac77e2014-02-05Thomas Preud'homme <robotux@celest.fr>Fix and extend *FCAST test in tcctest.c
13080ab07f39a63e2014-02-05Thomas Preud'homme <robotux@celest.fr>Fix float to long long conversion on ARM
1309d029507494182014-02-05Thomas Preud'homme <robotux@celest.fr>Fix negative long long to float conversion on ARM
131088c9f1bb4e642014-02-05Thomas Preud'homme <robotux@celest.fr>Round mode of ll -> float conversion to nearest
131155f751ac6d972013-12-17Thomas Preud'homme <robotux@celest.fr>Add macro to browse reloc and sym entries
13124aec2902cabb2013-12-18Thomas Preud'homme <robotux@celest.fr>Split elf_output_file in smaller functions
1313e571850d794c2014-02-02Thomas Preud'homme <robotux@celest.fr>Add support of Thumb to ARM branch relocation
1314b0b5165d16682014-02-06Thomas Preud'homme <robotux@celest.fr>Def signedness != signed != unsigned for char
1315d0dae7f241652014-02-07Thomas Preud'homme <robotux@celest.fr>Ignore VT_DEFSIGN in load on x86-64 arch
1316b46f7461a3d42014-02-08Christian Jullien <jullien@sims.eligis.com>Fix warning about undeclared __clear_cache function call.
1317497f9393e0072014-02-08Austin English <austinenglish@gmail.com>conftest: fix globbing to match MSVC
1318c6017182f6532014-02-09Thomas Preud'homme <robotux@celest.fr>Define float_eabi only in arm-gen.o
1319361ec4f98e122014-02-10Thomas Preud'homme <robotux@celest.fr>Call fill_got_entry unconditionally
1320ba286136bf8e2014-03-06Austin English <me@example.com>libtcc: ignore linker optizimization and as-needed options. This allows compiling some packages from Gentoo's portage
1321fdb3b10d06932014-03-08Thomas Preud'homme <robotux@celest.fr>Fix various errors uncovered by static analysis
132233cea54dc7b12014-03-09Thomas Preud'homme <robotux@celest.fr>Fix type_to_str test for unsigned int
1323e50f08faa19d2014-03-09Thomas Preud'homme <robotux@celest.fr>Make condition in libtcc1 based on target
132473ac39c317a22014-03-09Thomas Preud'homme <robotux@celest.fr>Undefine __va* in libtcc1 to avoid errors w/ clang
132598afe11c85ad2014-03-09Thomas Preud'homme <robotux@celest.fr>Use intptr_t to cast pointer
132662d1da1b3eb92014-03-09Thomas Preud'homme <robotux@celest.fr>Fix warning of clang
1327d3d89900f6e02014-03-09Thomas Preud'homme <robotux@celest.fr>Don't hardcode gcc in tests Makefile
1328b2192fc50bb02014-03-11Thomas Preud'homme <robotux@celest.fr>Adjust relocation offset for thumb to ARM veneer
132940e38597391a2014-03-11Thomas Preud'homme <robotux@celest.fr>Fix __clear_cache implementation
1330ec1c83081dd72014-03-17Thomas Preud'homme <robotux@celest.fr>Fix relocation of __bound_init
1331b68499e971392014-03-24Thomas Preud'homme <robotux@celest.fr>Make parse_btype only accept one basic type
1332b8610f14b0592014-03-25Thomas Preud'homme <robotux@celest.fr>Deprecate FPA and OABI support for ARM
13336f6ed8acc7952014-03-25Thomas Preud'homme <robotux@celest.fr>Warn about soft float ABI not being supported
1334f1f45a47ef1c2014-03-25Thomas Preud'homme <robotux@celest.fr>Add test for previous commit
1335078ba241d9c22014-03-25Thomas Preud'homme <robotux@celest.fr>Always link libtcc1.a in (useful for va_* on x86)
1336dc8ea93b13fa2014-03-25Thomas Preud'homme <robotux@celest.fr>Support GOT32 and PLT32 reloc for same symbol
1337ad9568060eef2014-03-25mingodad <mingodad@gmail.com>A possible fix for the memory leak reported by valgrind when running tcctest.c with tcc.
1338bed865275db32014-03-26mingodad <mingodad@gmail.com>Add the generated executables ending with "-cc" and "-tcc" to the makefile "clean"
1339aa561d70119a2014-03-26Thomas Preud'homme <robotux@celest.fr>Simplify and fix GOT32 + PLT32 reloc commit
13404bc83ac3933e2014-03-26mingodad <mingodad@gmail.com>After several days searching why my code refactoring to remove globals was crashing, I found the problem it was because CValue stack variables have rubish as it inital values and assigning to a member that is smaller than the big union item and trying to recover it later as a different member gives bak garbage.
134114bb8302c4252014-03-27mingodad <mingodad@gmail.com>Fix a incorrect size for malloc.
13420ba7c8670c0e2014-03-28mingodad <mingodad@gmail.com>This allow valgrind to work on linux, some how the PHDR is missing and then valgrind complain with: Inconsistency detected by ld.so: rtld.c: 1284: dl_main: Assertion `_rtld_local._dl_rtld_map.l_libname' failed!
1343700c2f769bd52014-03-28mingodad <mingodad@gmail.com>Remove the fix from my last commit, it was pointed by scan-build and is a false positive, thanks to grischka for pointing it.
1344c025478d7c032014-03-28mingodad <mingodad@gmail.com>New implementation of va_list/va_start/var_copy that do not use dynamic memory, with this when compiling fossil-scm with tcc on linux X86_64 it works fine.
13455c233f2cf37a2014-03-28mingodad <mingodad@gmail.com>The hack to allow valgrind works with tcc compiled programs have the undesired side effect of programs compiled with debug info segfaulting after debug info been striped more tought must be done here
13469a6ee577f6162014-03-27Thomas Preud'homme <robotux@celest.fr>Make get_tok_str support NULL as second param.
1347b125743323f92014-03-29Thomas Preud'homme <robotux@celest.fr>Create bcheck region for argv and arge argument
1348b018bac9c8e12014-03-26Thomas Preud'homme <robotux@celest.fr>Fix again GOT32 + PLT32 reloc commit
1349f272407353f22014-03-29Thomas Preud'homme <robotux@celest.fr>Fix typo in code added by b018bac9c8
135010750872419d2014-03-29Daniel Glöckner <daniel-gl@gmx.net>ARM: Fix passing arrays to varadic functions
13510ac8aaab1bef2014-03-29grischka <grischka>tccpp: reorder some tokens
13523900b235e06a2014-03-29Daniel Glöckner <daniel-gl@gmx.net>x86_64: pass va_list as pointer
1353fdc31e152ba82014-01-04Thomas Preud'homme <robotux@celest.fr>Update Changelog from git changelog entries
135480811671d4392014-03-30Thomas Preud'homme <robotux@celest.fr>Add tests for previous fixes
13555a5fee867a242014-03-30mingodad <mingodad@gmail.com>Add __attribute__ ((noreturn)) to tcc_error and expect functions. This make use of static analysis tools like scan-build report less false positives.
1356080ad7e62acd2014-03-31Michael Matz <matz@suse.de>x86-64: Add basic shared lib support
13570bd1282059792014-03-31Michael Matz <matz@suse.de>x86-64: shared libs improvement
135801cf514e59472014-01-04Thomas Preud'homme <robotux@celest.fr>Update Changelog from git changelog entries
1359a620b12dc18e2014-03-31Vincent Lefevre <vincent@vinc17.net>Fixed typo from commit 0ac8aaab1bef770929e5592d02bc06d3a529952e
13603e56584223a62014-03-31Thomas Preud'homme <robotux@celest.fr>Allow local redefinition of enumerator
1361ea2805f097412014-04-02Michael Matz <matz@suse.de>shared libs: Build libtcc1.a with -fPIC
1362a913ee6082af2014-04-03Michael Matz <matz@suse.de>x86-64: Use correct ELF values
1363f2c8491fc0ec2014-04-03Michael Matz <matz@suse.de>ELF: Make first PT_LOAD cover headers
13642024c445411f2014-04-04Michael Matz <matz@suse.de>run: Always create .got relocs
13655879c854fb942014-04-04grischka <grischka>tccgen: x86_64: fix garbage in the SValue upper bits
13660688afdd34c72014-04-04Michael Matz <matz@suse.de>arm: Handle R_ARM_NONE relocs
13673d18c9aa64cd2014-04-05Michael Matz <matz@suse.de>tests2: Build executables as well
1368b0f8ca5e03062014-04-05Michael Matz <matz@suse.de>Git should ignore tests2 executables.
1369c4427747e6e52014-04-05Michael Matz <matz@suse.de>arm: Provide alloca()
13709750d0b725d62014-04-05Michael Matz <matz@suse.de>x86_64: Create proper PLT and GOT also for -run
137101c0419234742014-04-05Michael Matz <matz@suse.de>arm: Use proper PLT/GOT for -run.
13726a947d9d26102014-04-05Michael Matz <matz@suse.de>ELF: Remove traces of old RUNTIME_PLTGOT code
13730e43f3aef4012014-04-06grischka <grischka>win32: warn people about using undeclared WINAPI functions
13740961a38493c52014-04-06Michael Matz <matz@suse.de>Declare wint_t in <stddef.h> when needed
1375f01373765b1a2014-04-06Michael Matz <matz@suse.de>stdbool.h: Make conformant to ISOC99
137676accfb8d5b12014-04-07grischka <grischka>win32: libtcc1.a needs to be built with tcc
1377f90bad0925102014-04-07grischka <grischka>tests2: cleanup
1378d09a46d655f12014-04-07Vincent Lefevre <vincent@vinc17.net>corrected a typo
13793e9a7e9d69e32014-04-07Vincent Lefevre <vincent@vinc17.net>Corrected spelling mistakes in comments and strings
1380c2422ba87fb82014-04-07Thomas Preud'homme <robotux@celest.fr>Fix test for macro nesting
138191d4db600bd92014-04-07Thomas Preud'homme <robotux@celest.fr>Add new tests for macro nesting
1382a715d7143d9d2014-04-08Thomas Preud'homme <robotux@celest.fr>Prevent ## to appear at start or end of macro
1383822f4630e30b2014-04-10Urs Janssen <urs@niko.tin.org>add missing prototypes
1384bba1c381f4f92014-04-12minux <minux.ma@gmail.com>tiny_impdef: remove artificial length restriction.
1385df0267b287992014-04-12minux <minux.ma@gmail.com>tcc, libtcc: fix build on windows with latest mingw.
13865f7cdd29b6b02014-04-12minux <minux.ma@gmail.com>win32/include/process.h: update prototypes to match mingw.
13878d3e0b3080df2014-04-12minux <minux.ma@gmail.com>tccrun: fix build on DragonFly BSD.
1388b8eb7dd8e8ce2014-04-12minux <minux.ma@gmail.com>tcc.h: add ELF interpreter for DragonFly BSD.
1389469ae3a7e57a2014-04-12minux <minux.ma@gmail.com>build: ignore and properly clean tests/vla_test
13909714d2e75f702014-04-12minux <minux.ma@gmail.com>build: add initial NetBSD support.
13916e56bb387db82014-04-12Thomas Preud'homme <robotux@celest.fr>Fix preprocessor concat with empty arg
13920e3d2e0bea9e2014-04-12Thomas Preud'homme <robotux@celest.fr>Make build CPU detection a tad more flexible
13930a51386960bc2014-04-12minux <minux.ma@gmail.com>tests2: fix 30_hanoi test and enable it.
1394aa255f37f24a2014-04-12minux <minux.ma@gmail.com>tests2: fix and enable 46_grep test.
1395112148172b502014-04-13grischka <grischka>tccpe: speed up .def file loading
1396fbda78aefeaa2014-04-14Michael Matz <matz@suse.de>Parse and emit hidden visibility
1397a9fda392a0d02014-04-14Michael Matz <matz@suse.de>Parse assembler .hidden directive
1398e69c5066172e2014-04-14Michael Matz <matz@suse.de>x86_64: Handle PLT relocs to hidden symbols
1399356c6f6293fd2014-04-14Michael Matz <matz@suse.de>Remove unused variable
14006b7a6fcbc8b92014-04-14Thomas Preud'homme <robotux@celest.fr>Improve efficiency of macro concatenation
14012ac238fc507b2014-04-17grischka <grischka>tccpe: adjust for new 'hidden' symbols feature
14024b50557553a52014-04-28jiang <30155751@qq.com>add test for abitest.c
1403857f7dbfa6512014-04-28jiang <30155751@qq.com>update static void parse_number(const char *p) for tccpp.c
1404deaee6c2496e2014-04-28jiang <30155751@qq.com>fix tccpp.c
140589f7aea980932014-04-28jiang <30155751@qq.com>fix abitest.c for x86_64 bug
1406e20c1eb99e102014-04-28jiang <30155751@qq.com>fix test3 for x86_64-gen.c
140702e2fe3c26042013-06-14Thomas Preud'homme <robotux@celest.fr>Add support for load/store of _Bool value
14082a8905c93b4f2014-04-29jiang <30155751@qq.com>So that the generated code, and more short
1409515169f21bf62014-04-29jiang <30155751@qq.com>Reduce the generation of machine code for x86_64, Less of size
14109ff288648b232014-04-30jiang <30155751@qq.com>Restore eda2c756edc4dca004ba217d5bf361235dd9de1f
14115af0ea7fb8d62014-04-30jiang <30155751@qq.com>Fix va_arg bug, Fix type conversion bug, an increase of loc_stack () function is used to manage loc
1412ba61fd9cd1362014-04-30jiang <30155751@qq.com>rename libtcc1.c
14132b2e7f85d7112014-04-30jiang <30155751@qq.com>rename i386-tok.h i386-asm.c, add PRINTF_ASM_CODE
14149e3713facd9d2014-04-30jiang <30155751@qq.com>Expansion code again for x86_64-gen
141587a850f5537c2014-05-01jiang <30155751@qq.com>fix its own making bug. Improved init_putz (). Modify the tests / Makefile to make the test more secure
14162742fbcf95c22014-05-01jiang <30155751@qq.com>clean
141759a22d59a20a2014-05-01jiang <30155751@qq.com>update for x86_64-gen.c
1418504d40a328c42014-05-01grischka <grischka>Attention: never use hard tabs other than 8 (eight) wide
1419ee99fd45abad2014-05-01jiang <30155751@qq.com>Add a comment. ref: 2a8905c93b4f67a21e3dbf297c3e93c598831528 Sorry, I used the wrong command, I did not mean it. Thank grischka
14205b52a44b52492014-05-02jiang <30155751@qq.com>gen_putz () and struct_copy (), is to reduce the third-party call that generates faster code tcc Now only for x86-64 parse_number also to reduce the reliance on third-party libraries, allowing faster analysis tcc
14216c8207633fd42014-05-02jiang <30155751@qq.com>Fixes include the double quotes bug Added push_macro, pop_macro support Fix pack bug, when output with-E will pack the bug
1422e647c3137d912014-05-02jiang <30155751@qq.com>Fix x86-64 vla For example, it should look like this High stack ------------- ----- Func_ret_sub ------------ ---- Vla stack ------------- ---- Known loc -------------- Low
14236755b4a3defe2014-05-02jiang <30155751@qq.com>Modify i386-gen.c, Thank Roy Tam reported problems
1424a0d45c1bcd872014-05-02jiang <30155751@qq.com>forget commit tccge.c for i386
1425089dea355a282014-05-03jiang <30155751@qq.com>tcc on i386 are still having problems at work.Thank Roy report again. Struck on several variables can be connected to commit in the register. I am worried whether tcc can run the os. Since my machine is ubuntu 64 bits I can test my machine.
14265e56fb635a232014-05-04jiang <30155751@qq.com>Return to: e20c1eb99e1003c1e59522c136dbb15c52d7cc7c 1: The new patch for the other machines still have the problem. 2: libcrt Rename (what if gcc had libcrt as well) 3: parse_number exact problem 4: VT_VLS is to allow tcc Compile the following int b = 9; struct st { int a; int b [b] }; struct st st1; st1.b [8] = 9; printf ("% d \ n", st1.b [8]);
1427899d26605c522014-05-06grischka <grischka>Revert "update static void parse_number()"
1428ad787abea6d42014-05-08jiang <30155751@qq.com>fix bug if (seen_reg_num + reg_count <= 8)
14290f51ccd4e4152014-05-08grischka <grischka>win64: try to fix linkage
143014d0aa450f9a2014-05-09jiang <30155751@qq.com>Add warning For example: struct A { int b []; };
143103687729ecd22014-05-09jiang <30155751@qq.com>Add warning 2 For example: struct A { int b: 16; int c: 16 }; sizeof (struct A);
14328d5e0cf083f22014-05-13jiang <30155751@qq.com>fix 14d0aa450f9a926a852ea01fbdecf27425264d14
143372f466c24c532014-05-13jiang <30155751@qq.com>Modify tcc_error ("invalid type",);
1434c6345b5a8af32014-05-13jiang <30155751@qq.com>restore 2dd8587c2f32d17a2cd0443a60a614a3fa9bbe29
143507614b5e22072014-05-14jiang <30155751@qq.com>clean '\t'
1436fcb3772a34242014-05-14jiang <30155751@qq.com>Add warning 3 struct st {int a;} ss; int b; b = ss;
14375d0785d0e1d72014-05-14jiang <30155751@qq.com>Add warning 4
14385a514107c4202014-05-15jiang <30155751@qq.com>When tcc.exe update, abitest-tcc.exe not updated. For security, you must first clean up
143952891b6ff6802014-05-16jiang <30155751@qq.com>fix push_macro, asked Tom to help me testfix push_macro
1440276553c6b2b42014-05-16jiang <30155751@qq.com>add push_macro test again
1441196c9995151e2014-05-16jiang <30155751@qq.com>1 macro_push and macro_pop work I made a mistake, no matter the definition does not define can be macro_push. And the modified tcctest.c test 2, pack: in the compiler under the mode of s1->ppfp, I have no clear ideas1->ppfp Some advice thank you Roy to me.This patch, I hope I can pass the Roy test
1442a94ed430945d2014-05-17jiang <30155751@qq.com>Improved '\ n' output effect (# pragma pack (push, 8), # pragma pack (pop))
1443e5e7f488e2212014-05-17jiang <30155751@qq.com>int main() { struct st { int aa:16; int bb:16; } s; s.aa = 1; s.bb = 2; return 0; } objdump -d: elf64-x86-64 Disassembly of section .text:
1444f8b4f59f8bef2014-05-20jiang <30155751@qq.com>In the local use of local stack, use a global stack in the global time
14450199123dd7c02014-05-20jiang <30155751@qq.com>clean '\t'
14463d608d4b54ed2014-05-20jiang <30155751@qq.com>Delete a = (a > = 0)? A: -a; \
14479c78da8a32f62014-05-21jiang <30155751@qq.com>forget Delete __va_ld_reg
1448bcf60562e0562014-05-23jiang <30155751@qq.com>The number of rows to display warning is wrong For example: #define TOK_ASM_weak TOK_WEAK1 #define TOK_ASM_weak TOK_WEAK Output: C8.c:3: warning: TOK_ASM_weak redefined
1449698b16960a992014-05-28jiang <30155751@qq.com>Modify the 66_macro_concat_end.expect
145089134dd7b0212014-05-28jiang <30155751@qq.com>Considering the effect of CH_EOF on line_num
1451d316836008f42014-05-28jiang <30155751@qq.com>Let init_putz one-time generation. At the same time, increase the GCC style warning --------------------------------------------------------------------------- int main() { int a[10] = {[5]=5}; return 0; }
14527a3f6d49415f2014-06-16YX Hao <lifenjoiner@163.com>Win: Enable use "*.def + *.c" files as library instead of *.a by "-l" option
14531fa0fe2786c82014-06-20Thomas Coudray <amanone@gmail.com>Revert "Win: Enable use "*.def + *.c" files as library instead of *.a by "-l" option"
1454f26fdaefd8b32014-06-22jiang <30155751@qq.com>revert vstore()
14556e0a658e96192014-05-08grischka <grischka>win64: try to fix linkage
1456799512388c652014-06-25David Mertens <dcmertens.perl@gmail.com>Revert the many un-reviewed commits starting from early April
1457a3fc543459492014-06-29jiang <30155751@qq.com>bug:
1458b31e80a43a182014-07-01Thomas Preud'homme <robotux@mallow.celest.fr>Specify license of lib/armeabi.c
145989000c18dc7d2014-07-01jiang <30155751@qq.com>Rename: 68_macro_concat.c -> 68_macro_param_list_err_1.c 69_macro_concat.c -> 69_macro_param_list_err_2.c and Remove spaces
14608257829623d42014-07-10Carlos Montiers <carlos@thefunsouth.com>Fix problem using alloca function, executable crashed even with a exception handler function, when try to allocate INT_MAX. Patch provided by Jason Hood in private e-mail, when I ask to him for help. He say: Feel free to pass it on to the mailing list.
1461f2ee6b1759af2014-07-11Carlos Montiers <carlos@thefunsouth.com>Fix mistake. Change jb by jbe. tiny c round (INT_MAX = 0x7FFFFFFF) to a DWORD boundary and it becomes 0x80000000. Jle treats as -214783648, but Jbe treats as 214783648. Thanks to Jason Hood for explain me this.
14627c474b4da3162014-07-17Carlos Montiers <carlos@thefunsouth.com>__getmainargs return int, not void, and on error, it return -1 and let argv untouched, also argc. Added a if checking the result of it.
146373a7dd79aff52014-07-17Carlos Montiers <carlos@thefunsouth.com>Removed the error message and minor changes.
146412f43953edd42014-08-01grischka <grischka>win64: fix resource file support
146514745bdeb7352014-08-01grischka <grischka>tccgen: nocode_wanted: do not output constants
1466178275dc0cbb2014-09-07Matteo Cypriani <mcy@lm7.fr>Don't build libtcc1 with -fstack-protector-strong
1467b84cdf6214162014-09-07Matteo Cypriani <mcy@lm7.fr>Clear CFLAGS & LDFLAGS in tests
146863376d7712082014-09-07Matteo Cypriani <mcy@lm7.fr>tccelf: layout_sections: add missing param strsec
146987d879aa7b3a2014-09-07Matteo Cypriani <mcy@lm7.fr>Accept CPPFLAGS from the environment
14709d7fb33360492014-09-23grischka <grischka>tccgen: use lvalue as result from bitfield assignment
147126b26f355fe82014-10-16Matteo Cypriani <mcy@lm7.fr>Filter-out warning about softfloat in tests2
14721e07ea71d3f52014-11-03James Buren <ryu0@ymail.com>win32: fix implicit function warning
1473f40b82295ec32014-11-22Carlos Montiers <carlos@thefunsouth.com>__getmainargs compatibility checking success
14749b14e8715a742014-11-23Carlos Montiers <carlos@thefunsouth.com>little optimization to crt1
14754ae462b6683d2014-11-26Lee Duhem <lee.duhem@gmail.com>.gitignore: Ignore generated files.
147673e8f6b60a202014-11-26Lee Duhem <lee.duhem@gmail.com>Makefile: Add rules to create tags and TAGS.
14774bf3f6c965d52014-12-11Lee Duhem <lee.duhem@gmail.com>.gitignore: Ignore Emacs temporary files
1478f1703e2b2f0b2014-12-11Lee Duhem <lee.duhem@gmail.com>libtcc.c (put_extern_sym2): Extend the scope of buf to match its use
147920a5845a47892014-12-11Lee Duhem <lee.duhem@gmail.com>tcc.h (BufferedFile): Remove unnecessary static memory allocation
14805a76c5d2f39a2014-12-15Lee Duhem <lee.duhem@gmail.com>Fix parsing of binary floating point number
148177ef3b2929092014-12-30Carlos Montiers <carlos@thefunsouth.com>crt1.c revision
1482524abd46b4f42015-01-05seyko <seyko2@gmail.com>round() in test (24_math_library) fail because there are no defs included. gcc complain but work right and tcc simply fail to compile right.
1483b93179f3c0772015-01-06seyko <seyko2@gmail.com>.i as file extension Add a ".i" extension as alias for ".c" GCC and file extensions: .i C source code which should not be preprocessed.
1484c334b59142952015-01-06seyko <seyko2@gmail.com>Warn about a conflicting compile options spectified on the command line. Try "tcc -E -c tccasm.c -o tccasm.o"
1485e260b03686652015-01-06seyko <seyko2@gmail.com>Allow tcc to understand a setob,... opcodes as alias to seto,...
1486ae09558d71e82015-01-18Reimar Döffinger <Reimar.Doeffinger@gmx.de>Build also WinCE cross compiler when cross compilers enabled.
1487a6149c6dbb412015-01-18Reimar Döffinger <Reimar.Doeffinger@gmx.de>Set CONFIG_MULTIARCHDIR for cross compilers.
1488fb6331e0fa342015-01-18Reimar Döffinger <Reimar.Doeffinger@gmx.de>Fix macro expansion of empty args.
1489ff783b94c7b92015-01-20Reimar Döffinger <Reimar.Doeffinger@gmx.de>Add support for .p2align asm directive.
1490a6c3ce6ec0352015-02-18Thomas Preud'homme <robotux@celest.fr>The "open a whisky and cut your finger open" patch
1491ff3f9aa6ba4a2015-02-20Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Fix handling of case_reg in switch statement.
149286c850fc58a72015-02-20Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tcc-doc.texi: Explain VT_LLOCAL a bit better.
1493738606dbd5602015-02-21Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Use RELA relocations properly for R_DATA_PTR on x86_64.
1494b14ef0e24bcb2015-02-13Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Add arm64 (AArch64) as a target architecture.
14956d055312a2702015-02-22Michael Matz <matz@suse.de>aarch64: Fix -run.
149640f7e11c53522015-02-20Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: Make sure that gen_op always returns an rvalue.
149797e08be344342015-02-24Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tests/tcctest.c: Test COMPAT_TYPE(char *, signed char *).
149836bb8994ddde2015-02-25Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Relicensing TinyCC
1499a4d43618fb0c2015-02-25Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>arm64-gen.c: In gen_va_arg, handle the remaining HFA cases.
15008329facdfa152015-02-25Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Add 73_arm64 for testing some arm64 things, mostly PCS.
1501fc119f9840b72015-02-26Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>73_arm64.c: Avoid taking address of return value.
1502883fd365c7e12015-03-01Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>arm64-gen.c: Better explanation of relocation choice.
150386e8dcd5e2912015-03-02Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>arm64: Improve constant generation, with tests.
15041d41da9590062015-03-02Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>arm64-gen.c: Rename some functions and add comments.
15051706d2254b162015-03-02Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>arm64-gen.c: Improve generation of stack offsets.
15065e3e321474732015-03-03seyko <seyko2@gmail.com>A preprocessor should Interpret an input line "# NUM FILENAME" as "#line NUM FILENAME"
150740418f87c7da2015-03-03seyko <seyko2@gmail.com>Move a line_ref variable from tcc_preprocess() function into struct BufferedFile. This id needed for a right ouput in other places, precisely to calculate a number of empty lines which are waiting to output.
150850cdccf3efaa2015-03-03seyko <seyko2@gmail.com>Added a gcc preprocessor options -P, -P1
1509b7b9f9f511702015-03-03seyko <seyko2@gmail.com>A gcc preprocessor option -dD added With this option on a defines are included into the output (inside comments). This will allow to debug a problems like:
1510252a151fc6b72015-03-03seyko <seyko2@gmail.com>pp-many-files: don't drop a preprocessor defines when tcc going to preprocess a next file in the same pass like tcc -E one.c two.c three.c -o combined.i This will allow to speed up a compilation process by using a commamd like tcc -E *.c | tcc -o program.exe -xc -
151109d4e4f408382015-03-03seyko <seyko2@gmail.com>Revert a grischka patch: gdb refused to know "main" It is a strange patch because before this commit a gdb is working well and after this commit there is exactly the same problem on Linux: gdb refuses to know "main"
15128d10c5788fed2015-03-03seyko <seyko2@gmail.com>Add a debug info when a #line directive is handled. The problem was: a debug info for the file which contain a #line directive (for example a preprocessed one) was wrong.
1513e2a8fd4520de2015-03-03seyko <seyko2@gmail.com>tcc_undefine_symbol(): free an alloced symbol
1514a429d40f067c2015-03-03seyko <seyko2@gmail.com>tcc_free(table_ident) in preprocess_new() if table_ident != NULL
1515bbf8221ec35d2015-03-03seyko <seyko2@gmail.com>tcc don't understand am extern array of structs. A regression was found trying to compile a linux kernel 2.4.26 which can be compiled by tcc 0.9.23
15161a1e9548fba62015-03-03seyko <seyko2@gmail.com>iitialisation of the empty struct Current tcc don't understand an initialization of the empty struct This problem was found trying to compile a linux kernel 2.4.26 which can be compiled by tcc 0.9.23
151709feeca5dffd2015-03-03seyko <seyko2@gmail.com>a statement expressions with a pointer return type A test program: ////////////// int main() { void *p = ({ 0 ; ((void *)1); }); } ///////////// Porblem is introduced in a commit a80acab: Display error on statement expressions with complex return type This error is exposed when compiling a linux 2.4.26. tcc 0.9.23 can sucessfully compile this version of the linux.
15186fd4e5bace732015-03-03seyko <seyko2@gmail.com>a void to void cast. Allow tcc to compile the following program /////// void func1() {} void func2() { return func1(); } ////// gcc accepts this program
1519c45a8695ebbc2015-03-03seyko <seyko2@gmail.com>A reverse of the commit 14745bdeb because of the problems while compiling linux 2.4.26 A test program: /////////// typedef unsigned int __u32; static inline const __u32 __fswab32(__u32 x) { return ({ __u32 __tmp = (x) ; ___swab32(__tmp); }); } void func() { int aaa = 1; int snd_wnd = 2; int TCP_FLAG_ACK = 3; int pred_flags = (__builtin_constant_p((__u32) (((aaa << 26) | (__builtin_constant_p((__u32)((TCP_FLAG_ACK))) ? ({ __u32 __x = (((TCP_FLAG_ACK))); ((__u32)( (((__u32)(__x) & (__u32)0x000000ffUL) << 24) | (((__u32)(__x) & (__u32)0x0000ff00UL) << 8) | (((__u32)(__x) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(__x) & (__u32)0xff000000UL) >> 24) )); }) : __fswab32(((TCP_FLAG_ACK)))) | snd_wnd))) ? ({ __u32 __x = ((((aaa << 26) | (__builtin_constant_p((__u32)((TCP_FLAG_ACK))) ? ({ __u32 __x = (((TCP_FLAG_ACK))); ((__u32)( (((__u32)(__x) & (__u32)0x000000ffUL) << 24) | (((__u32)(__x) & (__u32)0x0000ff00UL) << 8) | (((__u32)(__x) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(__x) & (__u32)0xff000000UL) >> 24) )); }) : __fswab32(((TCP_FLAG_ACK)))) | snd_wnd))); ((__u32)( (((__u32)(__x) & (__u32)0x000000ffUL) << 24) | (((__u32)(__x) & (__u32)0x0000ff00UL) << 8) | (((__u32)(__x) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(__x) & (__u32)0xff000000UL) >> 24) )); }) : __fswab32((((aaa << 26) | (__builtin_constant_p((__u32)((TCP_FLAG_ACK))) ? ({ __u32 __x = (((TCP_FLAG_ACK))); ((__u32)( (((__u32)(__x) & (__u32)0x000000ffUL) << 24) | (((__u32)(__x) & (__u32)0x0000ff00UL) << 8) | (((__u32)(__x) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(__x) & (__u32)0xff000000UL) >> 24) )); }) : __fswab32(((TCP_FLAG_ACK)))) | snd_wnd)))); } //////////// error: ';' expected (got "(")
15202437ccdc768b2015-03-03seyko <seyko2@gmail.com>A partial reverse for commit eda2c756edc4dca004ba217d5bf361235dd9de1f
152120074d88629c2015-03-03seyko <seyko2@gmail.com>Use a display_info() to output a header of the tcc help listing
15224c8ffb353d892015-03-03seyko <seyko2@gmail.com>remove a gcc warning for bcheck on x86_64 arch: conversion to pointer from integer of different size
1523e374a733d6bf2015-03-03seyko <seyko2@gmail.com>-std=c99 option for the tcc: allow to use a tcc as a reference compiler for "make test" tcc will igmore this option.
15247f36abd3f21f2015-03-03seyko <seyko2@gmail.com>x86_64-tcc and libtcc1.c: size_t definition is needed for a x86_64-tcc to parse memset()
1525b5f88b593a582015-03-03seyko <seyko2@gmail.com>Turn on a implicit-function-declaration warning by default.
15262d83ec7aa33e2015-03-03seyko <seyko2@gmail.com>lddir-on-x86-64: let CONFIG_LDDIR=lib64 by default if TCC_TARGET_X86_64 This is done for the case when CONFIG_LDDIR is not configured. Example: ./configure --enable-cross
1527cd4f3d962d3d2015-03-03seyko <seyko2@gmail.com>x86_64-win-tcc elfinterp: a bug correction
15286cbf4fb7406c2015-03-03seyko <seyko2@gmail.com>tcc_add_runtime() for a CONFIG_USE_LIBGCC case: reducing a complexity
1529774f0611cc062015-03-03seyko <seyko2@gmail.com>arm-unused-warnings: remove problems with defined but unused wariables
153043e4a406b4672015-03-03seyko <seyko2@gmail.com>Disable floating-point test for ARM soft-float
1531d70440b406f82015-03-03seyko <seyko2@gmail.com>A 32/64 bit tcc on linux: an arch specific path for libtcc1.a Don't use /usr/local/lib/tcc/libtcc1.a for i386 and x86_64 A $(tccdir)/i386 directory was used to install a libtcc1.a but only when cross compiling. And no x86_64 directory. And this directory location was unknown inside tccelf.c
15322e6626a4b3802015-03-03seyko <seyko2@gmail.com>Don't add a slash to the install path of the tcc in display_info()
1533859ce5e47f1d2015-03-03seyko <seyko2@gmail.com>Report a mingw as a execution environment instead of the Win32, Win64, WinCE when executing "tcc -v". Example $ ./i386-win-tcc -v tcc version 0.9.26 (i386, mingw) instead of the tcc version 0.9.26 (i386, Win32)
1534dfbb00c106282015-03-03seyko <seyko2@gmail.com>wincrt1.c: add definition of the __TRY__ if not defined Some i686-pc-mingw32-gcc don't know about __TRY__
15354b61f7f04b672015-03-03seyko <seyko2@gmail.com>A lrint functions in win32/include/math.h are rewrittem because tcc can't handle "t" constraint
1536351e2ec334252015-03-03seyko <seyko2@gmail.com>add declaration of the "double trunc (double _x)" and winsock2.h This allow to build a windows version of the nimrod compiler.
15377b96ddd0458d2015-03-03seyko <seyko2@gmail.com>win32/include/winsock2.h (look previous commit)
1538b8925960ec252015-03-03seyko <seyko2@gmail.com>correct a DllMain() declaration in dllcrt1.c and dllmain.c There is a DllMain() declaration in the mingw-runtime-4.0.3.1 and it differs from a tcc one.
1539f1e4b2b7f39b2015-03-04seyko <seyko2@gmail.com>disable-BTESTS
1540d972472c53f62015-03-04seyko <seyko2@gmail.com>Disable floating-point test for ARM soft-float
1541149c2a9cc98b2015-03-04seyko <seyko2@gmail.com>a cpu option of the configure script as a method to specify a target cpu
15427ec39e2288e22015-03-04seyko <seyko2@gmail.com>reverse a commit a6149c6dbb41: Set CONFIG_MULTIARCHDIR for cross compilers.
15437ed43415380e2015-03-04seyko <seyko2@gmail.com>a libraries paths
15441cbb4d322bc32015-03-04seyko <seyko2@gmail.com>build-libtcc1-by-tcc: use a new tcc to compile a libtcc1.c and alloca.S This will allow to build a libtcc1.a even if a bootstrap compiler don't support a target arch.
154554fc439e9ec22015-03-04seyko <seyko2@gmail.com>an unification of the tcc cross names for a windows produce a i386-win-mingw32-tcc i386-win-tcc x86_64-win-mingw32-tcc x86_64-win-tcc arm-win-mingw32ce-tcc arm-win-tcc
154676af948623522015-03-04seyko <seyko2@gmail.com>install-clean-tuning
154748d12e42ada82015-03-04seyko <seyko2@gmail.com>gcc options and mingw: move a gcc options detection from a makefile to the configure + define XCC and XAR if mingw32 defined + use XCC and XAR in lib/Makefile if defined Try "./configure --enable-mingw32; make". This must work
1548bfb7b0d9590d2015-03-04seyko <seyko2@gmail.com>--enable-tcc32-mingw option: build windows version on linux with i386-win-tcc --enable-tcc64-mingw option: build windows version on linux with x86_64-win-tcc
1549664c19ad5ef12015-03-04seyko <seyko2@gmail.com>partial revert of the commit 4ad186c5ef61 A test program:
15503fb8b14806792015-03-04Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccelf.c: File path component is "arm64", not "ARM64".
155144c6e992bdba2015-03-05Roy <roytam@gmail.com>Fix compiling in MinGW/MSYS
15524b92dbf9237c2015-03-05seyko <seyko2@gmail.com>Add a dependency for a PROGS and TCCLIBS to a Makefile
1553d9b87c087c932015-03-05seyko <seyko2@gmail.com>fixing decl_initializer() for size_only: don't eat ')' a test program:
1554883aafc6bb7a2015-03-06Roy <roytam@gmail.com>Makefile leftover of rev 44c6e99
155565a4fbd1d4a32015-03-06seyko <seyko2@gmail.com>Makefile: add dependencies for $($(I386_CROSS)_LINK), ...
15568764993c0d232015-03-06seyko <seyko2@gmail.com>Makefile: install tcc$(EXESUF) as symlink to the $(ARCH)-tcc
1557238e760a294c2015-03-06Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Add __builtin_return_address.
15588d4c861144922015-03-07seyko <seyko2@gmail.com>fix for the array in struct initialization w/o '{', case 2 a test program:
15599163393476422015-03-07Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>arm64-gen.c: In load(), do not sign-extend 32-bit VT_CONST.
1560ac70e6b840402015-03-07Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: Optimise 0<<x, 0>>x, -1>>x, x&0, x*0, x|-1, x%1.
1561d854dede033f2015-03-07Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>arm64: Optimise some integer operations with a constant operand.
156203303628c79c2015-03-07Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tests/Makefile: Quote to avoid: /bin/sh: 1: [: !=: unexpected operator
1563d73b488401152015-03-08Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>arm64: Implement __clear_cache.
156450899e30abf32015-03-08Michael Matz <matz@suse.de>Fix stack overwrite on structure return
15650ecee0072ddf2015-03-08Michael Matz <matz@suse.de>Find libtcc1.a on arm32
15662eb4f4a3badd2015-03-09Michael Matz <matz@suse.de>Remove incorrect comment
156725b2779c3d882015-03-09Michael Matz <matz@suse.de>x86-64: Fix stdarg for large non-float structs
156887ec08ecc88e2015-03-10seyko <seyko2@gmail.com>A native tcc for MSYS (Windows) must be i386-win-tcc.exe and not i386-tcc.exe i386-tcc.exe is a compiler for i386 Linux. A HOST_OS variable in Makefile is introduced and used to select a native compiler (which one to name as tcc.exe)
1569896a0c881ac32015-03-10seyko <seyko2@gmail.com>don't use a *-tcc to compile *.S files for ARM* A tcc for ARM* don't have an assembler. This is partial reverse of the commit build-libtcc1-by-tcc: use a new tcc to compile a libtcc1.c and alloca.S
15704ba7e5dc5a7d2015-03-10seyko <seyko2@gmail.com>A correction for the commit: revert a grischka patch: gdb refused to know "main" keep revert (check SHF_ALLOC) only for x86 target and keep a grishka patch for other targets
157168605ab4d41f2015-03-10Edmund Grimley Evans <Edmund.Grimley-Evans@arm.com>lib/Makefile: Partial revert of 896a0c881ac3.
15725bcc3eed7b932015-03-10Thomas Preud'homme <robotux@celest.fr>Add some missing nocode_wanted guard
15730e79df499a8a2015-03-10Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: (!nocode_wanted) -> (nocode_wanted) in arm64 part.
15745de8b5638f3d2015-03-10Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>.gitignore: Add lib/arm64.
1575aa812e8745522015-03-08Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Convert some lines from ISO-8859-1 to UTF-8.
1576e2650608cdeb2015-03-19seyko <seyko2@gmail.com>fix to allow build tcc by build-tcc.bat move call to print_defines() from tcc.c to the libtcc.c define a print_defines() as a ST_FUNC
15773dba9cc13d112015-03-19seyko <seyko2@gmail.com>"configure --enable-cross" on x86: build a libtcc1.a for x86_64
1578cfaa165e62292015-03-20seyko <seyko2@gmail.com>libtcc1.a while "configure --enable-cross" build and install libtcc1.a for i386, x86_64 and arm64 (libtcc1.a for x86_64 was not installed on i386)
1579e3851d233f7a2015-03-20seyko <seyko2@gmail.com>correction for the previous commit use "x86-64" as a directory name for the libtcc1.a installation when cross-compiling.
158078c076a70f562015-03-20seyko <seyko2@gmail.com>restore a linux 2.4.26 kernel compilation (commit 5bcc3eed7b93 correction)
158163d068d3f2082015-03-20seyko <seyko2@gmail.com>skip 73_arm64,test on ARCH=x86-64: it fails on this ARCH
1582b5d25654d8312015-03-21seyko <seyko2@gmail.com>configure: don't output CONFIG_LDDIR when build_cross = "yes"
1583aba2d648f43d2015-03-22seyko <seyko2@gmail.com>quick fix for the native tcc on debian/ubuntu
1584367bb6f4b78e2015-03-23seyko <seyko2@gmail.com>Revert of the commit: fix for the array in struct initialization w/o '{', case 2 A right solution for this problem will follow.
1585bd531ec1fde72015-03-23seyko <seyko2@gmail.com>A right fix for the array in struct initialization w/o '{' Parse a type if there is only one '(' before a type token. Otherwise a recursion will perform a job.
1586c2efd7c53b5e2015-03-23seyko <seyko2@gmail.com>revert a commit: Work around for the issue TCC doesn't handle -2147483648 properly because a tcc handle now -2147483648 properly. Look a commit: Make integer constant parsing C99 compliant
15878dbe129ab78c2015-03-23seyko <seyko2@gmail.com>fix a gcc compiler warning for the previous commit mark a constant as long long (or -std=gnu99 is needed)
15888f6390061d4e2015-03-23seyko <seyko2@gmail.com>fix for: x86_64-tcc compiled by i386-tcc is wrong A test program (must be compiled by the above version of the tcc):
1589724425addf522015-03-23seyko <seyko2@gmail.com>fix for a -dumpversion option: move it before -dD Options must be sorted and a long one must preceed a short one. What was before: tcc -dumpversion tcc: error: invalid option -- '-dumpversion'
1590cde79a805e672015-03-25seyko <seyko2@gmail.com>fix a bug #43984: tcc -run reports errno=2
1591a105837aaeb12015-03-26seyko <seyko2@gmail.com>fix: enforce bcheck.o linking when -b option is used
1592548a55eda53a2015-03-26seyko <seyko2@gmail.com>fix for the previous commit: tcc_add_support() was used before definition
1593acef4ff244bb2015-03-26seyko <seyko2@gmail.com>make a bound checking more compatible with Windows 64
15943b7f5008fdac2015-03-26seyko <seyko2@gmail.com>fix for the previous commit (compilation on RPi)
1595f2cfc07554c62015-03-28seyko <seyko2@gmail.com>fix: try to add a bounds.o only if __bounds_init not found
1596d80593bc4d432015-03-29seyko <seyko2@gmail.com>fix for the bcheck.o (bug #14958)
1597db08122d31a62015-03-29seyko <seyko2@gmail.com>Fix for Microsoft compilers
159896debc72f8c62015-03-30seyko <seyko2@gmail.com>a small revers for bcheck.o changes (d80593bc4d43)
1599fa0eff949d7e2015-04-07Raphael Cohn <raphael.cohn@stormmq.com>Adjusted configure to be more BSD friendly
16002ba7542e4b802015-04-07Raphael Cohn <raphael.cohn@stormmq.com>Adjusted configure host_os to use uname for Darwin Adjusted Makefile to make it Darwin (Mac OS X 10.10)-friendly for cross-compilers by removing the creation of arm64 cross-compilers on this platform.
160150fc86a4470c2015-04-07Raphael Cohn <raphael.cohn@stormmq.com>Fixing bug for Linux x86_64 introduced in previous macosx commit
1602aa6946b92c182015-04-07Raphael Cohn <raphael.cohn@stormmq.com>Fix to test for HOST_OS not TARGETOS
16039fc3d66f1b172015-04-07Raphael Cohn <raphael.cohn@stormmq.com>Fix to accommodate missing i386/bcheck.o during install on Mac OS X
1604dec959358a2d2015-04-10seyko <seyko2@gmail.com>fix the bug #31403: parser bug in structure
16053c372b4c8aed2015-04-10seyko <seyko2@gmail.com>remove a compilation warnings for libtest and test3
1606089ce6235c992015-04-10seyko <seyko2@gmail.com>output all sections if we produce an executable file
16075cd4393a542e2015-04-10seyko <seyko2@gmail.com>handle a -s option by executing sstrip/strip program
16087e7e6148fdb42015-04-10seyko <seyko2@gmail.com>fix installation amd bcheck for Windows
1609e92dc595cd102015-04-10seyko <seyko2@gmail.com>Add a demo.bat file to the examples directory on Windows
1610559675b90ace2015-04-10seyko <seyko2@gmail.com>a bounds checking code for the ARCH=x86_64
161170dbe169b2e72015-04-10seyko <seyko2@gmail.com>fix a preprocessor for .S
16128037a1ce39732015-04-10seyko <seyko2@gmail.com>fix a preprocessor for .S
1613d81611b6416a2015-04-10seyko <seyko2@gmail.com>fix a preprocessor for .S
161492efee6e52e62015-04-10seyko <seyko2@gmail.com>fix "handle a -s option" commit
16155c9dde7255b22015-04-10seyko <seyko2@gmail.com>option to use an old algorithm of the array in struct initialization
16164bb9dd44f14f2015-04-11seyko <seyko2@gmail.com>Fix for Microsoft compilers
1617e7a60e4d01a42015-04-12seyko <seyko2@gmail.com>replace a method to force bcheck.o linking
1618e8ad336ac5c02015-04-12seyko <seyko2@gmail.com>A new file CodingStyle with rules for indentation
1619dcb36587b5952015-04-12seyko <seyko2@gmail.com>-fdollar-in-identifiers switch which enables '$' in identifiers
162005364072042f2015-04-12seyko <seyko2@gmail.com>ability to specify a type of the input file with the -x switch
1621a13f183e4c2c2015-04-12seyko <seyko2@gmail.com>ability to compile multiple *.c files with -c switch
16228615bb40fb392015-04-15Steven G. Messervey <nuke48386@yahoo.com>implement #pragma comment(lib,...)
1623e50d68e4175d2015-04-16Steven G. Messervey <nuke48386@yahoo.com>Revert "implement #pragma comment(lib,...)"
1624aeaff94ec1db2015-04-16Steven G. Messervey <nuke48386@yahoo.com>implement #pragma comment(lib,...)
1625b472d53672bb2015-04-16seyko <seyko2@gmail.com>clarify error message when library not found
16269336fa7ae50e2015-04-18Thomas Preud'homme <robotux@celest.fr>Fix program symbols exported in dynsym section
16275ce2154c74d72015-04-20seyko <seyko2@gmail.com>-fdollar-in-identifiers addon
16285e8fb713c49c2015-04-20Ramsay Jones <ramsay@ramsay1.demon.co.uk>add missing test from -fdollar-in-identifiers commit
16290c8447db79702015-04-21seyko <seyko2@gmail.com>* and #pragma pop_macro("macro_name") * give warning if pragma is unknown for tcc * don't free asm_label in sym_free(), it's a job of the asm_free_labels().
1630b08ce88082282015-04-21seyko <seyko2@gmail.com>"#pragma once" implementation
1631aacf65bbfa1d2015-04-23Philip <pipcet@gmail.com>Bugfix: 32-bit vs 64-bit bug in x86_64-gen.c:gcall_or_jmp
1632059aea5d35dd2015-04-23Philip <pipcet@gmail.com>fix a subtle x86-64 calling bug
16337c27186a83ce2015-04-23grischka <grischka>Revert "* and #pragma pop_macro("macro_name")"
163472e8ff11e9802015-04-23grischka <grischka>tccpp: alternative #pragma push/pop_macro
16359cbab3630ec42015-04-25seyko <seyko2@gmail.com>a test for the #pragma push/pop_macro
16361dd3f88f3b842015-04-25Philip <pipcet@gmail.com>x86_64 ABI tests, which currently cause failures
16378d44851d65822015-04-25Philip <pipcet@gmail.com>Fix zero-length struct/union test. Remove nonsensical test.
16382d3458363e4e2015-04-26Philip <pipcet@gmail.com>fix another x86_64 ABI bug
16392df290073b042015-04-27seyko <seyko2@gmail.com>preprocess: "assign PARSE_FLAG_ASM_COMMENTS only for asm files"
16401351de6ad1bf2015-04-27seyko <seyko2@gmail.com>fixes for "tcc -E -dD"
16412e51f0ee632e2015-04-27Philip <pipcet@gmail.com>warn about declarations after statements when compiling with gcc.
1642bbcb54a1f40f2015-04-27seyko <seyko2@gmail.com>replace PARSE_FLAG_ASM_COMMENTS with PARSE_FLAG_ASM_FILE
1643bd489a48153a2015-04-27Philip <pipcet@gmail.com>add test case for VLA segfaults
1644d2dd6fdbfb492015-04-27Philip <pipcet@gmail.com>fix VLA/continue issue
164544c330d647c32015-04-28Philip <pipcet@gmail.com>VLA fix: save stack pointer right after modification
16464126056fbe622015-04-29Philip <pipcet@gmail.com>fix vstack leak
16472e04fa8872f32015-04-30Philip <pipcet@gmail.com>fix end-of-buffer error in tccpp.c
1648951a43ea6c772015-04-30Philip <pipcet@gmail.com>fix a potential end-of-buffer issue in tccelf.c
1649a6b94eff79d62015-05-01Philip <pipcet@gmail.com>tccpp.c: fix empty stringify
16503a922ad2ba522015-05-02Philip <pipcet@gmail.com>tccpp.c: fix ##-in-macros logic
16511e878200f7bb2015-05-02Philip <pipcet@gmail.com>tccpp.c: reset spc after macro_subst_tok()
1652a3d78b95d7562015-05-02Philip <pipcet@gmail.com>tccpp.c: fix endless loop
16530877ba7cbf272015-05-02Philip <pipcet@gmail.com>tccpp.c: parse flag to accept stray \
1654a6e6a954f5fb2015-05-02Philip <pipcet@gmail.com>tccpp.c: correct # stringification
16552f50cefbd4dd2015-05-02Philip <pipcet@gmail.com>tccpp.c: restore whitespace after failed macro
16562f90db434e682015-05-02Philip <pipcet@gmail.com>tccpp.c: fix GNU comma handling
1657823d0583dc342015-05-02Philip <pipcet@gmail.com>tccpp.c: unterminated macro argument error message
16583b4c42c3c0a42015-05-02Philip <pipcet@gmail.com>minor fix
165927ec4f67a33a2015-05-02Philip <pipcet@gmail.com>tccpp.c: minor fix I'd accidentally not committed
1660929d171f477a2015-05-02Philip <pipcet@gmail.com>Mostly revert "tccpp.c: minor fix I'd accidentally not committed"
16612ba219f781a32015-05-03seyko <seyko2@gmail.com>fix "tcc test.c -UAAA -UBBB"
1662576aeb3aa9332015-05-03seyko <seyko2@gmail.com>fix "tcc test.c -Wl,,--oformat,binary"
1663fca58734fb982015-05-03seyko <seyko2@gmail.com>-traditional and -iwithprefix options
1664999274ca900b2015-05-04seyko <seyko2@gmail.com>a lot simpler VLA code
1665c75d0deecf682015-05-04seyko <seyko2@gmail.com>VLA code minor fix
166670a6c4601e472015-05-04Philip <pipcet@gmail.com>VLA code: minor fix
166730df3189b1772015-05-09grischka <grischka>tccpp: fix issues, add tests
166887a0109604812015-05-10seyko <seyko2@gmail.com>restore "./configure --enable-tcc32-mingw" on linux
1669c497f9c82c5a2015-05-10seyko <seyko2@gmail.com>warn if multile -o option is given
1670ff06d4258eb42015-05-10seyko <seyko2@gmail.com>define __OPTIMIZE__ if -ON (N != 0)
1671cb7e820eaebe2015-05-10seyko <seyko2@gmail.com>tcc_add_dll is not used if TCC_TARGET_PE
1672ae09051c815e2015-05-11seyko <seyko2@gmail.com>allow to use MEM_DEBUG with libtcc
1673a98fd13090762015-05-12seyko <seyko2@gmail.com>a mem leak fix for "ability to compile multiple *.c files with -c switch"
1674121e95d1152b2015-05-12seyko <seyko2@gmail.com>a new version of the MEM_DEBUG
1675c52e1a9af5162015-05-12seyko <seyko2@gmail.com>SYMBOL_NAME_LABEL(X) X##:
16761234beccb8e92015-05-12seyko <seyko2@gmail.com>restore a max memory usage printing for a new MEM_DEBUG when -bench
167706e0753fce992015-05-12seyko <seyko2@gmail.com>minor pp optimizations
1678cf92f7aacbc92015-05-12seyko <seyko2@gmail.com>some -bench fixes
167980322adaa0542015-05-13seyko <seyko2@gmail.com>redo of the -dD option
1680101cc8747f762015-05-13seyko <seyko2@gmail.com>win32/include/winapi changes from https://github.com/run4flat/tinycc.git
16814e04f67c94c92015-05-14seyko <seyko2@gmail.com>fix-mixed-struct (patch by Pip Cet)
16825e67f24e6b152015-07-27gus knight <waddlesplash@gmail.com>Relicensing TinyCC.
168341031221c8232015-07-27gus knight <waddlesplash@gmail.com>Trim trailing spaces everywhere.
1684d6b64e2574bb2015-07-27gus knight <waddlesplash@gmail.com>Clean up lots of rogue tabs.
16859e1b6bf517ae2015-07-27gus knight <waddlesplash@gmail.com>Update CodingStyle.
1686694d0fdade8b2015-07-27gus knight <waddlesplash@gmail.com>clang-format on arm-gen.c and tcccoff.c.
168747e06c6d4e542015-07-27gus knight <waddlesplash@gmail.com>Reorganize the source tree.
1688e667d0cc9c282015-07-29Vincent Lefevre <vincent@vinc17.net>Relicensing TinyCC
168907c6263732ab2015-07-29Vincent Lefevre <vincent@vinc17.net>typo in RELICENSING
1690770fd39bd18b2015-07-29gus knight <waddlesplash@gmail.com>Relicensing TinyCC.
1691271abe7117982015-07-29gus knight <waddlesplash@gmail.com>Add a root Makefile for running targets in subdirectories.
16927f5b95ea32102015-07-29gus knight <waddlesplash@gmail.com>Fix formatting breakage from "rogue tabs" commit.
16935a16f5ea98a42015-07-29gus knight <waddlesplash@gmail.com>Fix Makefile.
169489ad24e7d63f2015-07-29gus knight <waddlesplash@gmail.com>Revert all of my changes to directories & codingstyle.
1695ef3d38c5c9d52015-07-29gus knight <waddlesplash@gmail.com>Revert "fix-mixed-struct (patch by Pip Cet)"
16968f620c8af8f62015-07-31gus knight <waddlesplash@gmail.com>Adding two more people to the RELICENSING file.
1697eb870b006c962015-09-23seyko <seyko2@gmail.com>SSE opcodes to TCC assembler (i386, x86_64)
1698e7e7a0d3013c2015-09-24seyko <seyko2@gmail.com>a number as a field name
16998077f0acc7162015-09-24seyko <seyko2@gmail.com>a number as a field name (part 2)
170000ba4b7625f62015-09-25seyko <seyko2@gmail.com>win32: UUID typedef added
17015860b639c6412015-10-11Kamil Rytarowski <n54@gmx.com>Add support for -D__NetBSD__
17026cb74ecacfcf2015-10-11Kamil Rytarowski <n54@gmx.com>Define __WINT_TYPE__ as int in NetBSD
1703a16f862cf6e42015-10-11Kamil Rytarowski <n54@gmx.com>Define CONFIG_TCC_ELFINTERP on NetBSD as /usr/libexec/ld.elf_so
1704eafd7a7d3b8d2015-10-15Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Correct prototype: void __clear_cache(void *, void *).
1705c899659d39fe2015-10-15Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: Remove undefined shift of negative signed value.
1706743684fe39a52015-10-15Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccpp.c: Avoid infinite loop on: printf '/**' | ./tcc -
1707f0b7566181d82015-10-16Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccelf.c: Reset sym after call to build_got.
1708c3975cf27c792015-10-17seyko <seyko2@gmail.com>parsing "..." sequence
1709285292992f2a2015-10-17seyko <seyko2@gmail.com>fix for the #include_next
1710ad524bb6c7de2015-10-17seyko <seyko2@gmail.com>reverse a previous patch
17116b9490b6ff5e2015-10-17seyko <seyko2@gmail.com>fix for the #include_next, v2
1712ad1c01f96c312015-10-19seyko <seyko2@gmail.com>fix for the #include_next, v3
1713003c532bf3932015-10-20seyko <seyko2@gmail.com>fix for the #include_next, v4 (final)
1714f3ce1be3333a2015-10-24seyko <seyko2@gmail.com>tcc help output for the -xc -xa - options
171512f94f2770302015-10-24seyko <seyko2@gmail.com>include/stddef.h: define NULL only if undefined
1716c07785a1eac22015-10-24seyko <seyko2@gmail.com>comment out tcc_error_noabort("'%s' defined twice"...
171735e715a1e3eb2015-10-29seyko <seyko2@gmail.com>defined twice: revert
1718f4082851eafd2015-10-31Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Enable variable-length arrays on arm64.
17199bf0e57509b62015-11-04Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tests/tcctest.c: Fix up format strings.
17208eab556ac51b2015-11-04Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: Fix memory leak involving asm_label.
1721b051549f2eb92015-11-04Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: Use memmove for struct assignment: dest and src may be equal.
172220f0c179daea2015-11-04Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccpp.c: Define and use tok_last for checking if last token is space.
172324308fd292852015-11-04Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccpp.c: In TOK_GET, add comment warning about illegal cast.
1724f7dd3d49ccf02015-11-04Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>lib/libtcc1.c: Replace "long" with "unsigned int" in union float_long.
172545bc505968742015-11-05seyko <seyko2@gmail.com>win32/include/math.h: remoing a "t" modifier usage
1726a6276b7a78462015-11-05seyko <seyko2@gmail.com>normalize inc dirs, symplify include_next
17270ad87a094cf72015-11-05seyko <seyko2@gmail.com>fix for the previous commit
172841408f2104822015-11-05seyko <seyko2@gmail.com>fix for the "tccgen.c: Use memmove for struct assignment"
172997916c9d042a2015-11-05seyko <seyko2@gmail.com>tcc.h: remove CONFIG_TCCBOOT part
17307f0b798418c12015-11-05Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tcctok.h: Revert 41408f2, which moved TOK_memmove.
1731eb00777309f12015-11-05Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tcctok.h: Put TOK_memmove in the correct places (I hope).
17327cb921a44b972015-11-05seyko <seyko2@gmail.com>TOK_INCLUDE: streamline
17338fc9c79705162015-11-05seyko <seyko2@gmail.com>TOK_INCLUDE: fix for the "normalize inc dirs"
17347307a6a3cb942015-11-07Avi Halachmi (:avih) <avihpit@yahoo.com>Revert "win32/include/math.h: remoing a "t" modifier usage"
17356e261a107cf92015-11-06Avi Halachmi (:avih) <avihpit@yahoo.com>win: math.h: isnan: use macro, similar to others (still broken)
17369c52ba48b3472015-11-01Avi Halachmi (:avih) <avihpit@yahoo.com>win: math.h: fix fpclassify/signbit/etc - use C instead of broken asm
17379d33388b290d2015-11-07Avi Halachmi (:avih) <avihpit@yahoo.com>win: libm: add implementation for round/fmin/fmax and variants
1738acbab220c8692015-11-08Avi Halachmi (:avih) <avihpit@yahoo.com>win: fix dir comparison during include dirs processing
1739ec67dc482feb2015-11-08Avi Halachmi (:avih) <avihpit@yahoo.com>win: fix incorrect directory detection
1740763dd22b35f82015-11-08seyko <seyko2@gmail.com>fix tcc_mormalize_inc_dirs naming
174137e815eee1992015-11-08seyko <seyko2@gmail.com>lib/Makefile: filter-out -b flag from XFLAGS
1742951c23f257082015-11-08Avi Halachmi (:avih) <avihpit@yahoo.com>win: include dirs: add some docs, minor refactor
1743c52128c581c82015-11-09Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccelf.c: Avoid two trivial instances of undefined behaviour.
1744a7334f791d7e2015-11-09Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>arm64-gen.c: Avoid some cases of undefined behaviour.
1745c39bc9caa7b52015-11-11Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>libtcc.c: Completely replace tcc_normalize_inc_dirs.
17463712c958f4ef2015-11-13Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tests/tests2/79_vla_continue.c: Fix off-by-one error.
1747569fba6db9c12015-11-17Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Merge the integer members of union CValue into "uint64_t i".
17485d496b1695802015-11-17Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: Avoid undefined behaviour in constant propagation.
1749553242c18a232015-11-19Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Replace pointer casts with calls to (read|write)(16|32|64)le.
1750ba99a70cd88f2015-11-19Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Trivial changes to avoid some compiler warnings.
175158a34d22c9bb2015-11-19Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: Improvements to type_to_str (only used for error messages).
175230c54c9d433f2015-11-19Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: In parse_btype, handle typedef types with added type qualifiers.
1753992cbda8d0952015-11-20Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: Recognise constant expressions with conditional operator.
175454cf57ab1a852015-11-20grischka <grischka>tccgen: asm_label cleanup
17550b3612631f492015-11-20grischka <grischka>tccpp: cleanup #include_next
17568dd1859176032015-11-20grischka <grischka>tccpp: allow .. in token stream
17574ae626451e5b2015-11-20Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Bug fix for commit 553242c18a2387fb896df66eb9b5a502f0e87ff0.
1758c7067aeb844f2015-11-20Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccelf.c: On arm64, use read64le, and use uint64_t to check range.
17593ff77a1d6fbc2015-11-20Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Improve constant propagation with "&&" and "||".
17605bd5fd488d952015-11-20Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>CodingStyle: Add notes on language and testing.
1761dd40d6a068082015-11-21Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>TODO: Add some issues.
1762cfef9ac3f53b2015-11-21Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>TODO: Add note on handling of floating-point values.
1763737f9842138a2015-11-21Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: Bug fix for 992cbda and 3ff77a1: set nocode_wanted.
17647301b42e362a2015-11-22Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: Try to make sizeof(!x) work.
176551c3465a49852015-11-23Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tcc.h: Change order of built-in include paths: put TCC's own dir first.
176699372bb1d3992015-11-26Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: Give error if statement expression found when const wanted.
17674886d2c640022015-11-26Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>TODO: Add two issues.
17681c2dfa1f4bb12015-11-21Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Change the way struct CStrings are handled.
1769d1e15514aaf82015-12-15Vincent Lefevre <vincent@vinc17.net>Fixed a dependency (error with make -j8).
1770c4d0498b3ae32015-12-17Michael Matz <matz@suse.de>x86-64: Add support for new psABI relocations
1771e264243adc092015-12-17Michael Matz <matz@suse.de>x86-64: Define symbol constant for new relocs
1772f15c0a93336e2015-12-17Michael Matz <matz@suse.de>x86-64: fix shared libs
1773933c2235e5c92015-12-27Thomas Preud'homme <robotux@celest.fr>i386: Add support for new psABI relocation
1774541b33591c742016-01-06Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>CodingStyle: Remove reference to misaligned struct CString.
1775f75f89fc8f212016-01-11Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tccgen.c: In parse_btype, handle type qualifiers applied to arrays.
17767e0ad4fdd2d52016-03-10Henry Kroll III <henry@comptune.com>tccgen.c: off by one in flexible array members
1777ceccd3ead3882016-03-11Michael Matz <matz@suse.de>tccgen.c: Fix flex array members some more
17788e4d64be2fc12016-03-13Vlad Vissoultchev <wqweto@gmail.com>Silence FIXME and compiler warning
17792dc7161453a92016-03-13Vlad Vissoultchev <wqweto@gmail.com>Win32 build script handles `x64` and `debug` params
178095aac21130eb2016-03-13Vlad Vissoultchev <wqweto@gmail.com>Move WIN32_LEAN_AND_MEAN to windows.h (silence redeclarations)
1781d715ebdae00a2016-03-13Vlad Vissoultchev <wqweto@gmail.com>Add x64 SEH decls. Add exports to kernel32.def
178232755dbea9b52016-03-13Vlad Vissoultchev <wqweto@gmail.com>Migrate static STRING_MAX_SIZE buffers to CString instances for large macros expansion
17839d778c7bb68f2016-03-13Vlad Vissoultchev <wqweto@gmail.com>Keep lvalue category on structs when evaluating ternary operator
1784712eca44d5122016-03-14Vlad Vissoultchev <wqweto@gmail.com>Revert spawnvp param cast and use `no-incompatible-pointer-types` in build-tcc.bat
17855175b1ad87d92016-03-14Vlad Vissoultchev <wqweto@gmail.com>Use proper ifdef for x64 check in winnt.h
1786fa2472c172462016-03-14Vlad Vissoultchev <wqweto@gmail.com>Fix tests Makefiles on Windows
178717395ea5070b2016-03-14Vlad Vissoultchev <wqweto@gmail.com>tccpp.c: Fix failing `PPTest 03` by reverting rogue modification in `macro_arg_subst`
178805ec6654a76b2016-03-14Vlad Vissoultchev <wqweto@gmail.com>Identifiers can start and/or contain '.' in PARSE_FLAG_ASM_FILE
1789aa1ed616eb012016-03-14Vlad Vissoultchev <wqweto@gmail.com>Move all GAS directives under TOK_ASMDIR prefix to include leading '.'
1790f85db99ff0b42016-03-24Michael Matz <matz@suse.de>Fix type parsing
17918fc5a6a2a49f2016-03-24Michael Matz <matz@suse.de>Fix tokenization of TOK_DOTS
179280343ab7d8292016-03-26Michael Matz <matz@suse.de>Fix assignment to/from volatile types
17932bf43b5483fb2016-04-03seyko <seyko2@gmail.com>reverse of the "Identifiers can start and/or contain '.'"
179441785a0bf9d52016-04-03seyko <seyko2@gmail.com>-fnormalize-inc-dirs
17955278d217ff4c2016-04-03seyko <seyko2@gmail.com>R_386_COPY
179621665f4338902016-04-04seyko <seyko2@gmail.com>describe -fnormalize-inc-dirs in tcc-doc.texi
1797d3e85e80fd192016-04-05seyko <seyko2@gmail.com>Identifiers can start and/or contain '.' in *.S
17985a704457e27a2016-04-05seyko <seyko2@gmail.com>optimization of the previous patch
1799c9473a7529aa2016-04-05seyko <seyko2@gmail.com>nocode_wanted with while/for inside ({})
1800936819a1b90f2016-04-05seyko <seyko2@gmail.com>utf8 in identifiers
1801983c40f58ba92016-04-05seyko <seyko2@gmail.com>compilation speed of the tccboot correction
1802effc7d9ed4e42016-04-05seyko <seyko2@gmail.com>cleaning "Identifiers can start and/or contain"
18030691b7630b892016-04-04Vlad Vissoultchev <wqweto@gmail.com>tccgen.c: Allow type attributes to prefix enum/struct/union name
1804e946eb2a41092016-04-06Vlad Vissoultchev <wqweto@gmail.com>Implement -dM preprocessor option as in gcc
1805174d06a3ff542016-04-06Vlad Vissoultchev <wqweto@gmail.com>Skip math library if not found when -lm option is used
1806131d776d66232016-04-13seyko <seyko2@gmail.com>revert of the 'Identifiers can start and/or contain'
1807f869dfb47ffe2016-04-13seyko <seyko2@gmail.com>document -dM in "tcc -h" output
1808b0296139a8ca2016-04-13seyko <seyko2@gmail.com>fix for the -dM patch
1809b5b3e89f9e672016-04-13seyko <seyko2@gmail.com>Fix pragma once guard
181052d194a1e6872016-04-13seyko <seyko2@gmail.com>VS2015 solution and project files
1811a1a5c81e6cb02016-04-13seyko <seyko2@gmail.com>win32: Add missing header files for nginx compilation
1812989b5ee8aee92016-04-13seyko <seyko2@gmail.com>Allow tcc arguments to be read from @listfiles
18136a49afb3ed132016-04-13seyko <seyko2@gmail.com>correct version of "Identifiers can start and/or contain"
1814810a677d32ac2016-04-13Vlad Vissoultchev <wqweto@gmail.com>tccpp.c: Guard against ppfp being NULL
181598ffeaa0c5042016-04-11Vlad Vissoultchev <wqweto@gmail.com>win32: Better VS2015 solution and project files
1816b3782c3cf5e62016-04-10Vlad Vissoultchev <wqweto@gmail.com>Better pragma once guard
1817cb5f6b063b2b2016-04-12Vlad Vissoultchev <wqweto@gmail.com>Simplify @listfiles parsing
181834feee0ed6872016-04-13Vlad Vissoultchev <wqweto@gmail.com>Move utility functions `trimfront/back` to tccpp.c
18195fb57bead41c2016-04-14seyko <seyko2@gmail.com>fix for thev "#pragna once" guard
182016cbca281fe52016-04-14seyko <seyko2@gmail.com>fix preprocessing *.S with ` ' chars in #comments
1821c6dc756d4e692016-04-15seyko <seyko2@gmail.com>preprocessor oprtion -C (keep comments)
18225ee097fce9de2016-04-15seyko <seyko2@gmail.com>allow to compile tcc by pcc
1823e010b1396beb2016-04-16seyko <seyko2@gmail.com>__builtin_expect no-op
1824587aacedf37e2016-04-17seyko <seyko2@gmail.com>simplify -C printing
1825f021a7cd94c72016-04-17Vlad Vissoultchev <wqweto@gmail.com>Add travis tests integration
1826acc8f602e57d2016-04-17Vlad Vissoultchev <wqweto@gmail.com>Revert "Fix tests Makefiles on Windows"
1827224236f57c7d2016-04-17Vlad Vissoultchev <wqweto@gmail.com>Improve hash performance
1828cdc16d428f322016-04-17Vlad Vissoultchev <wqweto@gmail.com>Reduce allocations overhead
1829d25f67ec12b32016-04-22Michael Matz <matz@suse.de>Run testcases in sorted order
18308db7a0f7af3d2016-04-22seyko <seyko2@gmail.com>Source and destination overlap in memcpy, cstr_cat (tccpp.c:322)
1831edcb15c31fd92016-04-22seyko <seyko2@gmail.com>section alignment
18321f49441a27da2016-04-22seyko <seyko2@gmail.com>.rept asm directive
1833b4125ba0c18a2016-04-22seyko <seyko2@gmail.com>fix for the "Reduce allocations overhead"
183468ce8639bbd02016-04-24Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>TODO: Add two issues.
1835256078933c812016-04-29grischka <grischka>tccpp: macro subst fix
1836a1c139063b912016-05-01seyko <seyko2@gmail.com>output space after TOK_PPNUM which followed by '+' or '-'
18373283c26827102016-05-01seyko <seyko2@gmail.com>clearing "output space after TOK_PPNUM ..."
183809a78412f0712016-05-01seyko <seyko2@gmail.com>lcall hex code correction
18396afe668ec7a12016-05-01seyko <seyko2@gmail.com>__asm__() outside function
1840d1515a0536d32016-05-02Michael Matz <matz@suse.de>i386-asm: correct lcall/ljmp encoding
184178ee3759b8212016-05-02Michael Matz <matz@suse.de>x86-asm: Fix lcall/ljmp, xchg and inc/dec
184278e4ee55b7242016-05-04seyko <seyko2@gmail.com>PP_NUM in ASM mode
18432bfedb1867522016-05-04seyko <seyko2@gmail.com>-fno-type-redefinition-check
184407d896c8e5d12016-05-04seyko <seyko2@gmail.com>sym_push2 optimized for the local_stack case.
184560158405836a2016-05-04Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Revert 3283c26 and a1c1390 in tccpp.c.
1846a348513569192016-05-04Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Revert 78e4ee5.
18470fbc77cac6d12016-05-04Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>tests/tests2/Makefile: Make 85-asm-outside-function Intel-only.
1848caebbc3ee1072016-05-05grischka <grischka>tccgen: scope levels for local symbols
1849fe845cf53da22016-05-05grischka <grischka>tccpp: cleanup options -dD -dM, remove -C
1850d48662d496502016-05-05grischka <grischka>tccgen: scopes levels for local symbols (update 1)
1851a94e8d439acb2016-05-06grischka <grischka>tccgen: scopes levels for local symbols (update 2)
185275243f744c602016-05-08seyko <seyko2@gmail.com>TOK_PPNUM in asm (Edmund Grimley Evans version)
1853f5f82abc99422016-05-04Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Insert spaces between certain tokens when tcc is invoked with -E.
18545e47b08dc8022016-05-09Michael Matz <matz@suse.de>[x86] Fix some asm problems
18559645b62a65982016-05-09Michael Matz <matz@suse.de>x86_64: Use addend on relocs
1856bd93dc6923a92016-05-11Michael Matz <matz@suse.de>x86: Improve cmov handling
1857613962e353992016-05-11Michael Matz <matz@suse.de>x86-64 asm: Remove useless jmp opcode
18584d688282594e2016-05-11Michael Matz <matz@suse.de>tests: Compile asmtest.S without -m32
1859f0fa5603cfd22016-05-10Michael Matz <matz@suse.de>x86-64: Run asmtest as well
186055bd08c5aedf2016-05-11Michael Matz <matz@suse.de>x86-asm: Remove old ASM_16 code
1861f3cee9ceffb22016-05-11Michael Matz <matz@suse.de>x86-asm: Get rid of is_short_jump
1862b9f01dffc61d2016-05-11Michael Matz <matz@suse.de>x86-64-asm: Clean up 64bit immediate support
18636bd8c936e33d2016-05-11Michael Matz <matz@suse.de>x86-64-asm: Add mov[sz]xq opcodes
1864a66ba1f2a1132016-05-11Michael Matz <matz@suse.de>Error out on operations on structs
18655e4d0718ff4c2016-05-12grischka <grischka>tcc -E -P10 : output all numbers as decimals
1866080ec9faddc42016-05-11Michael Matz <matz@suse.de>x86-asm: Consolidate insn descriptions
18674f27e217a8642016-05-14Michael Matz <matz@suse.de>x86-asm: Fix signed constants and opcode order
18687cfd21440b1b2016-05-14Michael Matz <matz@suse.de>x86-asm: Add .fill test
18699d679e3916602016-05-15seyko <seyko2@gmail.com>memory model macros __{L,}LP64__
1870a37f8cfc80502016-05-15seyko <seyko2@gmail.com>short_call_convention patch from tcc bugzilla
18710f36f60faa052016-05-16seyko <seyko2@gmail.com>fix line number in macro redefined message
1872f2a4cb0a0edc2016-05-16Michael Matz <matz@suse.de>x86-asm: Reject some invalid arith imm8 instruction
18733f233ab127632016-05-16seyko <seyko2@gmail.com>fix asm_expr_unary()
18741339d04759542016-05-16Christian Jullien <jullien@coltrane.eligis.com>Microsoft says that _spawnp must be used instead of spawnp. It fixes a warning when compiled with MinGW 32/64 gcc compilers
187519a169ceb8962016-05-20seyko <seyko2@gmail.com>--whole-archive support
18764e7a8906a1cf2016-05-20seyko <seyko2@gmail.com>configure: docdir fix
1877778ec44adcc92016-05-20seyko <seyko2@gmail.com>[avih] configure: support custom ar with --ar=
1878824b1b582fc32016-05-20seyko <seyko2@gmail.com>make and install tiny_libmaker on all platforms
187918cbe62e69862016-05-20seyko <seyko2@gmail.com>fix a mingw64 build on Linux with --enable-tcc64-mingw
1880d0e48c51c7692016-05-20seyko <seyko2@gmail.com>[avih] a custom build dir fix for lib/Makefile
1881bab4519617f92016-05-20seyko <seyko2@gmail.com>Allow to perform tests from the custom build dir:
18829e0e05eb4ed12016-05-25grischka <grischka>Redo "fix line number in macro redefined message"
18831ca685f887312016-05-25grischka <grischka>tccgen: gen_assign_cast(): cannot cast struct to scalar
1884100f94be99ef2016-06-12Avi Halachmi (:avih) <avihpit@yahoo.com>tiny_libmaker: more robust arguments interpretation
1885b67951bed4032016-06-18Avi Halachmi (:avih) <avihpit@yahoo.com>win32: wchar.h: don't redifine WCHAR_MIN[/MAX] (after stdint.h)
1886ab8422c8e72f2016-06-19Avi Halachmi (:avih) <avihpit@yahoo.com>win32: malloc.h: use alloca instead of (missing) _alloca
18873f21d810737e2016-06-19Avi Halachmi (:avih) <avihpit@yahoo.com>win32: _mingw.h: add definition for _TRUNCATE from newer _mingw.h
18881751588435592016-06-19Avi Halachmi (:avih) <avihpit@yahoo.com>tiny_libmaker: fix a comment
188903609051249a2016-07-05Vincent Lefevre <vincent@vinc17.net>fix typo in -Wl,-rpath documentation
189041349948f8db2016-07-10grischka <grischka>win64: fix va_arg
18910a402f6e91c22016-08-04David Mertens <dcmertens.perl@gmail.com>Avoid conflicting definition for va_list on 64-bit Macs
189271b6220963342016-08-11Pavlas, Zdenek <zden3k@gmail.com>tccgen: return: avoid jmp to retsym if possible
18930373fe0e2a502016-08-16David Mertens <dcmertens.perl@gmail.com>Remove vestiges of earlier type merger
1894c948732efaf82016-08-17Pavlas, Zdenek <zden3k@gmail.com>x86_64/elf: only variadic calls need rax
1895e91ce66dadf82016-09-25Christian Jullien <jullien@coltrane.eligis.com>Add test for __*LP*__ predefined macros
1896c1b101cbafac2016-09-25Christian Jullien <jullien@coltrane.eligis.com>Improve __*LP*__ predefined macros
1897e38f49e32acf2016-09-25Christian Jullien <jullien@coltrane.eligis.com>Fix test for __*LP*__ predefined macros
1898ff158bffe6f72016-09-26Jean-Claude Beaudoin <jean.claude.beaudoin@gmail.com>Rein in unintended external functions.
189930238b1ebdef2016-09-26Christian Jullien <jullien@coltrane.eligis.com>Add Microsoft processor identification
19006db7a2157bd42016-09-26Christian Jullien <jullien@coltrane.eligis.com>Merge branch 'mob' of git://repo.or.cz/tinycc into mypatch
1901e037fd3364092016-09-26Christian Jullien <jullien@coltrane.eligis.com>pstrcpy looks to be needed by Windows win32/win64 builds. Reverted as PUB_FUNC to allow tcc.exe build again.
190208335c1548c02016-09-27Jean-Claude Beaudoin <jean.claude.beaudoin@gmail.com>More properly propagate ONE_SOURCE.
1903889ee28ed5622016-09-27Jean-Claude Beaudoin <jean.claude.beaudoin@gmail.com>Rein in unintended external functions on Windows.
1904beab3f8c715e2016-09-29Jean-Claude Beaudoin <jean.claude.beaudoin@gmail.com>Use etags to produce target TAGS.
1905d5a1e32ac3262016-09-29Jean-Claude Beaudoin <jean.claude.beaudoin@gmail.com>Prevent tail spin crash when option -pthread is used.
1906fc0fc6aba3d82016-09-21Pavlas, Zdenek <zden3k@gmail.com>switch: collect case ranges first, then generate code
1907e238e6521bcb2016-09-30Pavlas, Zdenek <zden3k@gmail.com>gtst_addr(): short conditional jumps (i386, x86_64)
1908cf32bb8812582016-10-01grischka <grischka>Revert "--whole-archive support"
190907e47b3dd68d2016-10-01grischka <grischka>tccpp: restore -D symbols for multiple sources
19103ddbfe1a82bb2016-10-01grischka <grischka>tccpp: #pragma once: make it work
1911e630113771732016-10-01grischka <grischka>Revert "ability to compile multiple *.c files with -c switch"
191209a487eb2b2b2016-10-01grischka <grischka>libtcc: cleanup -x<filetype> switch code
1913eacdc426d76a2016-10-01grischka <grischka>libtcc: cleanup @listfile
1914766ba3694dae2016-10-01grischka <grischka>tccpp: cleanup
19158637c1d0ad082016-10-01grischka <grischka>Remove misc. files
1916acac35c125972016-10-01grischka <grischka>libtcc: filetype cleanup
19179c5bb16447e32016-10-01grischka <grischka>Revert part of "fix installation amd bcheck for Windows"
19182d6aa65067b62016-10-01grischka <grischka>Revert "output all sections if we produce an executable file" -- Not a fix This reverts commit 089ce6235c99638ad4542a57af4d09e2be0efc88.
19192f1174550e9b2016-10-01grischka <grischka>libtcc: -Wl,... incremental parsing
19200d9f88ea67942016-10-01grischka <grischka>libtcc: reimplement option -Wl,[-no]-whöle-archive
19216d2be31b93be2016-10-01grischka <grischka>test/pp: cleanup
19220a624782dfc82016-10-01grischka <grischka>build: revert Makefiles to 0.9.26 state (mostly)
1923afdbc5b8152d2016-10-01grischka <grischka>build: restore out-of-tree support
1924643a1b8848d32016-10-01grischka <grischka>tcc -E: add one space in cases: tiny solution
1925c5b9ae4e3f5f2016-10-01grischka <grischka>Revert "-fnormalize-inc-dirs"
19268afb8ccba2412016-10-01grischka <grischka>tccpp: token ## pasting: preserve parts if pasting fails
19275a23a72aeda92016-10-01grischka <grischka>tccpp: allow "0x1e+1" in asm
1928332cf5327fa02016-10-01grischka <grischka>tccpp: parse_line_comment: fix possible buffer overrun
1929e03306d1709d2016-10-01grischka <grischka>tccelf: allow multiple declaration of bss/common symbols
1930d25948c5a7922016-10-01orbea <ovariegata@yahoo.com>Fix building man pages.
193149d3118621a62016-08-25Balazs Kezes <rlblaster@gmail.com>Incorrect function call code on ARMv6
1932f350487e1e5d2016-10-01grischka <grischka>win32/64: msys2 support
1933c2ad11ac70b92016-10-01grischka <grischka>tccgen: fix long long -> char/short cast
1934da63695cf3ee2016-10-03Pavlas, Zdenek <zden3k@gmail.com>switch: fix label sorting
1935f795e1be83272016-10-03Pavlas, Zdenek <zden3k@gmail.com>switch: binary search
193678f1c10e0f102016-10-03grischka <grischka>configure: fix tcc_lddir, cpu
19375805b07218ae2016-10-03grischka <grischka>Alternative fix for "Incorrect function call code on ARMv6"
19381c4cf18556322016-10-04grischka <grischka>tccpp: no cache for include if #elif seen
1939b691585785082016-10-04grischka <grischka>tccgen: arm/i386: save_reg_upstack
1940b42cb16b65ed2016-10-05grischka <grischka>Misc. fixes
19413dfee1d290c62016-10-08Daniel Glöckner <daniel-gl@gmx.net>arm-gen.c: detect long double structures as HFA
1942c09b6ce975192016-10-08Daniel Glöckner <daniel-gl@gmx.net>tccgen.c: use correct type for storing long double constants
19436775c7cb3a6d2016-10-08Daniel Glöckner <daniel-gl@gmx.net>tccgen.c: fix multi-register structure return when not on stack
194452a152235ee32016-10-08Daniel Glöckner <daniel-gl@gmx.net>arm-gen.c: replace register constants with enum values
1945bf10bca192ee2016-10-08Daniel Glöckner <daniel-gl@gmx.net>tccgen.c: make vla_runtime_type_size always return the alignment
194678c08898aeb82016-10-08Daniel Glöckner <daniel-gl@gmx.net>arm-gen.c: support VLAs
194771b16f4e18b22016-10-09grischka <grischka>tccpp : "tcc -E -P" : suppress empty lines
194861894e17cdbe2016-10-10Avi Halachmi (:avih) <avihpit@yahoo.com>build: win32: don't use mklink - use ln or fallback to cp
194907818ec6a7eb2016-10-10Avi Halachmi (:avih) <avihpit@yahoo.com>build: out-of-tree: fix docs
195035b7bf9382162016-10-10Avi Halachmi (:avih) <avihpit@yahoo.com>build: win: detect also mingw64 in msys2 setup
19515a0ca53a4a872016-10-10Avi Halachmi (:avih) <avihpit@yahoo.com>build: strip: unify win32 and use the configured $STRIP
195294d8d12c26de2016-10-10Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Fix handling of case_reg in switch statement.
19537dddd65b46082016-10-10Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>In gen_vla_sp_restore, use X30 rather than get_reg.
19547bd30a488acb2016-10-11Pavlas, Zdenek <zden3k@gmail.com>gcase() clean up
195507ca2df5889a2016-10-11Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Use R_AARCH64_MOVW_UABS_G* instead of R_AARCH64_CALL26.
19568986bc8af4732016-10-12Christian Jullien <jullien@sims3.eligis.com>Use ISO C string functions instead of obsolete BSD ones that used to be in strings.h. It allows more systems -- i.e. Windows -- to use those tests
1957ed15cddacd142016-10-13grischka <grischka>tccgen: 32bits: fix PTR +/- long long
1958c232af7ddbbf2016-10-14Michael Matz <matz@suse.de>Support archives with 64 bit indices
19597600b03f35a02016-10-14Michael Matz <matz@suse.de>arm64: Support PREL32 relocation
1960682ecc1745122016-10-14Michael Matz <matz@suse.de>arm64: Fix -run
1961383f568a64d92016-10-14Michael Matz <matz@suse.de>Fix misleading indentation
196218a5d8188ac62016-10-15Christian Jullien <jullien@sims3.eligis.com>World is not reduced to either Windows or Linux
196336759ddacf382016-10-15Christian Jullien <jullien@openbsd.eligis.com>Start support of OpenBSD, tcc compiler can be produced from source tree
196470dec93f2b4a2016-10-15Christian Jullien <jullien@openbsd.eligis.com>OpenBSD does not support -v option in rm command.
19653e324795945a2016-10-15Christian Jullien <jullien@openbsd.eligis.com>Add more OpenBSD support.
19664d247c00a3e92016-10-15grischka <grischka>tccgen/tccelf: move code from libtcc.c
1967f3c1ea6c2d7d2016-10-15grischka <grischka>#define __GNUC__ = 2.1
1968f7bfa0970e632016-10-15Christian Jullien <Christian Jullien>Backslash was missing after reindentation to let code be < 80 col.
196906db384f8a552016-10-15Christian Jullien <Christian Jullien>No 'Thread Storage Local' on FreeBSD with tcc.
19704ac0e1971ede2016-10-16Christian Jullien <Christian Jullien>Actual complete name for DragonFly is 'DragonFly BSD'.
19716245db9fca402016-10-16grischka <grischka>tccgen/32bits: fix unsigned long long -> int cast
1972d9b7f018ce082016-10-16grischka <grischka>i386: do not 'lexpand' into registers necessarily
197368a7af632c332016-10-16Michael Matz <matz@suse.de>x86-64: Fix long long bug
19746fbcc14a5d392016-10-16Michael Matz <matz@suse.de>system-hacks: define __GNUC__ for FreeBSD
19750be098929a062016-10-17grischka <grischka>tccpp_new/delete and other cleanups
197602919cd275062016-10-17grischka <grischka>configure: --triplet= option, Makefile: cleanup
1977bfd1c08d6c572016-10-19grischka <grischka>tccrun/win64: cleanup runtime function table
197802642bc94cb62016-10-19grischka <grischka>lib/libtcc1.c: cleanup
19793054a76249d12016-10-19grischka <grischka>i386-gen: use EBX as 4th register
1980cdf715a0b5bf2016-11-09Pavlas, Zdenek <zden3k@gmail.com>i386 + bcheck: fix __bound_local_new
1981550e861bf7a22016-11-09Pavlas, Zdenek <zden3k@gmail.com>bcheck: add structs to local regions
19827e7f2e5d1b402016-11-10Pavlas, Zdenek <zden3k@gmail.com>bcheck: access fields of local structs w/o bcheck
19837c28c9b13f7c2016-11-11grischka <grischka>tccgen: inline_functions double free fix
198459216d3db0bb2016-11-11grischka <grischka>tccgen: fix inline_functions double free fix
19854af25aed92842016-11-13Thomas Stalder <git@netsolux.ch>remove warnings
198647fd807f9b622016-11-13Thomas Stalder <git@netsolux.ch>arm: Fix relocate_section with TCC_OUTPUT_MEMORY
19874a3741bf02eb2016-11-20grischka <grischka>x86_64-asm: =m operand fixes
1988a52a39179a472016-11-20grischka <grischka>tccelf: introduce add32/64le()
19890d14e7e698ce2016-11-28grischka <grischka>configure: prefer lib64 on 64-bit platforms
19903c68a8c6c04e2016-11-22David Mertens <dcmertens.perl@gmail.com>Minor grammar fixes to docs
1991d2e2f423820c2016-11-22David Mertens <dcmertens.perl@gmail.com>Implement gcc bitfield algorithm; add -mms-bitfields
1992ed99f3608df32016-11-30Christian Jullien <Christian Jullien>Remove warning when __builtin_frame_address is used with gcc >= 6.
1993ccf9ed7d54912016-11-25root <root@mallow.celest.fr>Clear SHF_GROUP flag when linking
1994bf692af31b932016-11-12Thomas Preud'homme <robotux@celest.fr>Fix error logic for undefined reference in library
1995e9769a7249442016-11-12Thomas Preud'homme <robotux@celest.fr>Do not add symbol if it is already there
19969e6610b0aaa92016-11-12Thomas Preud'homme <robotux@celest.fr>Improve comments for symbol export and binding
199764b5ee2dea3a2016-11-12Thomas Preud'homme <robotux@celest.fr>Rename add_elf_sym to set_elf_sym
1998f924d0ca964b2016-11-12Thomas Preud'homme <robotux@celest.fr>Improve put_got_entry doc and structure
199960374d01ae562016-11-12Thomas Preud'homme <robotux@celest.fr>Add address of GOT + 8 in PLT + 16 and fix PLT0
2000cb273fdad8912016-11-12Thomas Preud'homme <robotux@celest.fr>Do section relocation in architecture backend
20016cd23d1d8cb92016-11-12Thomas Preud'homme <robotux@celest.fr>Recognize more relocations as needing GOT/PLT entry
2002523b55d82d452016-11-17Thomas Preud'homme <robotux@celest.fr>Only create GOT or GOT entry when needed
20031c811a4d1db52016-11-12Thomas Preud'homme <robotux@celest.fr>Make build_got_entries more target independent
2004a11b0a67e3682016-11-17Thomas Preud'homme <robotux@celest.fr>Consolidate GOT creation in build_got_entries
20052c38800bbe052016-11-12Thomas Preud'homme <robotux@celest.fr>Allow to get sym attr and fail if no entry
200625927df3b75c2016-11-12Thomas Preud'homme <robotux@celest.fr>Consolidate all relocations in relocate_section
2007c4bec037be0d2016-11-12Thomas Preud'homme <robotux@celest.fr>Code simplification in relocate_syms
2008097cf3aa5ee32016-11-12Thomas Preud'homme <robotux@celest.fr>Control symbol table of which to relocate symbols
200959391d5520532016-12-05Thomas Preud'homme <robotux@celest.fr>Fix relocs_info declaration in tcc.h
2010557c5c1f11d52016-12-05Thomas Preud'homme <robotux@celest.fr>Add relocs_info array to c67 backend
2011e22249b81c362016-12-05Thomas Preud'homme <robotux@celest.fr>Error on unrecognized relocations
20123811794048e42016-12-05Thomas Preud'homme <robotux@celest.fr>Fix tcc_error params for R_AARCH64_(JUMP|CALL)26
20132372639e9d3d2016-12-05Thomas Preud'homme <robotux@celest.fr>Fix set but not used error in arm64-link.c
2014e0fe69050d2d2016-12-05Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>arm64: Fix regression introduced by 6245db9.
20150bf262864c952016-12-10Thomas Preud'homme <robotux@celest.fr>Fix PLT creation for i386
2016dfed9babfcce2016-12-10Thomas Preud'homme <robotux@celest.fr>Allow PLT/GOT entry for weak static symbol
201711747fe5d0b82016-12-05Thomas Preud'homme <robotux@celest.fr>Error out in put_got_entry if no dynamic symbol
2018ee2108d07d1f2016-12-10Thomas Preud'homme <robotux@celest.fr>Add missing relocation info for C67 target
2019d31226c8738d2016-12-10Thomas Preud'homme <robotux@celest.fr>Remove now useless pltoff_addend reloc info
2020fe6453f8f08b2016-12-10Thomas Preud'homme <robotux@celest.fr>Use functions to get relocation info
2021ca92bfc3c6412016-12-15grischka <grischka>tccelf: some linker cleanup
20222b7ee000cd3d2016-12-15grischka <grischka>tests: add .so/.dll creation test
2023ed35ac841b9e2016-05-15Michael Matz <matz@suse.de>x86-asm: Add more SSE2 instructions
20244af6e087dde92016-05-15Michael Matz <matz@suse.de>x86-asm: move stats code
2025bde802df29932016-05-15Michael Matz <matz@suse.de>x86-asm: Reorganize instr_type
20268a10a442ffd42016-12-12Michael Matz <matz@suse.de>x86-asm: Fix register order
20275a222588a81f2016-05-15Michael Matz <matz@suse.de>x86-asm: Remove OPC_D16
202858963828abff2016-05-15Michael Matz <matz@suse.de>x86-asm: Correct mem64->xmm movq
20294094f7c5fc282016-05-15Michael Matz <matz@suse.de>x86-64-asm: Tidy
2030e2f489aaffdc2016-05-16Michael Matz <matz@suse.de>x86-asm: Get rid of OPC_JMP and OPC_SHORTJMP
20318080401ab00a2016-05-18Michael Matz <matz@suse.de>tccpp: free defines also with PP_BENCH
203238e5cf0983e02016-05-18Michael Matz <matz@suse.de>tccpp: Fix macro_is_equal
203321d2b71b5c1a2016-10-17Michael Matz <matz@suse.de>Free defines before gen_inline_functions
20349285149548982016-06-27Michael Matz <matz@suse.de>Implement -include cmdline option
2035b285fc50f37e2016-06-27Michael Matz <matz@suse.de>Add --param, reject -mARG if ARG not 32 or 64
20362b3c7d2287ff2016-06-27Michael Matz <matz@suse.de>Change dependency file format a bit
2037b6799ccd2eef2016-06-27Michael Matz <matz@suse.de>Accept -Wp,args
20388531de319a6e2016-06-27Michael Matz <matz@suse.de>Accept concatenated strings in attributes
2039d5d881d9e9462016-06-27Michael Matz <matz@suse.de>x86-asm: Accept 'q' modifier
20406763b02abc5e2016-06-28Michael Matz <matz@suse.de>Accept empty struct member decls
2041c82e52d55bd32016-06-28Michael Matz <matz@suse.de>tccasm: Implement .pushsection and .popsection
20428e4da42384162016-06-29Michael Matz <matz@suse.de>Accept more asm expressions
204363e3ff7cca542016-06-29Michael Matz <matz@suse.de>tccasm: Accept .balign
2044253afeed1e822016-06-29Michael Matz <matz@suse.de>inline asm: Accept 'p' constraint and 'P' template mod
2045ff5561ff7d692016-06-29Michael Matz <matz@suse.de>x86-64-asm: Accept expressions for .quad
20461a5eacb445a02016-06-30Michael Matz <matz@suse.de>tccasm: Implement compare expressions
2047920474115c312016-06-30Michael Matz <matz@suse.de>x86-64-asm: More opcodes
204810c3514889012016-07-11Michael Matz <matz@suse.de>Accept symbols in initializers also on 64 bit
2049f9423ff3fa5a2016-07-11Michael Matz <matz@suse.de>inline asm: Fix 'P' and accept some r<nr> registers
2050bbce31552ec72016-07-11Michael Matz <matz@suse.de>inline asm: accept concatenated strings in constraints
2051e5f4f8d0e7962016-07-11Michael Matz <matz@suse.de>inline asm: Accept "e" constraint
20527e515466246b2016-07-11Michael Matz <matz@suse.de>x86-asm: Implement clflush opcode
20532b618c1ab4b92016-07-11Michael Matz <matz@suse.de>Fix parsing attributes for struct decls
2054f6c1eb10e2b12016-07-11Michael Matz <matz@suse.de>x86-asm: Implement fxrstorq and fxsaveq
205575e8df126f8e2016-07-11Michael Matz <matz@suse.de>inline asm: Accept 'R' constraint
2056d9d029006cc42016-07-11Michael Matz <matz@suse.de>x86-asm: Add [sl][ig]dtq opcodes
20576a5ec8cb3cce2016-07-11Michael Matz <matz@suse.de>x86-asm: More opcodes
2058e3f2a683113b2016-07-11Michael Matz <matz@suse.de>tcc-asm: Parse .size directive correctly
20595692716770e92016-07-11Michael Matz <matz@suse.de>x86-asm: Fix lar opcode operands
206010e4db45dca02016-07-11Michael Matz <matz@suse.de>x86-asm: Implement prefetchw opcode
20618a1a2a6033622016-07-13Michael Matz <matz@suse.de>Implement __builtin_choose_expr
2062b7e0b693a6572016-07-13Michael Matz <matz@suse.de>tccpp: Implement __BASE_FILE__ macro
2063e034853b38902016-07-13Michael Matz <matz@suse.de>Fix parsing array typedefs of unknown size
2064662338f116c32016-07-14Michael Matz <matz@suse.de>Fix function to pointer conversion
20655d0c16a884a62016-07-15Michael Matz <matz@suse.de>Support attribute between double pointer stars
2066968bccdd2aae2016-07-23Michael Matz <matz@suse.de>struct-init: Reimplement
2067ed7d54651d2e2016-07-31Michael Matz <matz@suse.de>struct-init: Implement initializing subaggregates
20687bf323843ee22016-07-31Michael Matz <matz@suse.de>struct-init: Cleanup
206921da73c383f82016-08-01Michael Matz <matz@suse.de>struct-init: Cleanup some more
20709e86ebee944e2016-08-01Michael Matz <matz@suse.de>struct-init: Correctly parse unnamed member initializers
2071b7ca74577b562016-08-01Michael Matz <matz@suse.de>struct-init: Allow member initialization from qualified lvalues
20728765826465e62016-08-02Michael Matz <matz@suse.de>inline-asm: Accept "flags" clobber
20734cb7047f0fa02016-08-04Michael Matz <matz@suse.de>x86-64-asm: Support high registers %r8 - %r15
20744e46c22d5ca42016-08-06Michael Matz <matz@suse.de>struct-init: Support range inits for local vars
207545b24c37a0ea2016-08-06Michael Matz <matz@suse.de>x86-64-asm: Implement high %cr registers
2076c0368604e1962016-08-06Michael Matz <matz@suse.de>x86-64-asm: Fix ltr/str and push/pop operands
2077b1a906b970e12016-08-06Michael Matz <matz@suse.de>enums and ints are compatible
207834fc6435ee172016-08-07Michael Matz <matz@suse.de>enums and ints are compatible
2079c4edfb4e08042016-08-07Michael Matz <matz@suse.de>tccasm: Implement .set sym, expr
20809ae10cad1fec2016-08-07Michael Matz <matz@suse.de>tccasm: Lookup C symbols from ASM blocks
2081ca8c1cd643b12016-08-08Michael Matz <matz@suse.de>x86-64: Allow loads from some structs/unions
20829e0af6d2b5132016-08-08Michael Matz <matz@suse.de>x86-64-asm: Implement cmpxchg16b
20830381387640fe2016-08-08Michael Matz <matz@suse.de>x86-asm: Correctly infer register size for bools
2084d0d25ec7df632016-08-08Michael Matz <matz@suse.de>tccpp: Allow computed include like 42.h
2085be6d8ffc107d2016-08-15Michael Matz <matz@suse.de>Fix access-after-free with statement expressions
2086d720865fb65d2016-08-15Michael Matz <matz@suse.de>Addresses of non-weak symbols are non-zero
2087372f4b6a4ecc2016-08-15Michael Matz <matz@suse.de>Fix enum bitfields passed to stdarg functions
2088e7ef087598d72016-08-24Michael Matz <matz@suse.de>x86-asm: Accept all 32bit immediates
2089dd57a348664d2016-08-25Michael Matz <matz@suse.de>tccasm: Don't ignore # in preprocessor directives
20905bd8aeb917ed2016-08-26Michael Matz <matz@suse.de>tccasm: Support refs to anon symbols from asm
209149bb5a7e06042016-09-03Michael Matz <matz@suse.de>Fix __builtin_constant_p(1000/x)
20929656560f14432016-09-03Michael Matz <matz@suse.de>Fix sizeof(char[a])
2093f2a071e808db2016-09-03Michael Matz <matz@suse.de>Fix aliases on 64 bit
20941602998751c82016-09-04Michael Matz <matz@suse.de>Fix more nocode_wanted jump problems
2095892c3d996f772016-09-04Michael Matz <matz@suse.de>Reject jumping inside stmtexprs
2096d4d3144e75162016-09-04Michael Matz <matz@suse.de>Factor out const condition detection
2097b303a00ce0182016-09-19Michael Matz <matz@suse.de>Revert "Reject jumping inside stmtexprs"
209831c7ea0165882016-09-19Michael Matz <matz@suse.de>opt: Start optimizing dead code a bit
2099ca435dc2e36c2016-09-26Michael Matz <matz@suse.de>opt: Make break and goto not fallthrough
2100fb933ae0eb252016-09-26Michael Matz <matz@suse.de>opt: constprop also 'cond && 0'
2101ce55d03eef8c2016-09-26Michael Matz <matz@suse.de>Handle __builtin_extract_return_addr
2102ad8e14b740f82016-09-26Michael Matz <matz@suse.de>opt: Don't emit inline functions from dead code
2103975c74c1f5162016-09-27Michael Matz <matz@suse.de>x86-64: Prefer 32S relocations
2104b5669a952bab2016-09-29Michael Matz <matz@suse.de>x86-64: relocation addend is 64bit
2105ad723a419fd92016-10-03Michael Matz <matz@suse.de>x86_64: Add -mno-sse option
21060bca6cab06402016-10-03Michael Matz <matz@suse.de>x86_64-asm: fix copy-out registers
21077ab35c6265422016-10-03Michael Matz <matz@suse.de>struct-init: Copy relocs for compound literals
21080b0e64c2c9542016-10-03Michael Matz <matz@suse.de>x86-asm: Correct register size for pointer ops
21093bc9c325c5fa2016-10-03Michael Matz <matz@suse.de>Fix const folding of 64bit pointer constants
2110f081acbfba842016-10-06Michael Matz <matz@suse.de>Support local register variables
2111ddd461dcc8662016-10-08Michael Matz <matz@suse.de>Fix initializing members multiple times
2112a2a596e767242016-10-08Michael Matz <matz@suse.de>x86-64-asm: Accept high register in clobbers
2113235711f3d3a52016-10-08Michael Matz <matz@suse.de>64bit: Fix addends > 32 bits
2114a158260e842f2016-10-17Michael Matz <matz@suse.de>build: Respect CPPFLAGS override
21157ae35bf1bb212016-10-17Michael Matz <matz@suse.de>Handle multiple -O options
2116d042e71e9f962016-10-18Michael Matz <matz@suse.de>Fix miscompile with dead switches
21173db037387c162016-10-18Michael Matz <matz@suse.de>libtcc1: Don't use stdlib functions
21183e77bfb6e9b22016-10-31Michael Matz <matz@suse.de>tccpp: Fix token pasting
211922f5fccc2c062016-11-06Michael Matz <matz@suse.de>Fix 64bit enums and switch cases
21205d6a9e797a3c2016-12-12Michael Matz <matz@suse.de>x86-asm: Fix segfault
2121ddecb0e685172016-10-02Michael Matz <matz@suse.de>Split off record layouting
212278c7096162562016-10-08Michael Matz <matz@suse.de>Fix struct layout some more
2123bd69bce20f502016-11-07Michael Matz <matz@suse.de>bitfields: Implement MS compatible layout
2124ed680da951b22016-11-11Michael Matz <matz@suse.de>bitfields: fix PCC layout
212523b257a8d2fe2016-11-28Michael Matz <matz@suse.de>bitfields: Fix MS layout some more
2126d815a0f658272016-11-28Michael Matz <matz@suse.de>struct-layout: cleanup code a bit
21278859dc9e6d562016-10-09Michael Matz <matz@suse.de>Support large alignment requests
2128f5ae4daa5f802016-10-17Michael Matz <matz@suse.de>struct-layout: Allow lowering of member alignment
2129b5b12b89a0342016-12-13Michael Matz <matz@suse.de>arm64: Fix a case of dead code suppression
2130b155432b65982016-12-13Michael Matz <matz@suse.de>arm64: Fix largeptr test
21313980e07fe5242016-12-13Michael Matz <matz@suse.de>arm64: Handle R_AARCH64_PREL32 again
2132cd9514abc4f42016-12-15Michael Matz <matz@suse.de>i386: Fix various testsuite issues
213377d7ea04acb52016-12-18Michael Matz <matz@suse.de>Fix gawk miscompile
2134f843cadb6bc02016-12-18grischka <grischka>tccgen: nocode_wanted alternatively
2135e5efd184358e2016-12-18grischka <grischka>tccgen: fix expr_cond for alt. nocode_wanted
2136f7fc4f02cf152016-12-18grischka <grischka>tccgen: nocode_wanted++/--
2137a1c12b9fb9bd2016-12-18grischka <grischka>tests: add memory leak test
2138d2332396e4392016-12-18grischka <grischka>libtcc.c: -m option cleanup
2139559ee1e940c22016-12-18grischka <grischka>i386-gen: fix USE_EBX
214042e2a67f23442016-12-20Michael Matz <matz@suse.de>Fix some code suppression fallout
21414beb469c91ef2016-12-20Michael Matz <matz@suse.de>Fix pseudo leak
214271c5ce5ced242016-12-20grischka <grischka>tests: OOT build fixes etc.
21439b3e4c5895692016-12-24Avi Halachmi (:avih) <avihpit@yahoo.com>tests: don't assume $(CC) is gcc
21440486939291bf2016-12-12Pavlas, Zdenek <zden3k@gmail.com>win32: support "-Wl,--large-address-aware" option
21455d1bc3fbd4d62017-01-06David Mertens <dcmertens.perl@gmail.com>Architecture-specific section alignment
21465420bb8a67f52017-01-08David Mertens <dcmertens.perl@gmail.com>SECTION_ALIGNMENT -> RUN_SECTION_ALIGNMENT, and tweaks
2147ea2c36c5a99d2017-02-05grischka <grischka>tccrun: 'selinux' mmap: use only one mapping
214885fca9e924102017-02-05grischka <grischka>tccrun: sort sections
21493b84e61eaddb2016-10-14grischka <grischka>Revert "partial revert of the commit 4ad186c5ef61"
2150f077d16c20c52016-10-14grischka <grischka>tccgen: gen_cast: cast FLOAT to DOUBLE
215168666eee2ade2017-02-08grischka <grischka>tccgen: factor out gfunc_return
215290316c7c26572017-02-08grischka <grischka>tcc: don't use pstrcpy, fix win32 spanwn quoting
2153e596b871a9f72017-02-08grischka <grischka>win32: include/winapi: remove more files
2154aa0a45be05a22017-02-08grischka <grischka>win32: build-tcc.bat: add some options
21555efa75d9b87e2017-02-08grischka <grischka>update VERSION to 0.9.27
2156910a6bc8595b2017-02-09Vlad Vissoultchev <wqweto@gmail.com>Add pre-build step in VS2015 projects to generate config.h from VERSION
2157362cafb4715a2017-02-11grischka <grischka>arm: libtcc1.a needs gcc with -fPIC
2158ee5425fe952f2017-02-11grischka <grischka>libtcc: support multiple -Wl,-rpath=...'s
215915f990bf71d22017-02-11Michael Matz <matz@suse.de>Fix testsuite invocations
2160983520d721592017-02-11Michael Matz <matz@suse.de>arm64: Fix 42_function_test
2161417a1ed384002017-02-12Christian Jullien <Christian Jullien>Add Makefile to build native tcc 32/64 on Windows using cygwin
2162ec6a997f80b82017-02-12grischka <grischka>tccgen: yet another nocode_wanted fix
21639817204d8afa2017-02-12Christian Jullien <Christian Jullien>Detect native version from default gcc target.
2164a4a20360e9df2017-02-13grischka <grischka>fixes & cleanups
216513056da039242017-02-13grischka <grischka>mems & leaks
216643d9a7de9b832017-02-13grischka <grischka>updates & cleanups (tcc-doc/Changelog/TODO ...)
21675550e4336fd42017-02-14Christian Jullien <Christian Jullien>Improve cygwin Makefile that now support TARGET=32/64 to force final version for 32/64 platform
216867fe371f84972017-02-14Vlad Vissoultchev <wqweto@gmail.com>win32: build-tcc.bat: figure out correct bitness of cl.exe
21697b99c3ac2c9c2017-02-15Christian Jullien <Christian Jullien>Fix wrong name for 85 test.
2170d61985b37a142017-02-16Christian Jullien <Christian Jullien>tiny_impldef.exe was not built by Makefile
2171f33801e25e7e2017-02-17Christian Jullien <Christian Jullien>Add entry to run tests2 tests
217286e3cd0c5ac92017-02-15YX Hao <lifenjoiner@163.com>Add support for Unicode entries 'wmain' and 'wWinMain' on Windows '-run' suported. argvs are converted. But don't use compliled Unicode CLI exe-file to get inputs interactively in other codepage! Please add other compliling supports than 'build-tcc.bat' (Who is good at them).
21739bd04fa000d82017-02-18Christian Jullien <Christian Jullien>Makefile for Windows native tcc handles recent UNICODE support
217439b2afeb7c5c2017-02-18Christian Jullien <Christian Jullien>Temporary remove 76_dollards_in_identifiers when run on Windows as this test failes. To be checked why.
2175096125d963402017-02-18grischka <grischka>win32: adjust new unicode support
2176f34b1feaca552017-02-16Steffen Nurpmeso <steffen@sdaoden.eu>-Wl, --enable-new-dtags for DT_RUNPATH instead of DT_RPATH
21772d3b9559bf562017-02-18grischka <grischka>tcctools.c: integrate tiny_libmaker/_impdef
21785286529632652017-02-18grischka <grischka>tcc -hh: show more options
2179399237850d872017-02-18Christian Jullien <Christian Jullien>Update cygwin Makefile after recent Windows source changes
21805f33d313c8a22017-02-20grischka <grischka>tcc: re-enable correct option -r support
2181e209b7dac4632017-02-20Michael Matz <matz@suse.de>Update ChangeLog
21823e4c296ebab32017-02-22Michael Matz <matz@suse.de>x86-64-asm: Fix mov im64,rax encoding
2183576bee9a37cb2017-02-23Christian Jullien <Christian Jullien>Add note about native Windows bootstrap using Cygwin.
2184569255e6c40f2017-02-23grischka <grischka>cross-compilers: allow individual configuration
21852e0a8f9b37162017-02-24Christian Jullien <Christian Jullien>Update Cygwin Makefile for new libtcc1-xx.a layout
2186669f61117d6f2017-02-24Christian Jullien <Christian Jullien>Cygwin Makefile was to aggresive to remove entire lib/
2187bb93064d78572017-02-25grischka <grischka>makefile: unify cross with native builds
2188206829415a002017-02-26Christian Jullien <Christian Jullien>Linux was incorrectly identified in banner when compiled on macOS Darwin
21892da36731da692017-02-26Avi Halachmi (:avih) <avihpit@yahoo.com>win: tests Makefile: fix global path
2190c4c3f5009e082017-02-26Christian Jullien <Christian Jullien>Even on Darwin, tcc should display Linux
2191536ed76d5a692017-04-04grischka <grischka>tccgen/win32: let __declspec(dllimport) imply extern
2192328b826e8a432017-04-15Michael Matz <matz@suse.de>tccpp: Fix corner case of fnlike macro invocation
21930ac29b53dc032017-04-20Marc Vertes <mvertes@free.fr>Add support of musl-libc
219491cd148a05e22017-03-28Andrei Warkentin <andrey.warkentin@gmail.com>tcc: early OSX native support
219563b2f907bd9f2017-03-28Andrei Warkentin <andrey.warkentin@gmail.com>tcc: fixup clang warnings
2196fb4f57666cf22017-03-28Andrei Warkentin <andrey.warkentin@gmail.com>tcc: report Darwin when building for Mach-O binaries.
21977acf9aa862752017-04-25grischka <grischka>final adjustments for release
219837999a4fbf342017-04-25Larry Doolittle <ldoolitt@recycle.lbl.gov>Simple-minded fix for bug #50847
2199a35752d2333c2017-04-25grischka <grischka>configure: fix permissions
2200f12851e388e42017-04-27Christian Jullien <Christian Jullien>Add -static to be in sync with Windows bat.
220176e16465bfce2017-04-27Thomas Stalder <thomas@netsolux.ch>arm: Fix build_got_entries
220228084420fed12017-04-29Michael Matz <matz@suse.de>Fix char bitfields corner case
2203f775d687253d2017-04-29Michael Matz <matz@suse.de>Remove a bit-field TODO
22044ce73354fc5e2017-05-01Michael Matz <matz@suse.de>Fix last change
22058d9dd3c0088d2017-05-01Michael Matz <matz@suse.de>Fix more bitfield corner cases
22063c39cb5cd8f42017-01-16Michael Matz <matz@suse.de>fix __builtin_expect
220724420bb5c0912017-01-23Michael Matz <matz@suse.de>elf: Tidy section headers
22088b9697ca6b752017-02-19Michael Matz <matz@suse.de>Fix bogus check for VT_LLOCAL types
2209a8b83ce43a952017-02-19Michael Matz <matz@suse.de>Remove VT_REF
221010551d6961f82017-02-20Michael Matz <matz@suse.de>Clarify that the CIL target code is dead
221151314932e31f2017-02-27Michael Matz <matz@suse.de>Tidy arg parsing for builtins
22125891fbc0c8ff2017-02-27Michael Matz <matz@suse.de>Tidy typename parsing a bit
2213182367e232e92017-03-06Michael Matz <matz@suse.de>Reorganize type parsing
2214328b06a3fc092017-03-06Michael Matz <matz@suse.de>Extend type_to_str
221521b12ea10d3c2017-03-06Michael Matz <matz@suse.de>Factor some code
22168ca98e23c4e52017-03-06Michael Matz <matz@suse.de>Tidy unary() a bit
22177aef0522b0ac2017-03-06Michael Matz <matz@suse.de>Tidy decl_designator
221825522e4799d12017-03-11Michael Matz <matz@suse.de>Merge func_decl_list into decl0
2219c7dbc900c8082017-03-12Michael Matz <matz@suse.de>Cleanups (float consts, sections, symbols)
22209839b601773f2017-04-15Michael Matz <matz@suse.de>Remove label_or_decl
2221149678e888362017-04-15Michael Matz <matz@suse.de>Tidy decl_designator
2222d4878985e85c2017-05-01Michael Matz <matz@suse.de>Rebuild cross compilers when sources change
2223a7a3627ab2f92017-05-05Michael Matz <matz@suse.de>Fix segfault with invalid function def
22240757234560732017-05-05Michael Matz <matz@suse.de>Fix unsigned enum bit-fields
2225ff998900b1632017-05-06Michael Matz <matz@suse.de>struct-init: Fix zero initialization with multi-level designators
2226600018ce474b2017-05-06Michael Matz <matz@suse.de>elf: Ignore SHF_COMPRESSED sections
2227680e84fe42b62017-05-07Michael Matz <matz@suse.de>elf: Support STB_LOCAL dynamic symbols
22285732a1882e3a2017-05-07Michael Matz <matz@suse.de>elf: Fix last commit
222994ac9f2b49522017-05-07Michael Matz <matz@suse.de>Accept extern initialized file-scope variables
223044abffe33a102017-05-07grischka <grischka>more minor fixes
2231524f6dff17af2017-05-08Michael Matz <matz@suse.de>Fix a warning
22321b9935cf36e82017-05-08Larry Doolittle <ldoolitt@recycle.lbl.gov>Add missing const and add warning flags
223319d8b8a173832017-05-08Larry Doolittle <ldoolitt@recycle.lbl.gov>Spelling fixes in C comments only
223456df27502c172017-05-08Christian Jullien <Christian Jullien>C string litteral is const, fix return type of default_elfinterp. Remove #ifndef TCC_IS_NATIVE in arm-gen.c as suggested by grischka.
22357443db0d5f842017-05-08Larry Doolittle <ldoolitt@recycle.lbl.gov>Remove some unused-parameter lint
223670fca7f799072017-05-08Larry Doolittle <ldoolitt@recycle.lbl.gov>Fix spelling in help message
22371094891e67352017-05-08Marc Vertes <mvertes@free.fr>Improve musl and uclibc detection
2238377e8e5e68c52017-05-08Michael Matz <matz@suse.de>bitfields: fix long bitfields
2239dfb75d9b6ccb2017-05-08Michael Matz <matz@suse.de>Remove some unused arguments
22403c0a73822dd12017-05-09Larry Doolittle <ldoolitt@recycle.lbl.gov>Give clang one less thing to complain about
22413f5fd305afbe2017-05-09Larry Doolittle <ldoolitt@recycle.lbl.gov>Touch up previous "s"[i<2] patch
2242d242706f3b732017-05-09grischka <grischka>bitfields: one more hack and a "-Wgcc-compat" switch
22431ed20a01c9622017-05-09grischka <grischka>bitfields: promote to signed int
22443a9d6b3655bd2017-05-12Aron BARATH <baratharon@caesar.elte.hu>added 64-bit relocation types that required to linking against 64-bit (large model) libraries
224528435ec58c2e2017-05-13grischka <grischka>configure: --config-musl/-uClibc switch & misc cleanups
2246307b7b183d4e2017-05-16Aron BARATH <baratharon@caesar.elte.hu>the R_X86_64_GOTOFF64 relocation was missing
224753c5fc2246272017-05-27Michael Matz <matz@suse.de>x86-64: Rewrite linux parameter passing
22487cd1ae7710ae2017-05-27Michael Matz <matz@suse.de>x86-64: Fix psABI stdarg prologue
224931e5ad789a512017-05-27Michael Matz <matz@suse.de>Limit access end-of-struct warning a bit
22500cc4e570bcbd2017-05-28Christian Jullien <Christian Jullien>Windows test Makefile target also test pp tests.
22512a348896dd102017-06-04U-NELSON\jullien <jullien@nelson.eligis.com>Add more common tests to be run from win32/Makefile
22523e4b7693bfd52017-06-05U-NELSON\jullien <jullien@nelson.eligis.com>force i386-win32-tcc.exe to be a 32bit binary. Run tests in both 32/64 bits on Windows.
22533e028af453f02017-06-09Emil <ez@la.mine.nu>When creating a staticaly linked ELF program should not include any dyn symbols. The if( !s1->static_link ) prevents tcc from crashing when buiding a program linked to dietlibc.
22546d559d651f272017-06-10Christian Jullien <Christian Jullien>Add -O2 when compiling tcc on Windows. Not sure this flag is really used by tcc.
2255b68df809eb8e2017-06-10Christian Jullien <Christian Jullien>Align 'implicit-function-declaration' option comment with other comments (cosmetic change)
2256d4fe9aba3fc62017-07-03Michael Matz <matz@suse.de>String literals are always const
225727ca3038748d2017-07-03Michael Matz <matz@suse.de>Improve skip_or_save_block
2258580ad5f24c952017-07-03Michael Matz <matz@suse.de>Extend skip_or_save_block
22599ed8b54f6cd22017-07-04Michael Matz <matz@suse.de>Revert "String literals are always const"
2260157bad52cdb02016-12-09Matthias Gatto <uso.cosmo.ray@gmail.com>add C11's _Generic
226116d3dbf2d0872017-07-05Matthias Gatto <uso.cosmo.ray@gmail.com>add _Generic test
2262d8fdd380f39a2017-07-09Michael Matz <matz@suse.de>tccpp: Fix corner case
22631f3d3957c4aa2017-07-09Michael Matz <matz@suse.de>tccpp: Cleanup
2264824dcebe59f52017-07-09Michael Matz <matz@suse.de>tccpp: Implement __COUNTER__
22656c468c10f70d2017-06-05grischka <grischka>tccpp: allow "#define X defined Y ..."
22669f79b62ec4d82017-07-09grischka <grischka>unsorted adjustments
22679ba76ac834602017-07-09grischka <grischka>refactor sym & attributes
2268f87afa72e0682017-07-09grischka <grischka>refactor enums
2269a9e502cc3bae2017-07-09grischka <grischka>refactor bitfields
22702240422da9b52017-07-10Michael Matz <matz@suse.de>enums: Accept GNU extension
22719bea88d616112017-07-10Michael Matz <matz@suse.de>Fix statement exprs returning a local label
22722acb04f7f2072017-07-10Michael Matz <matz@suse.de>tccasm: Fix local statics referenced from asms
227304418c7addb72017-07-14Michael Matz <matz@suse.de>Fix function types
227469a137ff889f2017-07-14grischka <grischka>#pragma comment(option,"-..."), bitfields test, etc...
22757f1ab9b1e1112017-07-16grischka <grischka>tccgen: nodata_wanted
22763f13e33872ae2017-07-16Michael Matz <matz@suse.de>Fix cross compilers
22772020a312ca4a2017-07-06Matthias Gatto <uso.cosmo.ray@gmail.com>unqualify volatile in _Generic type checking
22782821644553192017-07-14matthias <uso.cosmo.ray@gmail.com>fix typo: march -> match
2279ba2b25e4ead72017-07-07Matthias Gatto <uso.cosmo.ray@gmail.com>fix typo sellector -> selector
22800cc24d0e84872017-07-20grischka <grischka>tcc -dt -run ... : simpler is better
2281fdc18d307aaf2017-07-10matthias <uso.cosmo.ray@gmail.com>mutiples fix for _Generic
22824b3c6e74aba02017-07-23grischka <grischka>tccgen: nodata_wanted fix, default ONE_SOURCE, etc...
2283b72cddaa6e3a2017-07-24Matthias Gatto <uso.cosmo.ray@gmail.com>remove inside_generic hack
228428b7c9b34ecd2017-07-25Matthias Gatto <uso.cosmo.ray@gmail.com>define __SIZE_TYPE__ and __PTRDIFF_TYPE__ as unsigned int and int.
22858258abeb80ce2017-07-25Christian Jullien <Christian Jullien>Update Cygwin Makefile to work with recent changes about ONE_SOURCE and CONFG_TCCDIR
2286a4cd2805f95e2017-07-25Matthias Gatto <uso.cosmo.ray@gmail.com>simplify VT_LONG parsing
228723064b17343b2017-07-25Matthias Gatto <uso.cosmo.ray@gmail.com>check that _Generic match 'signed long int' as 'long'
228852622c3c03652017-07-25Matthias Gatto <uso.cosmo.ray@gmail.com>use int for ssize_t, (u)intptr_t instead of long in stddef.h
2289421a1c48bb232017-07-25Christian Jullien <Christian Jullien>Update Cygwin Makefile to use -B. for bootstrap
2290023d4e0b59802017-07-25Christian Jullien <Christian Jullien>Remove debug echo in Cygwin Makefile
2291c18fc950d7212017-07-25matthias <uso.cosmo.ray@gmail.com>Revert "simplify VT_LONG parsing"
22924f15d08ea1882017-07-26Matthias Gatto <uso.cosmo.ray@gmail.com>Revert "use int for ssize_t, (u)intptr_t instead of long in stddef.h"
2293ac41e015f1052017-07-26Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>Convert from ISO-8859-1 to UTF-8. See aa812e8.
2294b8fe8fc210542017-08-21Zhang Boyang <zhangboyang.id@gmail.com>called function should pop the arguments when using fastcall
2295a82c11f4b41c2017-09-09Zhang Boyang <zhangboyang.id@gmail.com>Fix wide char handling in wide string literal
229602370acdc9962017-09-09Zhang Boyang <zhangboyang.id@gmail.com>Fix AL/AX is not extended to EAX when calling indirectly
2297b39810ff78202017-09-09Zhang Boyang <zhangboyang.id@gmail.com>Fix calling function pointers casted from intergers in DLL
2298978d1ecce0fd2017-09-10Zhang Boyang <zhangboyang.id@gmail.com>Add test case for wide char handling in wide string literal
2299f406f63a386a2017-09-10Zhang Boyang <zhangboyang.id@gmail.com>Add test case for AL/AX extending problem
2300078d8c2c5a002017-09-10Zhang Boyang <zhangboyang.id@gmail.com>Add test case for fastcall calling convention
2301870271ea07192017-09-11Zdenek Pavlas <zden3k@gmail.com>gen_addrpc32: absolute ptr needs *ABS* relocation
23021443039416dd2017-09-24grischka <grischka>'long' review
230344d4da62bb6a2017-09-24Larry Doolittle <ldoolitt@recycle.lbl.gov>Convert two .c files to LF line endings
23041b6806e5bb392017-09-25Larry Doolittle <ldoolitt@recycle.lbl.gov>Spelling fixes
2305560188711dc12017-09-25Larry Doolittle <ldoolitt@recycle.lbl.gov>Fix some spelling in documentation
2306abd1532ad41f2017-09-25Avi Halachmi (:avih) <avihpit@yahoo.com>freebsd: allow building tcc which targets windows
23078deb05c3e27b2017-09-26Larry Doolittle <ldoolitt@recycle.lbl.gov>Use more conventional punctuation for sequential assignments
23082e5751caf1202017-09-29Christian Jullien <Christian Jullien>tools directory no more exists, removed in win32 tarball Makefile target.
2309a1c9051313112017-09-29Steffen Nurpmeso <steffen@sdaoden.eu>Adjust va_list to work with musl
23101d5e386b0a782017-09-29Steffen Nurpmeso <steffen@sdaoden.eu>Introduce VIP sysinclude paths which are always searched first
23116f1860e200562017-10-09Steffen Nurpmeso <steffen@sdaoden.eu>Fix Windows++ compilation of previous (YX Hao, Joel Bodenmann)
2312faa9744f5d132017-10-08YX Hao <lifenjoiner@163.com>Win: crt, initialize global __argc, __targv and _tenviron of msvcrt
2313da8c62f75d892017-10-11grischka <grischka>various stuff
2314fc0188ffbcf22017-10-19emekoi <emekankurumeh@outlook.com>fixed dylib typo in libtcc.c
231532c9b51401c12017-11-03janus.lt <janus.lt>Win64/PE: Changed runtime function unwind info to be added after relocation, fixes SEH + long jmps
231674463eb954bf2017-11-14Michael Matz <matz@suse.de>Revert "gen_addrpc32: absolute ptr needs *ABS* relocation"
2317348dd9f4a68a2017-11-15Michael Matz <matz@suse.de>Fix absolute memory references
2318a8ece0f2ce3d2017-11-16Michael Matz <matz@suse.de>Don't make forard asm symbols static by default
2319d0db21757afc2017-11-19Michael Matz <matz@suse.de>Fix forward asm labels differently
2320330c01bfc6fa2017-11-19Michael Matz <matz@suse.de>Adjust testcase for PIE compilers
2321e7c71e24730a2017-11-22Michael Matz <matz@suse.de>tccasm: synch C and asm symtab tighter
23224266ebd69c2c2017-11-25Michael Matz <matz@suse.de>tccasm: Don't abuse dllexport/dllimport
23233494e5de3a032017-11-27Michael Matz <matz@suse.de>Adjust asm-c-connect testcase for Windows
23249e0d23cc47352017-11-27Michael Matz <matz@suse.de>tccasm: Unify C and asm symbol table
2325529b44c0d5392017-12-03Michael Matz <matz@suse.de>tccasm: Accept suffixed cmovCC
2326cc6cb7f0e2942017-12-04Michael Matz <matz@suse.de>Fix another corner case with C/asm symtable
2327877e164d6ade2017-11-30grischka <grischka>tccasm: use global(_symbol)_stack
23283ae1a2af1c102017-12-03grischka <grischka>tccgen: unify type redefinition checks
23298490c54dbd752017-12-10Michael Matz <matz@suse.de>Fix some multi-file corner cases with asm
23301a4d4b76e8032017-12-12grischka <grischka>tccgen_begin/end_file
2331d348a9a51d322017-12-12grischka <grischka>final update for 0.9.27
23323f8225509b0b2017-12-23Michael Matz <matz@suse.de>Fix -pthread option handling
23331b1b270f1e982017-12-23Michael Matz <matz@suse.de>Revert "Fix -pthread option handling"
23343b27b3b1d1ae2017-12-23Michael Matz <matz@suse.de>Fix -pthread in a different way
23359e47b182290a2017-12-24Michael Matz <matz@suse.de>Make type of __nan__ __inf__ and __snan__ be float
2336414b224efa452017-12-25Michael Matz <matz@suse.de>Accept more floating point constant expressions
2337988e2ff7fee52017-12-28foobar <foobar@redchan.it>fix debug info with musl on x86_64
23388294285d8f842018-01-01Michael Matz <matz@suse.de>Don't emit applied .rel sections
23397ad2cf8d68242017-11-14Michael Matz <matz@suse.de>Code suppression fixes
23403e6515b64fe62018-01-05Michael Matz <matz@suse.de>Add make testspp.all/testspp.20
2341776aa0c093cc2018-02-24Thomas Preud'homme <robotux@celest.fr>Prevent dead code on !x86 in prepare_dynamic_rel
2342e76058c478f32018-03-09Thomas Preud'homme <robotux@celest.fr>Remove asm-c-connect-sep in tests clean target
2343c41caac02d532018-03-15Thomas Preud'homme <robotux@celest.fr>Select VFP if triplet is arm-linux-gnueabihf
2344f0a25ca263972018-03-31Michael Matz <matz@suse.de>Fix shortening casts of long long
2345d6d3cf00ec372018-03-15Petr Skocik <borgx.space@gmail.com>patch type_to_str to handle complex function-ptr decls better
2346ef668aae1ee22018-03-23Petr Skocik <pskocik@gmail.com>Don't fail on const/restrict/static/* inside []
2347671dcace82de2018-04-06Michael Matz <matz@suse.de>Implement function alignment via attributes
2348ace1225492af2018-05-31grischka <grischka>tcc_add_file(): preserve s->filetype
23492b155a8c16b22018-05-31grischka <grischka>tccgen.c: fix warning for incompatible struct- and function pointers
23508f6fcb709ae72018-05-31grischka <grischka>misc fixes
235191bdb5a4a32d2018-06-11Andrey Gursky <andrey.gursky@e-mail.ua>Add linker's --export-dynamic flag alias
235265c7f19debb62018-06-24Michael Matz <matz@suse.de>Fix stored type of arguments on x86-64
2353d79caa9ff6d42018-07-01Michael Matz <matz@suse.de>x86-64: Fix calls via absolute function pointers
23540edbed1d52aa2018-07-21Jonathan Newman <jonathannewman314@gmail.com>Implement __attribute__((nodecorate))
235522420ee1ee7a2018-07-28Michael Matz <matz@suse.de>Fix misparsed type in presence of attributes
235661ba9f2299552018-08-03Michael Matz <matz@suse.de>Check for void type in top-level decls
23573b9c3fd1860c2018-11-03Michael Matz <matz@suse.de>Fix noreturn in main()
235893a4ddfa63fe2018-11-12Petr Skocik <pskocik@gmail.com>Treat the - output as stdout.
235973ca09ff32652018-11-12Petr Skocik <pskocik@gmail.com>Fix array pointer stringification.
2360314843ffc3a82018-11-12Petr Skocik <pskocik@gmail.com>Fix how _Generic treats pointers to arrays.
23611e2e5671f7422018-11-12Petr Skocik <pskocik@gmail.com>Make tcc accept `-l lib` as well as `-llib`.
2362f85b1e393f9f2018-11-13Petr Skocik <pskocik@gmail.com>Always allow ({ }) in the ctrl-expr of _Generic
2363c81116e29a8e2018-11-20Petr Skocik <pskocik@gmail.com>Make casts lose top-level qualifiers
2364e0012c2767882018-11-28Petr Skocik <pskocik@gmail.com>Fix ptr type combining inside the ternary operator
23659d44b02a492d2018-11-29Petr Skocik <pskocik@gmail.com>Fix the fix on type combining (e0012c2)
23663058d4116e732018-11-28Petr Skocik <pskocik@gmail.com>Fix (Cexpr?struct1:struct2).member
236749dfb5755adb2018-11-29Petr Skocik <pskocik@gmail.com>Make fn designators in ?: decay to ptrs
2368f7779efe58522018-11-29Petr Skocik <pskocik@gmail.com>Fix incorrect one-sided void handling in ?:
2369c4787e3626902018-11-30Michael Matz <matz@suse.de>Fix type completion for array types as well
2370070646b790042018-12-12Petr Skocik <pskocik@gmail.com>Recognize C11' _Alignof
23718494f2c318ce2018-12-17Christian Jullien <Christian Jullien>Fix Thomas commit 776aa0c093cc6083cbb61d0db8e303209b21bbad which failedto build on Windows.
2372adfcf3b1ddde2018-12-20Christian Jullien <Christian Jullien>Temporary remove zfunc test on ARM which generates a relocation error. Waiting for a fix
2373f68a1f50fdd32018-12-21Michael Matz <matz@suse.de>Don't use C99 decls
237463f69c2bdd1b2018-12-21Michael Matz <matz@suse.de>Disable -Wformat-truncation
237582abfd75f35d2018-12-22Theodore Dubois <tblodt@icloud.com>Fix ELF interpreter of i386 musl target
2376bf09349f8ee72018-12-22general <general>fix arm-gen.c -> gcall_or_jmp to VT_CONST
2377325241c0deb72018-12-22Christian Jullien <Christian Jullien>zfunc works again on ARM after Pursuer fix
23783e007193a2a82018-12-31Michael Matz <matz@suse.de>Fix more attribute placements
2379f21b53b5eda72019-01-01Christian Jullien <Christian Jullien>Add winnls.h to allow SQLite compile ROOTB on Windows
23807eceba178d442019-01-04Petr Skocik <pskocik@gmail.com>Add max_align_t to stddef.h
23817369cfc4901d2019-01-08Petr Skocik <pskocik@gmail.com>Revert "Add max_align_t to stddef.h"
23820c313f491b6d2019-01-08Pursuer <1596067968@qq.com>Insert arm-xxx_FILES into Makefile to suport CROSS_TARGET and Remove duplicate function lexpand_nr
2383b3b685d92a572019-01-09Pursuer <1596067968@qq.com>optimize the generated code when save_reg is required
23843f05d88d5bda2019-01-10Pursuer <1596067968@qq.com>optimize the generated code when save_reg is required (2)
238551f6e52dd3ee2019-01-09Petr Skocik <pskocik@gmail.com>Support multiple __label__ declarations
2386337dc84b57e92019-01-09Kurt Nalty <kurt.nalty@kurtnalty.com>Fixed -static linking on x86_64 Linux
2387a3a291784a9a2019-01-10Christian Jullien <Christian Jullien>Add -std=c11 option which sets __STDC_VERSION__ to 201112L and allows to implement c11 features conditionally
2388756988e8f93b2019-01-10matthias gatto <uso.cosmo.ray@gmail.com>allow c11 feature only when -std=c11 is use
23892b94c0c3b1742019-01-11Matthias Gatto <uso.cosmo.ray@gmail.com>Revert "allow c11 feature only when -std=c11 is use"
2390065a3b35fccc2019-01-11Petr Skocik <pskocik@gmail.com>Make stddef.h expose max_align_t with -std= >= c11
23918482f9e54b142019-01-11Christian Jullien <Christian Jullien>Add __STDC_xxx test features related to ISO/IEC C11 when -std=c11 is passed.
2392ecb90de4cca22019-01-11Pursuer <1596067968@qq.com>FIX:Revert commit 3f05d88d5bda06b40280710089bd3ede3a8fdaa0
2393d44d8cdf60952019-01-12Christian Jullien <Christian Jullien>Add more STDC_ C11 compatible constants
2394adbe794a46282019-01-13Michael Matz <matz@suse.de>Properly access sym_attrs
239505f6aa1adef32019-01-13Michael Matz <matz@suse.de>Fix -static linking with uClibc
239645b8b0e57d212019-01-13Michael Matz <matz@suse.de>Revert 337dc84b (other -static fix)
2397acac38afb2c92019-01-13Christian Jullien <Christian Jullien>Add C99 compiliant iso646.h header
2398f6be0d483b292019-01-13Giovanni Mascellani <gio@debian.org>Fix read() usage in tccelf.c.
23990d91ba749cb62018-12-20matthias <uso.cosmo.ray@gmail.com>Add gcc attribute cleanup support
2400ff38d90d5d352019-01-02matthias <uso.cosmo.ray@gmail.com>Add attribute cleanup test
240126f0cf0708372019-01-13matthias <uso.cosmo.ray@gmail.com>Fix scope limit for cleanup attribute
2402de92fbee7ebd2019-01-18matthias <uso.cosmo.ray@gmail.com>add a cleanup test that use a lot of scope
24035010023428702019-01-13matthias <uso.cosmo.ray@gmail.com>remove outdated comment
240446145af4a1352019-01-23matthias <uso.cosmo.ray@gmail.com>remove C99 'for' loop initial declarations
24055d805a90e3a92019-01-27Detlef Riekenberg <wine.dev@web.de>tcc.c: Fix outdated help info for the std option
24064cc802a88e442019-01-28Michael Matz <matz@suse.de>Tidy new support for cleanups
240708e22d8ad22e2019-01-28Michael Matz <matz@suse.de>More cleanup tests
2408d27ea5155f472019-01-29matthias <uso.cosmo.ray@gmail.com>remove incr/decr_local_scope functions
24095c862a08b49e2019-01-30Michael Matz <matz@suse.de>suppress code after continue as well
24105f737fb4d3902019-01-31Michael Matz <matz@suse.de>tidy code
2411749d19d70b912019-02-10Michael Matz <matz@suse.de>Fix sub-int returns on x86-64 and i386
2412fef838db2d122019-03-04Michael Matz <matz@suse.de>Fix relocs of unwanted sections
2413b082659f198a2019-03-06matthias <uso.cosmo.ray@gmail.com>fix segv in "{,}" combound literal
2414ef0397cf3d732019-03-08Michael Matz <matz@suse.de>Fix crash on invalid code
24154b46e0ec63052019-03-12Michael Matz <matz@suse.de>Handle corner case for abstract decls
2416920f773a81712019-03-14Vincent Lefevre <vincent@vinc17.net>Fix "make -j test"
2417be7c870718a42019-03-14Vincent Lefevre <vincent@vinc17.net>Fix va_end() definition: must be an expression of type void
2418d72b877e45982019-03-15Michael Matz <matz@suse.de>Fix invalid memory access in preprocess_end
2419e6980f6cc7d12019-03-18Michael Matz <matz@suse.de>Detect more invalid initializers
24201fd37093799b2019-03-18Michael Matz <matz@suse.de>Fix local extern vardecl
24219382a3ad58532019-03-20Devin Hussey <husseydevin@gmail.com>C11 conformance: Add _Noreturn, stdnoreturn.h, and partial _Alignas support
2422d00f98a7a5342019-04-07Michael Matz <matz@suse.de>Fix 98_al_ax_extend.c compile error
24235ac2a26666402019-04-07Michael Matz <matz@suse.de>Don't endlessly recurse on invalid nested typedefs
24242a417b50ee352019-04-07Michael Matz <matz@suse.de>Detect invalid VLA decls
2425fa0ef91a247d2019-04-07Ziga Lenarcic <ziga.lenarcic@protonmail.com>With -run -nostdlib use "_start" as the entry symbol.
242638a6aba468542019-04-08Michael Matz <matz@suse.de>Fix _Alignas
2427ce4aea2478592019-04-09Michael Matz <matz@suse.de>Fix last commit's expected output
242894846d3eef162019-04-09Michael Matz <matz@suse.de>Some types testcases
24290344c0b6a0d02019-04-10Michael Matz <matz@suse.de>Fix more struct inits
2430105107124d072019-04-10Michael Matz <matz@suse.de>Make 102_alignas independend of architecture
2431c16dadbb975d2019-04-15Michael Matz <matz@suse.de>win64: make signal handlers work somewhat
2432f2461096b1bb2019-04-16Christian Jullien <Christian Jullien>Add minimal includes and .def files to support, by default, BSD socket programming on Windows.
2433c07e81b087e02019-04-18Michael Matz <matz@suse.de>Tidy some code
243485483f321d8d2019-04-18Michael Matz <matz@suse.de>Add 103_implicit_memmove testcase
24355a0101856b662019-04-27matthias <uso.cosmo.ray@gmail.com>add C11 _Static_assert support
2436e371642e6b042019-04-28matthias gatto <uso.cosmo.ray@gmail.com>_Static_assert test
2437d30bc6d00a642019-05-02Michael Matz <matz@suse.de>_Static_assert must be followed by semicolon
24380d54946dec522019-04-29matthias <uso.cosmo.ray@gmail.com>fix cleanup with break and continue
243914be3a1dc1862019-04-30matthias <uso.cosmo.ray@gmail.com>fix cleanup with for loop initialisation
2440cf3d23741fd42019-04-30matthias <uso.cosmo.ray@gmail.com>add tests for cleanup loop
24411dd6842654c82019-05-14Vlad Vissoultchev <wqweto@gmail.com>Don't drop asm_label hack on external symbols for win32 DLL exports
2442d04ce7772c2b2019-05-30Michael Matz <matz@suse.de>Don't allow section switches in local asm instructions
244318a2ed2936f82019-06-11Petr Skocik <pskocik@gmail.com>make -h|-hh succeed if the output is successfully written
244460ceab14533a2019-06-11Petr Skocik <pskocik@gmail.com>in c11 mode, skip __STDC_ISO_10646__
2445f2fd56a27dc02019-06-11Petr Skocik <pskocik@gmail.com>turn -fdollars-in-identifiers on by default
2446587e1f5598f22019-06-11Petr Skocik <pskocik@gmail.com>standard conformant inline functions
244747722a8c2ebd2019-06-12Petr Skocik <pskocik@gmail.com>fix windows errors uncovered by the inline patch
24484c2b55f962f12019-06-16Michael Matz <matz@suse.de>Fix use-after-free in tccelf.c
2449eaf5f3fa523e2019-01-04Michael Matz <matz@suse.de>Ignore relocs to ignored sections as well
24507ed2d153450f2019-06-16Michael Matz <matz@suse.de>Revert "Fix relocs of unwanted sections"
24514dfc27b101a82019-06-17Michael Matz <matz@suse.de>Stricter C99 inline tests
2452cb8bbf1ab9332019-06-17Michael Matz <matz@suse.de>TLC for C99 inline implementation
245369a46b0c53052019-06-17Michael Matz <matz@suse.de>Make mingw work again
2454fe23a14ebb692019-06-17Michael Matz <matz@suse.de>Deal with more tentative definitions
24553980e4a5b9662019-06-17Michael Matz <matz@suse.de>Add testcase for 69a46b0
2456c3f0937012d32019-06-17Michael Matz <matz@suse.de>Don't emit unreferenced static inlines
2457cb73be5346a72019-06-17Michael Matz <matz@suse.de>Fix last commit
245878ee3eb7c7002019-06-18Christian Jullien <Christian Jullien>Add Windows support for tests of inline functions - test 104
245921841cb622472019-06-18Christian Jullien <Christian Jullien>Add win32/include/uchar.h which is a C11 standard header. It makes Windows standalone port more C11 compliant
2460d052f609fe652019-06-18Christian Jullien <Christian Jullien>Remove \r in win32/include/uchar.h
2461d39c49db2d162019-06-18Christian Jullien <Christian Jullien>Remove empty conditional _WIN32 code
2462944fe7036c532019-06-19Pascal Cuoq <cuoq@trust-in-soft.com>x86-64 codegen: avoid allocating VLA of size 0
24635dfcc7506c1f2019-06-19Avi Halachmi (:avih) <avihpit@yahoo.com>test 104: simplify, ensure sort locale, parametric tcc
2464e6d8f9a8bbf42019-06-21grischka <grischka>test 104: adjust to (unwritten) tests2 suite conventions
24657894f39e65772019-06-21Michael Matz <matz@suse.de>Make VT_STRUCT_MASK unsigned
2466dd60b20c6e0d2019-06-21Michael Matz <matz@suse.de>Define __dso_handle in libtcc1.a
24676599483304232019-06-22Avi Halachmi (:avih) <avihpit@yahoo.com>test 104: fix out-of-tree build+test
2468942b73bbbb842019-06-24Michael Matz <matz@suse.de>Try fixing asm_dot_test on Windows
2469cbbba01b46302019-06-24Pascal Cuoq <cuoq@trust-in-soft.com>reject invalid arrays in post_type()
247085690480313c2019-06-22grischka <grischka>work on local extern declarations
24711b57560502d02019-04-29grischka <grischka>nocode, noreturn
24728227db3a23fd2019-06-22grischka <grischka>jump optimizations
24733d78918e638b2019-06-22grischka <grischka>introduce scopes for VLA & attribute cleanup
247484779b2b843b2019-06-24Avi Halachmi (:avih) <avihpit@yahoo.com>configure: allow cc tests even if cross compiling, test i386/x86-64
2475a7eef33859222019-06-25Avi Halachmi (:avih) <avihpit@yahoo.com>configure: conftest win32: don't translate LF to CRLF
2476a9340dd325c12019-06-26Christian Jullien <jullien@eligis.com>Applying grischka proposed patch fixes error reported on 93_integer_promotion test as found on Debian buster / gcc 8.3 for ARM plateform
2477a4997bf3d9522019-06-26Christian Jullien <jullien@eligis.com>Inverse last intr test so that function always returns. This prevents warning as found with gcc 8.3 and it matches other function styles doing the same in ARM generator.
2478756e766295922019-06-29YX Hao <lifenjoiner@163.com>win: ignore dllimport/dllexport for typedef with warning instead of error
24794bb5bc44011e2019-07-09Christian Jullien <jullien@eligis.com>Add Windows WSAPool declaration, associated struct and constants. It allows 100% poll compatible POSIX API on Windows.
2480ce1ef5b8fc532018-06-08grischka <grischka>some smaller fixes
24819e429dbef0a12019-07-21Michael Matz <matz@suse.de>Fix invalid size with GNU designated initializers
24820676d5bc23282019-06-22Michael Matz <matz@suse.de>riscv64: Add skeleton target
24831353ccd9e22a2019-06-23Michael Matz <matz@suse.de>riscv: Handle some usual relocs
248435d7b5934ecc2019-06-23Michael Matz <matz@suse.de>riscv: hacky prolog, epilog and return
2485ef7c1a4e96002019-06-23Michael Matz <matz@suse.de>riscv: Implement some loads and calls
248655040845f35a2019-06-23Michael Matz <matz@suse.de>riscv: Handle JUMP_SLOT reloc
248716edda58b73f2019-06-24Michael Matz <matz@suse.de>riscv: Add more ops and fixes
2488b1c7520886b22019-06-24Michael Matz <matz@suse.de>riscv: more insns
24899214087259f72019-07-13Michael Matz <matz@suse.de>riscv: More insns, operands and arg slots
24900d3db83f16e42019-07-13Michael Matz <matz@suse.de>riscv: float ops
249102c8e69a07c52019-07-13Michael Matz <matz@suse.de>riscv: fp parameters
24929c1b17407f362019-07-14Michael Matz <matz@suse.de>riscv: Make 32_leds work
24939309585dbe642019-07-14Michael Matz <matz@suse.de>riscv: some long double support
24945fcb87138d682019-07-15Michael Matz <matz@suse.de>riscv: Handle more relocs
2495f64d460d29352019-07-15Michael Matz <matz@suse.de>riscv: fix 72_long_long_constant
2496215bc1aab4fa2019-07-15Michael Matz <matz@suse.de>riscv: Add sar, shr insn
24979164594d1f5b2019-07-15Michael Matz <matz@suse.de>riscv: load 64bit constants, and 32bit shifts
24985390a729d96f2019-07-15Michael Matz <matz@suse.de>riscv: Implement VLA stuff
2499b0329ac081a82019-07-15Michael Matz <matz@suse.de>riscv: predefine more macros
250031ecaa7c28c72019-07-15Michael Matz <matz@suse.de>riscv: GOT loads, signed remainder, ELF flags
2501b69c2ea2cfce2019-07-15Michael Matz <matz@suse.de>riscv: fix 90_struct-init
2502ddb0c2de92802019-07-17Michael Matz <matz@suse.de>riscv: support large stack and far jumps
2503f44df9d85ba12019-07-18Michael Matz <matz@suse.de>riscv: some work on large function arguments
2504982de78e8dac2019-07-21Michael Matz <matz@suse.de>riscv: implement stdarg functions
25052616c6b230ff2019-07-21Michael Matz <matz@suse.de>riscv: Fix 73_arm.c
25062668eda595c92019-07-21Michael Matz <matz@suse.de>riscv: Implement long double support
250769c77d1597ee2019-07-21Michael Matz <matz@suse.de>riscv: Fix unsigned 32bit loads
250806184aec536c2019-07-22Michael Matz <matz@suse.de>riscv: fix relocs for global syms
25091ada32900b732019-07-22Michael Matz <matz@suse.de>riscv: Fix ftoi and ftof(long double->float)
2510509f5618230b2019-07-22Michael Matz <matz@suse.de>riscv: fix more sign/zero-extension problems
2511e9c2a1996ab72019-07-22Michael Matz <matz@suse.de>riscv: Fix tcctest.c
251298dc4c123d952019-07-22Michael Matz <matz@suse.de>riscv: Fix stdarg_many_test
251398f1b83ffe702019-07-22Michael Matz <matz@suse.de>riscv: Start fixing float struct passing/returnig
25140cb6e3fff8702019-07-29Michael Matz <matz@suse.de>riscv: Fix mixed2 and mixed3 abi tests
25159b0efa9346212019-07-29Michael Matz <matz@suse.de>riscv: Make PLT reloc be AUTO_GOT
2516c505074a9fcd2019-08-10Michael Matz <matz@suse.de>riscv: rewrite parameter passing
251783cf5bf17fa22019-08-10Michael Matz <matz@suse.de>riscv: TLC of param passing
2518f8d80464a9552019-08-13Michael Matz <matz@suse.de>riscv: factor load/store code
2519d5bb407cc4d12019-08-13Michael Matz <matz@suse.de>riscv: Add special cases for const operands
252048ba22c744c02019-08-13Michael Matz <matz@suse.de>riscv: Replace RR insn emitter with specific one
252191e297acd3dd2019-08-14Michael Matz <matz@suse.de>riscv: Optimize compares
25229264f06efea22019-08-14Michael Matz <matz@suse.de>Improve ?: expansion a little
25237d4a71fc8b972019-09-03Siddhesh Poyarekar <siddhesh@gotplt.org>arm64: Increase page size
25249298555eb61b2019-09-08Sergey Sushilin <sushilinsergey@gmail.com>add C11 stdalign.h header
25257b8799e5ff022019-07-16grischka <grischka>tccgen.c: local extern decls: copy s->ref for VT_PTR too
252653a1521c2e252019-09-08Sergey Sushilin <sushilinsergey@gmail.com>fix _Noreturn keyword
2527c6635504fec12019-09-14Øyvind A. Holm <sunny@sunbase.org>README: Fix typo and remove trailing whitespace
2528944c4003bd8a2019-09-16Jan Boon <jan.boon@kaetemi.be>Add function to list all symbols, for purpose of linking separate in-memory compilations
2529491773ac58eb2019-10-14Luc Everse <luc@wukl.net>Add error_func and error_opaque getters to libtcc
25307268fe7239782019-10-22herman ten brugge <hermantenbrugge@home.nl>Add elf version support
2531b073a9c1037c2019-10-22herman ten brugge <hermantenbrugge@home.nl>Add testcase for elf_version
253266a14a1e339a2019-10-22herman ten brugge <hermantenbrugge@home.nl>Add testcase for elf_version
2533749dd15ee8242019-10-23herman ten brugge <hermantenbrugge@home.nl>Fix testcase for elf version
2534a7b37f9c63372019-10-23Pursuer2 <1596067968@qq.com>Fix bug in gen_cvt_ftoi1. Add test 107_stack_safe for this fix. (Thanks to the support of herman ten brugge)
2535588dd6827ae72019-10-24herman ten brugge <hermantenbrugge@home.nl>Fix elf version info
2536b84ab23011082019-10-24herman ten brugge <hermantenbrugge@home.nl>Add wine support
2537c4c5ea43817f2019-10-25herman ten brugge <hermantenbrugge@home.nl>remove wine
2538800c3a5e0be02019-10-29herman ten brugge <hermantenbrugge@home.nl>Add constructor/destructor support
2539fadfc118e5f82019-10-29herman ten brugge <hermantenbrugge@home.nl>Fix sse calling bug
254096f1fb1da0b42019-10-29herman ten brugge <hermantenbrugge@home.nl>rename testcase
2541f420259ee5d32019-11-05Jookia <166291@gmail.com>arm: Don't override syscall implementation
254225781e4552822019-11-08Christian Jullien <jullien@eligis.com>Fix float conversion in arm64 backend
25438a93ce106a5a2019-11-25Michael Matz <matz@suse.de>elf: rewrite version support
25444e9ce59fe8ba2019-11-27Michael Matz <matz@suse.de>Workaround false positive warning
2545df72b8d487aa2019-11-27herman ten brugge <hermantenbrugge@home.nl>Add windows constructor/destructor support
254614fc6b6dcbd02019-12-01Sergey Sushilin <sushilinsergey@gmail.com>use size_t instead of int when work with strings
25474873f6fada522019-12-01Sergey Sushilin <sushilinsergey@gmail.com>use uchar instead of int to save memory
25481dc92f8ff8532019-12-02Michael Matz <matz@suse.de>Fix indentation and run_test type
2549474f95dda8292019-12-05Michael Matz <matz@suse.de>Fix setting of options
25504461f38a9e782019-12-10herman ten brugge <hermantenbrugge@home.nl>Fix bounds checking for linux/windows
255117850a51f5db2019-12-10herman ten brugge <hermantenbrugge@home.nl>Fix bounds checking on targets with no bcheck.c
255288dd577302852019-12-10herman ten brugge <hermantenbrugge@home.nl>Disable bounds_check1_test on arm
2553353db307ed9a2019-12-10Michael Matz <matz@suse.de>Fix compile warning with cross compilers
2554ac2a61d1b37b2019-12-10Michael Matz <matz@suse.de>Add dependency on libtccb1.a
2555fb22e0c12dbb2019-12-10Michael Matz <matz@suse.de>Fix type/r/r2 confusion differently
25564d297d354c382019-12-10herman ten brugge <hermantenbrugge@home.nl>Add bound checking print heap
2557df349ddc43e82019-12-09grischka <grischka>versym cleanup
25586082dd62bb492019-12-10grischka <grischka>tcc -vv ... : show objects loaded from archives
255972729d8e36042019-12-10grischka <grischka>allow libtcc states to be used concurrently
2560a0bc149b0ca22019-12-11herman ten brugge <hermantenbrugge@home.nl>Fix bounds checking after concurrently commit
2561426d32af230e2019-12-11herman ten brugge <hermantenbrugge@home.nl>Fix alloca on x86_64 windows
2562b45a8d456d292019-12-11herman ten brugge <hermantenbrugge@home.nl>Fix2 alloca on x86_64 windows
2563b3893baa458b2019-12-11herman ten brugge <hermantenbrugge@home.nl>Fix3 alloca on x86_64 windows
25648b23662d53132019-12-11Michael Matz <matz@suse.de>Fix libtcc_test_mt with lib64
256583f822d0cd8f2019-12-12Michael Matz <matz@suse.de>Also parse -Dfoo in libtcc_test_mt
256690e09ed75f6b2019-12-12Michael Matz <matz@suse.de>Disable thumb code generation on tcctest.gcc
256711fc58fa13ab2019-12-12Michael Matz <matz@suse.de>Fix parallel make targets
2568ce4eafb34f802019-12-12Michael Matz <matz@suse.de>Include some headers in new multi-thread test
25694a2e33d1609d2019-12-12herman ten brugge <hermantenbrugge@home.nl>Update bounds checking.
257075145ddc1a822019-12-12herman ten brugge <hermantenbrugge@home.nl>Add -ba option for bounds_checking
257135512be1eeb42019-12-12herman ten brugge <hermantenbrugge@home.nl>Fix typo with -ba option
257239c0ff311dd12019-12-12herman ten brugge <hermantenbrugge@home.nl>Add new bounds checking functions.
257356e70bfa316d2019-12-13herman ten brugge <hermantenbrugge@home.nl>Fix bounds checking new functions.
257487639aae7c3e2019-12-13herman ten brugge <hermantenbrugge@home.nl>Add linenumber filename support for bounds checking.
2575a86f47889c6d2019-12-13herman ten brugge <hermantenbrugge@home.nl>Fix debug info
257656db092ab7df2019-12-12grischka <grischka>bcheck cleanup
257765f74a4df0942019-12-14grischka <grischka>tccrun.c: better stab debug support
25782fb79a63263f2019-12-14Michael Matz <matz@suse.de>Fix some races
25796cb68c3a17ba2019-12-14Michael Matz <matz@suse.de>arm64: fix some casts
2580b476a5f4787c2019-12-16Michael Matz <matz@suse.de>Readd lost error on local static function decls
2581ff3b5ee91ca52019-12-14grischka <grischka>-bench fix
25825914f4d57d262019-12-16grischka <grischka>tccgen.c: cleanup reg classes
258335475b5423db2019-12-16grischka <grischka>remove VT_LVAL_BYTE etc.
258489372dc482742019-12-16grischka <grischka>update gen_cast
2585a64353ce71f62019-09-23grischka <grischka>tccgen.c: generic char/short promotion for function return values
2586d30d68d738a62019-12-16grischka <grischka>#pragma comment(option, "file.c")
25872d17e5a6c4352019-12-16Michael Matz <matz@suse.de>riscv64: adjust for cast changes
2588c8ca64d28ba12019-12-17Michael Matz <matz@suse.de>Adjust return value promotion for some archs
25891d4d74d6d0f22019-12-17Michael Matz <matz@suse.de>Use explicit signed char in char_short_test
259043fb5a72e7632019-12-17Giovanni Mascellani <gio@debian.org>tcctest: explain why i386 is not tested
2591f150f93854a12019-12-17Michael Matz <matz@suse.de>Fix the get_asm_string fail on i386 in another way
2592269042503ebe2019-12-23herman ten brugge <hermantenbrugge@home.nl>Fix sellinux pointer code in tccrun. Free all memory on exit in __bound_exit.
25930d6801b130df2020-01-14Christian Jullien <jullien@eligis.com>C11, section 7.2: The macro static_assert expands to _Static_assert. This macro was missing on Windows
25943877618785002020-01-15herman ten brugge <hermantenbrugge@home.nl>Update bound checking code.
25954a70b2bc2d082020-01-15Michael Matz <matz@suse.de>Fix handling of unevaluated subexpression of const
259665f2fe390c8f2020-01-16Michael Matz <matz@suse.de>Cleanup new bound checking code
25970d7c40b9484c2020-01-16herman ten brugge <hermantenbrugge@home.nl>Call pop_local_syms before gfunc_epilog
2598c7e3d5d7a3502020-01-16Christian Jullien <jullien@eligis.com>Add _ISOCxx_SOURCE glibc compatible macros.
2599c2976962dac82020-01-16Christian Jullien <jullien@eligis.com>Merge branch 'mob' of git://repo.or.cz/tinycc into mypatch
26004092b05068492020-01-16herman ten brugge <hermantenbrugge@home.nl>Exclude ellipsis functions from bounds checking. This fails on i386.
2601ef42295fe8022020-01-17gr <gr@gr-laptop.(none)>tccrun.c: standalone backtraces with -bt[N] or -b
26022b7cffac74832020-01-18grischka <grischka>fixes for previous commit
2603a5f6e6189e752020-01-18Michael Matz <matz@suse.de>Make 112_backtrace/bcheck_123 more robust
2604d79e1dee8cfc2020-01-19grischka <grischka>backtrace: test with DLLs
2605fdeeb62e28f72020-01-20Michael Matz <matz@suse.de>Fix symbol versions with shared libs
260623a8bac7b5ad2017-01-17Michael Matz <matz@suse.de>Use precedence parser for expressions
2607aeac24de98ce2020-01-13Michael Matz <matz@suse.de>Rework expr_landor
26087e901299bf552020-01-21grischka <grischka>Rework expr_infix
2609c092f2ed61022020-02-07Udo <Udo@Udos-PC>Check if symbol given for attr. cleanup is actually a function
261089b3cf0b87ec2020-02-09Udo <Udo@Udos-PC>warn if attr. __cleanup__ is given in type decl. (Allow this as an extension?)
2611a9e7fe19c7542020-02-09Udo <Udo@Udos-PC>extend test 03_struct for attr. __cleanup__
26129272fac7c4632020-02-17Udo <Udo@Udos-PC>rework type coercion in ternary expr (a bit) and uncomment previously failing test. Be more explicit in diagnostic messages.
2613923100c4985e2020-02-18Udo <Udo@Udos-PC>Better follow spacing style. (only changed formatting)
2614e050ae845e6b2020-02-11Sizhe Zhao <prc.zhao@outlook.com>win32/build-tcc.bat: clean .o in win32/lib
2615cb041f11f66b2020-02-29matthias <uso.cosmo.ray@gmail.com>improve _Static_assert
2616704b602184a52020-02-29matthias <uso.cosmo.ray@gmail.com>instruduce C2x _Static_assert syntaxe
26174caa9a4cc7f22020-03-14wanjochan <wanjochan@gmail.com>relocate_syms() should using !(nostdlib) for parameter "int do_resolve"
26186fa78a3635282020-03-21wanjochan <wanjochan@gmail.com>OSX: make libtcc.dylib
2619ec0e93616f8c2020-03-22Christian Jullien <jullien@eligis.com>Fix arm64-gen.c when passing a struct ptr to va_arg.
26205ade19c4211d2020-03-22Christian Jullien <jullien@eligis.com>Add a test function which verifies we can pass a struct ptr to va_arg for all supported architectures. The bug has been identify by trying to compile FFTW-3.3.8.
2621c386ca91c6c62020-03-22wanjochan <wanjochan@gmail.com>OSX: libtcc.dylib Makefile fix
2622df67d8617b7d2020-04-07Tyge <tylo@norceresearch.no>Minimum changes to make all float variants of math.h functions work, by calling the double functions and removing unsupported __asm implementations using "=t". This patch also enables the double version of logb(double).
2623024214af2d992020-04-11Tyge <tylo@norceresearch.no>Finalizing math.h fixes: - Updated msvcrt.def with symbols from 64bit version of dll - it contains the float math functions missing in the 32bit dll. - Made sure this patch only apply to to WIN32 and WIN64. For WIN32 float functions calls the double variants, on 64bit they are called natively.
2624d019586378eb2020-02-24grischka <grischka>win32/include/math.h: rint/trunc: pop fp stack
26256696da2f61942020-02-22grischka <grischka>win32: long double as distinct C-type
2626096c93c0c6c32020-04-14Michael Matz <matz@suse.de>Fix interaction of (local) labels and stmt exprs
262700fbf65524db2020-04-15Michael Matz <matz@suse.de>Move type_incompatibility_error earlier
2628c085645f981b2020-04-15Michael Matz <matz@suse.de>Expect c99 support in tcctest.c
262938ab621b55ef2020-01-18Michael Matz <matz@suse.de>Factor out common type combination
26301803762e3f862020-04-11Robert Hoelzl <robert.hoelzl@posteo.de>Make tcclib1.a compile on macOS again
26318c6143d86f722020-04-15Michael Matz <matz@suse.de>Fix stdarg on x86-64
2632245f6a0d13922017-12-25Michael Matz <matz@suse.de>stdarg: always have the __builtin_va_* available
26332f943902235f2020-04-15Michael Matz <matz@suse.de>musl: disable boundcheck tests
2634fb1fb8219ccf2020-04-15Michael Matz <matz@suse.de>riscv64: fcvt.d.s doesn't need a rounding mode
26353e731e3a78c02020-05-03herman ten brugge <hermantenbrugge@home.nl>Add symbolic debug support
2636973a14bb2f8e2020-05-04herman ten brugge <hermantenbrugge@home.nl>Fix symbolic debugging for -g -dt -run
26378370bc03a1c92020-05-05herman ten brugge <hermantenbrugge@home.nl>Allow signal handlers when bound checking
263829ba50da29c22020-05-05herman ten brugge <hermantenbrugge@home.nl>Fix some printf like functions
26398de7c092f0ae2020-05-10Michael Matz <matz@suse.de>Support --version cmdline arg
26405bc1720776f92020-05-05grischka <grischka>tccgen.c: move 'alloca_used' complication to *-gen files
26419c28349757192020-05-05grischka <grischka>tccgen.c: cleanup debug support
264292236bfe1d9e2020-05-11Christian Jullien <jullien@eligis.com>Rework help messages: split --version -v and -vv, display -m32/64 only when available on current plateform.
26437bb5454ef38f2020-04-12grischka <grischka>make SILENT=yes
26444429cef9f61d2020-05-13grischka <grischka>tccgen.c: merge more function attributes
2645b5b92c7d6d7e2020-05-23herman ten brugge <hermantenbrugge@home.nl>Add setjmp/longjmp bound checking support
2646045632defb102020-05-23herman ten brugge <hermantenbrugge@home.nl>Fix gcc10 warnings
26473b617fdc53d42020-05-25herman ten brugge <hermantenbrugge@home.nl>Add sigsetjmp/siglongjmp bound checking support
2648ae14ef54265e2020-05-26Michael Matz <matz@suse.de>riscv64: Fix printf warning
264947363cbb977a2020-06-01Christian Jullien <jullien@eligis.com>Support -v --help the same way as gcc does
2650bbb3f79bb8082020-06-01Christian Jullien <jullien@eligis.com>Missied a commit in order to support -v --help the same way as gcc does
2651e640ed1aeb8c2020-06-01Christian Jullien <jullien@eligis.com>Also support --help -v, i.e. arguments in different order.
2652068d5b3d203f2020-06-03Michael Matz <matz@suse.de>pp: Move errors about stray backslashes
26539eef33993ade2020-06-05Michael Matz <matz@suse.de>Fix type compatiblity of enums and ints
26540b8ee7364a152020-06-16herman ten brugge <hermantenbrugge@home.nl>Add bound checking to arm, arm64 and riscv64
265544019e874f362020-06-17herman ten brugge <hermantenbrugge@home.nl>Fix debug info for functions
26568fb8d88ea63d2020-06-17herman ten brugge <hermantenbrugge@home.nl>Add vla bound support for arm,arm64 and riscv64
2657e7a4140d28e12020-06-01grischka <grischka>tcc --help -v: cleanup
2658cbef54653af32020-06-17grischka <grischka>tcc -MD: drop system includes and duplicates
2659781872517d1c2020-05-13grischka <grischka>tccpp.c: compile 'tcc_predefs' from string
2660b5faa45d90652020-06-17grischka <grischka>tccpp: faster next()
2661b2d351e0ec2c2020-06-18herman ten brugge <hermantenbrugge@home.nl>Fix fetch_and_add code
26627b6931ed1fec2020-06-20Michael Matz <matz@suse.de>Fix some string literal expressions in initializers
26634cc27b816fd42020-05-08Michael Matz <matz@suse.de>macos: Use newer MACOSX_DEPLOYMENT_TARGET
266434a56585644d2020-05-08Michael Matz <matz@suse.de>macos: Add system include dir for building libs
2665c16f5d2fe6312020-05-08Michael Matz <matz@suse.de>Fake __has_include handling
2666032664bf7f382020-05-08Michael Matz <matz@suse.de>macos: make Mach-O somewhat ELF_OBJ_ONLY
26676178e47345e82020-05-15Michael Matz <matz@suse.de>macos: detect clang also when called as gcc
26689d2ce50d2f0c2020-05-15Michael Matz <matz@suse.de>macos: Use SDK path for headers
2669b882cad67e162020-05-15Michael Matz <matz@suse.de>macos: Don't try to load dylibs or linker scripts
267094066765ed762020-05-15Michael Matz <matz@suse.de>macos: First cut at generating Mach-O executables
26711320d85742bf2020-05-16Michael Matz <matz@suse.de>macos: Create symtab
2672bbccb135664f2020-05-17Michael Matz <matz@suse.de>for_each_element for all; add tcc_exit_state
26736ebd463021d12020-05-17Michael Matz <matz@suse.de>macos: dynamic symbol table and __got
2674fab8787b23642020-05-17Michael Matz <matz@suse.de>macos: Fix GOT access to local defined symbols
2675d82e64c163fd2020-05-17Michael Matz <matz@suse.de>macos: handle undefined symbols a bit
267684c3fecf5e982020-05-18Michael Matz <matz@suse.de>macos: Support external functions
26771ca209dad0582020-05-18Michael Matz <matz@suse.de>macos: set LC_MAIN entrypoint correctly
267851f15d9971622020-05-18Michael Matz <matz@suse.de>macos: Deal with leading underscore on Mach-O
2679ef730c4d2f4b2020-05-18Michael Matz <matz@suse.de>macos: don't like in crt startup code
2680cc11750bda932020-05-18Michael Matz <matz@suse.de>macos: Support .init_array and .fini_array
268171b0634168092020-05-22Michael Matz <matz@suse.de>Add find_c_sym and friends
268291cb41330d4b2020-05-22Michael Matz <matz@suse.de>macos: Adjust tests2.112 and tests2 Makefile
26830b3c8360a0952020-05-22Michael Matz <matz@suse.de>macos: section syms, strtab, runtime
268457ba50e6111f2020-05-22Michael Matz <matz@suse.de>macos: support bounds checking
2685b0b0e48409df2020-05-22Michael Matz <matz@suse.de>macos: Use <dispatch.h> for locking
26865d2f4cb403862020-05-22Michael Matz <matz@suse.de>macos: various fixes
2687f18f8651599e2020-05-22Michael Matz <matz@suse.de>Handle always_inline as GNU inline
26884eff2b5f6a252020-05-22Michael Matz <matz@suse.de>macos: more adjustments for OSX systems
26899ce5b4a691e62020-05-22Michael Matz <matz@suse.de>macos: Adjust tcctest.c for clang
2690f2e154e1e5952020-05-22Michael Matz <matz@suse.de>macos: Disable verbose linking output
2691f486b19f56082020-05-22Michael Matz <matz@suse.de>macos: bound_alloca symbol adjust
26923cf7bec12f6c2020-05-22Michael Matz <matz@suse.de>macos: Enable all working tests
2693fbfe6209be632020-05-23Michael Matz <matz@suse.de>macos: Fix asm-c-connect-test
2694c86760c1e9252020-05-25Michael Matz <matz@suse.de>macos: Read exported symbols from dylibs
2695ac86fb50cdc02020-05-25Michael Matz <matz@suse.de>macos: Tidy code
2696d174af08f9032020-05-25Michael Matz <matz@suse.de>macos: Fix memtest
26971711eb2ef3842020-06-20Michael Matz <matz@suse.de>macos: add overview comment
269818db8da7df3c2020-06-20Michael Matz <matz@suse.de>Workaround old GCC viz indexed string literals
2699c883d43ae5212020-06-20Michael Matz <matz@suse.de>fixes for deadlocks and dollars in asm
2700ba8980f492d32020-06-21Michael Matz <matz@suse.de>limit gnu_inline hack to macos
27018d9b83bd11352020-06-21Christian Jullien <jullien@eligis.com>macOS configure correctly reports clang and version
2702a3d1e9cd3d282020-06-21Christian Jullien <jullien@eligis.com>macos: Reorder C compiler detection so that conftest allows to boostrap tcc with tcc on macos.
2703c69356635c3d2020-06-21Christian Jullien <jullien@eligis.com>macos: add darwin OS detection.
27044d28120e9b392020-06-21Christian Jullien <jullien@eligis.com>macos: test 114 is not supported on macOS and this is not related to old gcc version
2705925f6704ce4f2020-06-22Christian Jullien <jullien@byas.local>Add clock_nanosleep emulation for macOS
27069ad25d7257c82020-06-22Christian Jullien <jullien@eligis.com>Add clock_nanosleep emulation for macOS
270728d5c5e54f6a2020-06-22Christian Jullien <jullien@eligis.com>macos: apply readlink to get exact compiler name
2708f84e96fe81f62020-06-22Christian Jullien <jullien@eligis.com>macos: add 'c' option to conftest to get real compiler name and not an alias as with gcc on macOS
27090262f0eb1ec92020-06-22Christian Jullien <jullien@eligis.com>macos: fix typo in conftest
2710039e4ec2a4fd2020-06-22herman ten brugge <hermantenbrugge@home.nl>Call __bound_main_arg at startup
27113c53d54a43822020-06-22herman ten brugge <hermantenbrugge@home.nl>Fix environ variable for macos.
27129617ea6a3afd2020-06-23Christian Jullien <jullien@eligis.com>macos: workaround to build tcc using tcc until .o object files generated by tcc are fully compatible with ar. Instead of ar, use 'tcc -ar'
271315e4f8b3b0a02020-06-23Christian Jullien <jullien@eligis.com>macos: Add DYLD_LIBRARY_PATH to tcc when configured with --disable-static - i.e. with .dylib support
27146b2bed447f5a2020-06-23Christian Jullien <jullien@eligis.com>macos: add some macros to replace few __builtin_xxx functions used in headers.
27158bad5bfae5ef2020-06-23Christian Jullien <jullien@eligis.com>macos: internally define _DONT_USE_CTYPE_INLINE_ otherwise, ctype.h macros may be defined multiple times in different translation units.
2716f635de709e382020-06-24Christian Jullien <jullien@eligis.com>macos: clang -s option is obsolete - at least on macOS.
2717f6e392a4af012020-06-24Christian Jullien <jullien@eligis.com>macos: add __builtin_flt_rounds. Forced to 1 which means 'to nearest'
2718d5822b725ebc2020-06-24herman ten brugge <hermantenbrugge@home.nl>Fix ctype.h warning in lib/bcheck.c
271950abaaeb0a252020-06-24herman ten brugge <hermantenbrugge@home.nl>Support clang on all targets
2720383acf8eff282020-06-25Christian Jullien <jullien@eligis.com>Fix warning detected by clang when passing unsigned int pointer when signed is expected. Instead of a cast, it would be better to pass the exact type.
272186992622dc452020-06-25herman ten brugge <hermantenbrugge@home.nl>do not disable all asm_test for macos
272203646ad46ff52020-06-25herman ten brugge <hermantenbrugge@home.nl>Fix cast_test for clang.
27236a15f15093c72020-06-26Christian Jullien <jullien@eligis.com>Fix coredump on linux when boostrapping tcc with -std=c11
27249712aff9c00e2020-07-05herman ten brugge <hermantenbrugge@home.nl>Fix gcc testsuite problems
2725e5d7e37157e82020-07-06coltrane <jullien@coltrane.eligis.com>Add missing ws2tcpip.h which lets tcc compile Microsoft Winsock Server sample on Windows platform.
272690e9e34bec412020-07-06coltrane <jullien@coltrane.eligis.com>Add missing ws2tcpip.h which lets Microsoft Winsock Server sample compile ROOTB on Windows platform.
27270ee4989ed3392020-06-27grischka <grischka>libtcc: accept tcc_define_symbol(s1, "sym=value", NULL)
272872277967ffa12020-06-27grischka <grischka>some cleanups related to recent commits
27296a4f3cf127e62020-06-27grischka <grischka>rework leading underscores
27302a0167adfe402020-07-05grischka <grischka>__builtin_/__bound_: A 'stay tiny' approach to the matter
2731de06193d88f52018-05-26Michael Matz <matz@suse.de>tccpp: Add -bench -E mode
273240671f76e4ed2020-07-06Michael Matz <matz@suse.de>Fix parsing of .s files
2733fc05da3c0bcd2020-07-06herman ten brugge <hermantenbrugge@home.nl>Fix alloca and arm problems
273449e2d06921fd2020-07-07Christian Jullien <jullien@eligis.com>macos: initialize macho struct with memset which removes a clang warning on macOS.
273520fa63488a6e2020-07-07herman ten brugge <hermantenbrugge@home.nl>Fix bounds checking
27369d75f14107762020-07-08herman ten brugge <hermantenbrugge@home.nl>Fix structure passing i386 PE
27371ea425811a732020-07-09Christian Jullien <jullien@eligis.com>macos: ldd does not exit, use otool instead
2738b5a89c8c933f2020-07-09Christian Jullien <jullien@eligis.com>macos: tcc searches for libtcc.dyln in the same directory as its executable
2739af0370a75d0b2020-07-09Christian Jullien <jullien@eligis.com>macos: add tcc version to libtcc.dylib. It can be shown with 'otool -L'.
27406bd0ced239212020-07-09Christian Jullien <jullien@eligis.com>Add USES file which list some software known to support tcc builds.
27416c94df6e2dd72020-07-09Christian Jullien <jullien@eligis.com>macos: add path relative ../lib
2742c69290fb0ca62020-07-09Avi Halachmi (:avih) <avihpit@yahoo.com>macos: support arbitrary configure --libdir
2743513a8b074dae2020-07-09Steffen Nurpmeso <steffen@sdaoden.eu>USES: s-nail
2744e19665c0d8032020-07-10Christian Jullien <jullien@eligis.com>USES: add zlib
274528e9fc1913562020-07-10Christian Jullien <jullien@eligis.com>macos: 'make uninstall' also removes *.dylib
2746b5af2d3428f82020-07-11Christian Jullien <jullien@eligis.com>Add -C gcc compatible option which does currently nothing. This allows, among others, to compile gnumake from git ROOTB.
2747497678eee3e82020-07-11Christian Jullien <jullien@eligis.com>USES: just tested with gmp and mpfr on RPi
27488314119662922020-07-11Christian Jullien <jullien@eligis.com>USES: add mpc library
2749c1e1c17c0af02020-07-12herman ten brugge <hermantenbrugge@home.nl>Move bound functions to tccgen.c
275092769362c70d2020-07-15Christian Jullien <jullien@eligis.com>Fix LDBL_xx values for aarch64 and riscv
2751a614269794a92020-07-15Michael Matz <matz@suse.de>riscv64: Fix a corner case
27522e798523e4b92020-07-15Michael Matz <matz@suse.de>Fix conversions of subnormals to long double
27539b2329f66cfc2020-07-15Michael Matz <matz@suse.de>riscv64: Work around qemu bug
275458be11f701f42020-07-16Christian Jullien <jullien@eligis.com>Add L suffix to LDBL values.
2755d1ce34448faf2020-07-30herman ten brugge <hermantenbrugge@home.nl>Faster load/store arm64
2756d55a3f3362942020-07-30herman ten brugge <hermantenbrugge@home.nl>Fix riscv64 compare problem.
27571da7159689732020-08-01herman ten brugge <hermantenbrugge@home.nl>Add arm64 dll support
2758b8fb2b02d96c2020-08-04herman ten brugge <hermantenbrugge@home.nl>Add arm dll support
2759a0a0f4d029e92020-08-04herman ten brugge <hermantenbrugge@home.nl>Add riscv dll support
27603cfaaaf1eb972020-08-05herman ten brugge <hermantenbrugge@home.nl>Fix dll on arm.
27619085b38a718a2020-08-07wanjochan <wanjochan@gmail.com>add "libtcc.osx" entry to Makefile, for programs who need more pure libtcc.dylib without "@rpath/" config
2762dcb87d36fee62020-08-09herman ten brugge <hermantenbrugge@home.nl>Fix long bitfield
2763e5da657c85942020-08-09herman ten brugge <hermantenbrugge@home.nl>Fix testcase 95 for windows
276409ed7e9557f92020-08-11herman ten brugge <hermantenbrugge@home.nl>Add bool debug type
27658b8e714517092020-08-11herman ten brugge <hermantenbrugge@home.nl>Fix bound checking for packed struct
276670b16cb7f84d2020-08-11herman ten brugge <hermantenbrugge@home.nl>Fix argv/environ bound checking
2767cdf001c296b82020-08-12wanjochan <wanjochan@gmail.com>helper scripts for windows
2768a06e8350aafa2020-08-12wanjochan <wanjochan@gmail.com>helper script: build tcc32.exe tcc64.exe libtcc32.dll libtcc64.dll
27695aaed43efd622020-08-13wanjochan <wanjochan@gmail.com>tune win32/tccwin_build.sh for libtccXX.dll
277050fe33f880092020-08-13herman ten brugge <hermantenbrugge@home.nl>Add attribute bound_no_checking
2771c740fa2795ea2020-08-13herman ten brugge <hermantenbrugge@home.nl>Fix attribute patch for windows
27724c9e3a5988b42020-08-14herman ten brugge <hermantenbrugge@home.nl>Update attribute bound_no_checking
277362c30a4a13162020-08-14Thomas Preud'homme <robotux@celest.fr>Fix typo in tcc-doc
2774777c017034af2020-08-15wanjochan <wanjochan@gmail.com>cleanup win32/tccwin_build.sh
27753613a11454292020-08-16wanjochan <wanjochan@gmail.com>rm helper scripts newly added by me
2776b107f7bdd9562020-08-18Willy Tarreau <w@1wt.eu>Fix switch/case on uint64_t
2777696b765437b42020-08-18herman ten brugge <hermantenbrugge@home.nl>Fix switch/case
2778a34a9775ba192020-08-21herman ten brugge <hermantenbrugge@home.nl>Fix char to ushort cast
2779f9870f7860802020-08-14grischka <grischka>bcheck: remove static (compile-time) control
2780d746e32349562020-07-08grischka <grischka>tests2: rework 117..119 to follow our conventions
278153d815b8a0362019-09-12grischka <grischka>win32/tccpe: use full dll-path with -run
2782853a498f2c232020-09-08herman ten brugge <hermantenbrugge@home.nl>Fix boundschecking for signal/sigaction/fork
278355f8963dfab52020-09-08wanjochan <wanjochan@gmail.com>ignore symbol main for .dylib; skip libtcc1 for tccrun mode;
2784310e3b428cfd2020-09-08Kyryl Melekhin <k.melekhin@gmail.com>(bug caused by tcc intristics) reproduce bug: $ ./configure --cc=gcc $ make $ make install (OK) run a test:
278560c1f70bb92b2020-09-10Christian Jullien <jullien@eligis.com>Revert commit 55f8963dfab5c543f7f34589d3ef9d3f2da3db14 from wanjochan until better tested on all platforms
2786618ba55a81512020-09-10Kyryl Melekhin <k.melekhin@gmail.com>fix float to u64 intrinsics
2787a5e714abecfe2020-09-11Kyryl Melekhin <k.melekhin@gmail.com>add tests for float conversions to u64
27888878c29c5d802020-09-11Pursuer2 <1596067968@qq.com>misplaced parenthese around definition of CONFIG_TCC_BCHECK
278961c0c852b58b2020-09-14herman ten brugge <hermantenbrugge@home.nl>Update boundschecking for fork
2790d55e586bc6af2020-09-14herman ten brugge <hermantenbrugge@home.nl>Fix boundschecking fork for macos/SELINUX
279155eafa66b7f42020-09-16wanjochan <wanjochan@gmail.com>test 114: skip bcheck for osx (tcc -run not support fork with -b)
279243ae3503904d2020-09-16wanjochan <wanjochan@gmail.com>tcc_add_support(): skip when filename is empty
279389935229a71f2020-09-16wanjochan <wanjochan@gmail.com>tcc_add_support(): void return for win
27947eebf614dc972020-09-16wanjochan <wanjochan@gmail.com>tcc c-tyle-compliance: space between if and (
2795a3578379fbd32020-09-17wanjochan <wanjochan@gmail.com>when tcc1 omit: use main() directly
279615182d7fdd332020-09-17Christian Jullien <jullien@eligis.com>Don't mix code and declaration
279713c66526ed562020-09-17Christian Jullien <jullien@eligis.com>Fix wanjochan commit 'when tcc1 omit: use main()' when tcc is bootstrapped by tcc on Windows. Variable must be NULL initialized
2798757a97466f9d2020-09-17herman ten brugge <hermantenbrugge@home.nl>Fix testcase 114 for macos
27994a16bebfabbc2020-09-17herman ten brugge <hermantenbrugge@home.nl>Struct va_arg fix
2800c9bbd4e7074f2020-09-17herman ten brugge <hermantenbrugge@home.nl>Allow strings in __builtin_constant_p
280155b4754e84a52020-09-17Kyryl Melekhin <k.melekhin@gmail.com>Revert "add tests for float conversions to u64"
28024cd6298f9dce2020-09-10grischka <grischka>libtcc1.c: cleanup fp2ull
2803aed5cd0ce9a22020-09-17grischka <grischka>revert 'no-libtcc1' feature
2804bea7dcde86712020-09-17wanjochan <wanjochan@gmail.com>check strlen(TCC_LIBTCC1) before tcc_add_support(s1, TCC_LIBTCC1)
28056d819d7267d32020-09-18Christian Jullien <jullien@eligis.com>Indentation was missing after empty string check was added by wanjochan.
28065c6356ff8e8a2020-09-18herman ten brugge <hermantenbrugge@home.nl>default-initialization of bitfields
28078cb3e5368ff72020-09-18grischka <grischka>bitfields init : tiny solution
2808ffac4e76882f2020-09-19Christian Jullien <jullien@debian64.eligis.com>Herman proposed patch seems to fix clang issue on x64 Debian
28098f9bf3f223da2020-09-21herman ten brugge <hermantenbrugge@home.nl>function pointer compare
281089ea62481d112020-09-21herman ten brugge <hermantenbrugge@home.nl>clang7 does not support zero sized structs
28118fd7a384e2fa2020-09-25herman ten brugge <hermantenbrugge@home.nl>Fix bitfields init : tiny solution
2812727e24cb0ac72020-09-27herman ten brugge <hermantenbrugge@home.nl>Add typedef debug info
2813352e1d0fc4fb2020-09-30Michael Matz <matz@suse.de>Reinstate attribute alias handling
2814afc0917f884b2020-10-01herman ten brugge <hermantenbrugge@home.nl>Bound checking fixes
28150da93838c1342020-10-01herman ten brugge <hermantenbrugge@home.nl>Init range wth symbols
281678da4586a0022020-10-01Michael Matz <matz@suse.de>Fix tests2/120_alias.c on macos
2817ae1796fc349c2020-10-02herman ten brugge <hermantenbrugge@home.nl>Fix testcase 114 for arm and apple
2818cdc3df949b0c2020-09-25grischka <grischka>tcc -bench: show text/data/bss binary output sizes
281940395511d7e32020-10-03grischka <grischka>Revert "function pointer compare"
282072b520e709d62020-09-23grischka <grischka>tccgen: flex arrays etc.
2821558c6f56e27f2020-10-17John Scott <jscott@posteo.net>tcc_mallocz: clear with memset only if nonzero size
282253587ee415fa2020-10-18John Scott <jscott@posteo.net>tcc_internal_error: print function with __func__.
2823985d963745592020-11-01Kyryl Melekhin <k.melekhin@gmail.com>tcc.h libtcc.c: remove unused defines pretty sure that functions with use_* do not exist and attempts to use the macros will fail to link I could rename them to be more up to date like tcc_malloc, but to me overloading the std calls with macros is probably taking away control from the programmer, so for the best is to just get rid of them.
28242b7aa2a1e11b2020-11-01Kyryl Melekhin <k.melekhin@gmail.com>libtcc: no need to undef
28258b69059f66c02020-10-23grischka <grischka>three small fixes & three reverts
282654b4aa3cd6df2020-11-09herman ten brugge <hermantenbrugge@home.nl>Disable signals in bcheck.c pthread_create
282708d80157500f2020-11-10herman ten brugge <hermantenbrugge@home.nl>Fix fork problem 114_bound_signal
28281073b379c8882020-11-13Tyge Løvset <tylo@norceresearch.no>WIN32/64 only: Added C99 math functions: tgamma(), tgammaf(), lgamma(), lgammaf(), cbrt(), cbrtf(), log2(), log2f(), exp2(), exp2f(). The gamma() functions are accurate to 13 digits over the full range. Returns INFINITY / NAN identical to other compiler's math libs.
282982611f5e6d152020-11-17Wirtos_new <Wirtos.new@gmail.com>Fix char limits
2830b11144d69c472020-11-20Tyge Løvset <tylo@norceresearch.no>Overhauled WIN32 math and added missing functions: 1) Cleanup: moved function implementations from win32/include/math.h to win32/include/tcc/tcc_libm.h 2) Added missing math functions: MUSL: asinh(), acosh(), atanh(), scalbn(). My impl: log1p(), expm1(), ilogb(), scalbln(), nexttoward() - now only a few are missing: remquo(), remainder(), fma(), nan(), erf(), erfc(), nearbyint(). 3) Added/defined all missing *f() and *l() math functions. 4) Added functions have short but accurate/fast implementations. 5) Added <tgmath.h> for all platforms. (not too useful, IMO, but is C99 standard).
28313b1a42e734b02020-11-21Tyge Løvset <tylo@norceresearch.no>Cleanup and minor fixes in win32/tcc/tcc_libm.h: truncf(), cbrtf(), exp2f(), log2f(), scalbln*()
28323709f8de14182020-11-22Arthur Williams <taaparthur@gmail.com>Treat func pointers with different return types as not compatible
28332f78f54924e82020-11-23Tyge Løvset <tylo@norceresearch.no>win32 libm: Final optimizations and added nan*() function.
28344a42b0d95e5e2020-11-23grischka <grischka>tidy support for helper function such as memmove
283513a18906ef322020-11-25Tyge Løvset <tylo@norceresearch.no>win32 tcc_libm.h: Implemented overrides for msvcrt.dll's frexp(), ldexp(), and fabs() with speedups 4.5X, 7.3X and 6.3X correspondingly. This is the last commit on this for now.
2836cf8d9cf072ef2020-11-25grischka <grischka>win64: fix pe_isafunc()
28374e12c2a6dcf62020-11-27Christian Jullien <jullien@openbsd.home>OpenBSD: improve partial support for x86_64 - WIP
2838dfe031caa6f62020-11-29Christian Jullien <jullien@openbsd.home>OpenBSD: Fix crt startup names - WIP
283938dea90b2f7c2020-11-29Christian Jullien <jullien@openbsd.home>OpenBSD: workaround missing SYS_gettid - WIP
28406f2659c230c52020-12-02Christian Jullien <jullien@openbsd64.eligis.com>OpenBSD: SYS_gettid syscall is named SYS_getthrid - WIP
2841170be79a428e2020-12-03herman ten brugge <hermantenbrugge@home.nl>duplicate member
2842a3d5e4aa43ec2020-12-07Christian Jullien <jullien@eligis.com>OpenBSD: define more internal symbols to support tcc on OpenBSD.
284319d287aae39d2020-12-07Christian Jullien <jullien@eligis.com>OpenBSD: fix typo in _ANSI_LIBRARY defined symbol
2844baacb0f52aa92020-12-07herman ten brugge <hermantenbrugge@home.nl>OpenBSD: runtime fixes
284572250bece2392020-12-07herman ten brugge <hermantenbrugge@home.nl>riscv64 relocation fix
2846591feda103482020-12-07herman ten brugge <hermantenbrugge@home.nl>OpenBSD: disable some tests
2847f9c580b8a0272020-12-08Christian Jullien <jullien@freebsd64.eligis.com>FreeBSD: start to reintroduce support - WIP
2848a06fef3b11e82020-12-08Christian Jullien <jullien@freebsd64.eligis.com>FreeBSD: little better support that targets FreeBSD 12.2 on amd64 but still not working - WIP
28498ff705554de42020-12-07grischka <grischka>tcc_enter/exit_state(): do not use!
2850f233cb182c712020-12-11Christian Jullien <jullien@eligis.com>NetBSD: reintroduce NetBSD support. Currently, -run works but executable has an incorrect format.
2851c32cfc1113022020-12-13Christian Jullien <jullien@eligis.com>NetBSD: predefine __ELF__ macro which is tested by some standard headers
2852eab324a7cfd72020-12-13Christian Jullien <jullien@freebsd64.home>NetBSD (on arm64): reorder cpu detection to detect aarch64 target when cpu is arm64
2853f48a9ed001af2020-12-13Christian Jullien <jullien@eligis.com>FreeBSD (on arm64): partial support, only -run works - WIP
28546eef0e35b4f72020-12-16herman ten brugge <hermantenbrugge@home.nl>OpenBSD: testcases
2855d5519c929c072020-12-17Christian Jullien <jullien@eligis.com>OpenBSD: mention this port on README
285602f61d5b49162020-12-17Christian Jullien <jullien@eligis.com>riscv64: mention this supported cpu in README.
2857e2e62fcb8b492020-12-16grischka <grischka>replace native platform macros in the compiler
285850b4f320dcf52020-12-18herman ten brugge <hermantenbrugge@home.nl>lazy binding
2859a87dee588bfd2020-12-19herman ten brugge <hermantenbrugge@home.nl>dlltest_arm
28607f898abb82262020-12-19herman ten brugge <hermantenbrugge@home.nl>bsd update
28617eea5306e94a2020-12-19herman ten brugge <hermantenbrugge@home.nl>rename testcase 106
2862ac470a49d5342020-12-20Christian Jullien <jullien@freebsd64.eligis.com>*BSD: Add few __builtin_ math missing definitions.
2863d4a4ee798be62020-12-20Christian Jullien <jullien@freebsd64.eligis.com>FreeBSD: Fix multiple ctype inline definitions
2864a493fbb1fa872020-12-20Christian Jullien <jullien@eligis.com>*BSD: mention all BSD ports in README.
28656cc87629b42e2020-12-20Christian Jullien <jullien@eligis.com>NetBSD: define __amd64__ which is sometimes used in headers.
2866888f4fd9821f2020-12-22Christian Jullien <jullien@eligis.com>FreeBSD (aarch64): fix relocation error.
28678f8abcc756cb2020-12-22herman ten brugge <hermantenbrugge@home.nl>more bsd updates
28689f6b65230ac62020-12-17grischka <grischka>include/tccdefs.h: moved and use it
28690352c41a07862020-12-22herman ten brugge <hermantenbrugge@home.nl>add R_ARM_GOT_PREL for clang
2870f7d2d04d96d42020-12-22herman ten brugge <hermantenbrugge@home.nl>Fix include/tccdefs.h
2871ba61c7bb373f2020-12-23Christian Jullien <jullien@eligis.com>NetBSD: arm64 is curiously detected as evbarm. Struct uc_mcontext is once again different.
287263e29113ab752020-12-23Christian Jullien <jullien@eligis.com>NetBSD: arm64 requires at least gcc 4.1 to work
2873b56099aeb40e2020-12-24Christian Jullien <jullien@eligis.com>NetBSD: arm64 fix int64_t/uint64_t definitions.
28741032e7175a082020-12-24Michael Matz <matz@suse.de>ELF: include SHT_NOTE sections everywhere
2875b9db7c90eeb02020-12-24Christian Jullien <jullien@eligis.com>NetBSD: arm64 prevent use of __asm.
287616ed67537c592020-12-24Christian Jullien <jullien@eligis.com>NetBSD: longjmp(jmp_buf, 0) is not supported.
2877cc40305a12122020-12-25Michael Matz <matz@suse.de>Fix errors with parallel make
2878c13c434383c72020-12-30Christian Jullien <jullien@eligis.com>Fix warnings detected by clang when compiling c2str.
28790821940e26ab2020-12-30herman ten brugge <hermantenbrugge@home.nl>text relocation for netbsd
2880766bd82032b02020-12-30herman ten brugge <hermantenbrugge@home.nl>Fix include SHT_NOTE sections everywhere
288185b6efbf0c9f2020-12-30herman ten brugge <hermantenbrugge@home.nl>Real fix include SHT_NOTE sections everywhere
2882cf10c1db66372020-12-30herman ten brugge <hermantenbrugge@home.nl>Fix clang warnings
288360eac659d42b2020-12-30Michael Matz <matz@suse.de>fix cross compiler compilation
2884b117088a91a52020-12-30Michael Matz <matz@suse.de>Explain some reloc hackery
2885d784b28877552020-12-31Michael Matz <matz@suse.de>No need for sm_table.size entry
2886ea82d0826dac2020-12-22grischka <grischka>tccpp: cleanup target-os defines
28879d49883895fc2020-12-31herman ten brugge <hermantenbrugge@home.nl>update clang warning
28888db839cc85fa2020-12-31herman ten brugge <hermantenbrugge@home.nl>FreeBSD32 struct return
288933257c6439b72021-01-01Christian Jullien <jullien@eligis.com>*BSD: protect against incompatible redefinitions of int64_t/uint64_t.
28909a2a05ba1ef82021-01-01Christian Jullien <jullien@eligis.com>*BSD: fix extra #endif
28912633c30fb4ad2021-01-01herman ten brugge <hermantenbrugge@home.nl>riscv64 update
2892c9fe8fe4704c2021-01-02Christian Jullien <jullien@eligis.com>Yet another int64_t/uint64_t definition fix. For wine this time.
2893b147a37c23512021-01-02Christian Jullien <jullien@eligis.com>Remove useless [u]intN_t definitions from stddef.h
28943221cc4a5a0e2021-01-02herman ten brugge <hermantenbrugge@home.nl>Align next section after gnu_ro to pagesize
28954a6fb47b8db12020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Publish g, gen_le16, gen_le32 in tcc.h
2896f88ded6c2d772020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Implement asm_parse_regvar and asm_clobber
2897b10824dcdc102020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Update copyright header
28989d302620c2952020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Remove asm_error
2899aaf052391d522020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add nop
2900a16678e9f3be2020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add wfe, wfi
2901c5428cd19c192020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add parse_operand, Operand
2902b495959e4bab2020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add push, pop
2903c9e0c2a543f52020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add swi
2904c4e13c1ef97a2020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add clz, sxtb, sxth, uxtb, uxth
290582663d33bb9a2020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add mul, mla, smull, umull, smlal, umlal
2906632b2137560e2020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add stmda, ldmda, stm, ldm, stmia, ldmia, stmdb, ldmdb, stmib, ldmib
2907c7682dd9aa1b2020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add ldr, ldrb, str, strb
29083b1f06c3b26a2020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add and, eor, sub, rsb, add, adc, sbc, rsc, tst, teq, cmp, cmn, orr, mov, bic, mvn
2909b85c3e1595d92020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add b, bl, bx, blx
2910b940d8edb2f22020-12-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Optimize gen_le32
2911abef8f6ca7422020-12-27Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add lsl, lsr, asr, ror, rrx
2912daaa88ce68362020-12-27Danny Milosavljevic <dannym@scratchpost.org>arm-asm: For data processing instructions, support shifts and rotations.
291349365d563e6d2020-12-27Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Support rotation for sxtb, sxth, uxtb, uxth
2914e0cb5184f5d02020-12-27Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Warn if regset registers are not specified in ascending order
29153a6f3e5f308d2020-12-27Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add error case in asm_multiplication_opcode
291667b402fda4072020-12-27Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Raise an error if asm_binary_opcode is used with PC as operand
2917612d9d7ae6e62020-12-27Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Print a warning if asm_binary_opcode is used with SP as operand
291879567004b4c42020-12-27Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Raise error if more than two operands are specified on mov, mvn, cmp, cmn, tst, teq
291986cc9c587b382020-12-27Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Raise error if asm_data_processing_opcode and asm_shift_opcode try to use PC for register-controlled shifts
2920c882d036732f2020-12-28Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add movt
292114b7973ab51c2021-01-03Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add movw
2922d66c1552392e2021-01-03Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Support bigger immediates for data processing instructions
2923795d7d5ce6102021-01-01Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Implement asm_gen_code
29249a460d3234572021-01-01Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Implement asm_compute_constraints
29257f98aefddf062021-01-01Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Implement subst_asm_operand
29268712b4c9c1662021-01-03herman ten brugge <hermantenbrugge@home.nl>Fix arm64 asm
29279539f51369ec2021-01-03Danny Milosavljevic <dannym@scratchpost.org>Makefile: Split arm64-asm from arm-asm
2928a7205f738bff2021-01-03Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Support shift of 0 in asm_shift_opcode
292978d0f07e32b22021-01-03Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Improve immediate error message in asm_data_processing_opcode.
293033d5a9fadb502021-01-03herman ten brugge <hermantenbrugge@home.nl>add arm64 relocs
29314c9516941c452021-01-03herman ten brugge <hermantenbrugge@home.nl>Fix wine
293229d8871d61962021-01-04Michael Matz <matz@suse.de>Implement proper floating point negation
293354ef167111362021-01-04Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Implement branch to label
2934483625065fc32021-01-04Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add ldrex, ldrexb, strex, strexb
293529f36a8953e02021-01-04Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Allow implicit offset 0 in input of asm_single_data_transfer_opcode
29360754912ebd792021-01-04Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add testsuite
29373873f951970c2021-01-05Christian Jullien <jullien@eligis.com>NetBSD: start arm support. WIP
2938425bd2a3db182021-01-05CodeHz <codehz@outlook.com>fix "invalid token at start of a preprocessor expression"
29390c399306b8d82021-01-05Danny Milosavljevic <dannym@scratchpost.org>tests: Call arm-asm-testsuite.sh on "asmtest" target.
294077a6a9166d7b2021-01-05Danny Milosavljevic <dannym@scratchpost.org>tests: Make arm-asm-testsuite.sh print the failed test cases.
294181fec840129d2021-01-05herman ten brugge <hermantenbrugge@home.nl>disable nan test for clang
2942a5865fab22082021-01-05herman ten brugge <hermantenbrugge@home.nl>text relocation for arm
2943aeb8f427e2be2021-01-04grischka <grischka>tccgen: introduce TOK_NEG for unary minus
2944f3912fafdd432021-01-06Danny Milosavljevic <dannym@scratchpost.org>arm-asm-testsuite.sh: Prefer cross-binutils' objdump
2945f9c3b61884b02021-01-06Danny Milosavljevic <dannym@scratchpost.org>arm-asm-testsuite.sh: Prefer current tcc as specified in $(TCC)
2946760024bde9722021-01-06Christian Jullien <jullien@eligis.com>NetBSD: Trying to fix reloc error 38 on arm - WIP
2947cb788d72c7742021-01-06Christian Jullien <jullien@eligis.com>NetBSD: Minor edit, keep tab style of previous line
2948f44332c891582021-01-06herman ten brugge <hermantenbrugge@home.nl>update arm text relocations
2949aed4941e6b4a2021-01-07Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add ldrh, ldrsh, ldrsb, strh
29505f9d4ad144f62021-01-09Christian Jullien <jullien@eligis.com>OpenBSD: crtbeginT.o does not exist on thsi system as with other *BSD systems.
2951e6d15a5df1322021-01-09Christian Jullien <jullien@openbsd64.eligis.com>OpenBSD: add a workaround to find the versioned shared lib as no .so symlink exist.
2952a3524bd780702021-01-09Christian Jullien <jullien@eligis.com>OpenBSD: Fix warning and other *BSD builds.
295368744e3260d42021-01-09herman ten brugge <hermantenbrugge@home.nl>OpenBSD: Add static link support
29540e74965d7f6e2021-01-10Christian Jullien <jullien@eligis.com>make install always strips, only install-strip target should do
2955ef7c4388e7102021-01-10Christian Jullien <jullien@openbsd64.eligis.com>OpenBSD: elfinterp location looks the same for all architectures. i386 WIP
29561018ee87497d2021-01-10Christian Jullien <jullien@eligis.com>OpenBSD: aarch64 99% working, armv7 WIP.
29576f27eca785482021-01-10Christian Jullien <jullien@eligis.com>OpenBSD: Add 2 new R_ARM constants to be handled by arm-link.c
2958db6dd66047e42021-01-11Christian Jullien <jullien@eligis.com>OpenBSD: -arm- Add more R_ARM* constants in elf.h.
295942220676d71e2021-01-11Christian Jullien <jullien@eligis.com>OpenBSD: x86 use few clang compatible C types
2960bbc7070c82332021-01-09grischka <grischka>make test: run cross-test always
2961cd91ea658a8c2021-01-11herman ten brugge <hermantenbrugge@home.nl>OpenBSD: x86 update
2962c9bdfcedb49b2021-01-12herman ten brugge <hermantenbrugge@home.nl>Remove gaps between RELX sections
296364d5db7635a62021-01-12Christian Jullien <jullien@eligis.com>*BSD: fix broken Makefile on all BSD systems.
29644d254312be9e2021-01-12herman ten brugge <hermantenbrugge@home.nl>Remove gaps between RELX sections update
296500d467d44c532021-01-12Christian Jullien <jullien@eligis.com>OpenBSD: use portable strtoll instead of strtonum to allow cross-compilation test
2966ecdee4a697042021-01-12herman ten brugge <hermantenbrugge@home.nl>arm64: Fix loading from constant address
296728646b559d602021-01-12herman ten brugge <hermantenbrugge@home.nl>fix cross compiling on openbsd
2968c74c6ed61aad2021-01-12herman ten brugge <hermantenbrugge@home.nl>Serveral updates
296962c0c4c77a1c2021-01-12grischka <grischka>tccelf.c: factor out elf_output_obj()
297056f74f2eeb622021-01-12herman ten brugge <hermantenbrugge@home.nl>Add shstrtab name in tccelf.c
2971d7d470b357d12021-01-13Christian Jullien <jullien@eligis.com>./configure always stripped binaries even if --strip-binaries was unset
2972c35f61b958a32021-01-13Christian Jullien <jullien@eligis.com>Fix ./configure strip test
2973d5c78ce655fd2021-01-13Christian Jullien <jullien@eligis.com>Add more supported systems for cross test
297423989cbcf38b2021-01-13herman ten brugge <hermantenbrugge@home.nl>OpenBSD: arm support (WIP)
297520dbfe99b8ec2021-01-13Christian Jullien <jullien@fedora64.eligis.com>--strip-binaries is deprecates, build never strips, use 'make install-strip' to install stripped binaries
297696e3923239742021-01-13herman ten brugge <hermantenbrugge@home.nl>OpenBSD: arm support update (WIP)
297713f6e8a866532021-01-13herman ten brugge <hermantenbrugge@home.nl>OpenBSD: arm support typo (WIP)
29781d7b233562dc2021-01-14Christian Jullien <jullien@eligis.com>Remove strip logic form configure script, keep a deprecated warning message when --strip-binaries is still used.
2979007839597f1a2021-01-12Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Implement ldr and str with shifted register offset
2980757eccd1d22f2021-01-12Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Raise error if user tries to use PC for offset register of single data transfer
29815aba20f270f22021-01-16herman ten brugge <hermantenbrugge@home.nl>BSD: arm support
2982f5f8326531aa2021-01-16Christian Jullien <jullien@eligis.com>FreeBSD: arm port is fully supported and added to cross list
298353f7d8baf4612021-01-17Christian Jullien <jullien@eligis.com>conftest correctly detects NetBSD and OpenBSD for TRIPLET_OS
2984a2987fef19b22021-01-17Christian Jullien <jullien@eligis.com>configure automatically detects correct arm configuration on NetBSD
2985debe8d013d6d2021-01-17Christian Jullien <jullien@eligis.com>Use $targetos instead of a second call to uname
29866b614c4debb82021-01-17herman ten brugge <hermantenbrugge@home.nl>OpenBSD: arm fix
2987ffb95c2e0ced2021-01-17Petr Skocik <pskocik@gmail.com>Better handling of UCNs in strings
2988704c8163fd662021-01-18Petr Skocik <pskocik@gmail.com>re-add accidentally deleted printf("\n"); to tests2/97*.c
2989d60d2bb60ec72021-01-18Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Make "!" optional in asm_block_data_transfer_opcode
2990593bed9b52132021-01-19Christian Jullien <jullien@eligis.com>Fix arm NetBSD cross compilation
2991036a7fe7d41c2021-01-12Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add cdp
2992a1dad7a9f7fe2021-01-12Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add cdp2
2993d1a6c4aefa1b2021-01-13Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add mcr, mrc
29947900a6bb61402021-01-13Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add ldc, ldcl, stc, stcl
299531dde11ad55b2021-01-14Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add ldc2, ldc2l, stc2, stc2l
2996cdbb55396cee2021-01-14Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add vldr, vstr
29973fc55e15e81e2021-01-21Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Enable VFP when invoking GNU as for testing VFP instructions
29982e87eb18ab742021-01-21Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Improve build with MSVC
2999e350058532292021-01-23Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add svc
300066de1550ab072021-01-21Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add vpush, vpop, vldm, vldmia, vldmdb, vstm, vstmia, vstmdb
3001bc6c0c34c1662021-01-23herman ten brugge <hermantenbrugge@home.nl>implement test coverage
3002b40a88ea46de2021-01-23herman ten brugge <hermantenbrugge@home.nl>Use arm assembler in lib dir
300338eaf9b3a7342021-01-23herman ten brugge <hermantenbrugge@home.nl>Fix compiler warnings utf8 code
30045043268cb1872021-01-24herman ten brugge <hermantenbrugge@home.nl>Fix unaligned access arm (openbsd)
30051ed4b6ba1a662021-01-24grischka <grischka>debug_modes, re-unalign, cleanups
3006104037a4c5c42021-01-24Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Raise error if user tries to use a shift instruction with an immediate source operand
3007b82e52a497892021-01-22Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add vmla, vmls, vnmls, vnmla, vmul, vnmul, vadd, vsub, vdiv, vneg, vabs, vsqrt, vcmp, vcmpe
300804165940719a2021-01-22Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add vmov
300990343eba3a212021-01-22Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Mostly factor out VFP register reference parsing to parse_operand
30101c9d9991141e2021-01-22Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Implement "vmov.f32 Sn, Rd", "vmov.f32 Rd, Sn", "vmov.f64 Dm, Rd, Rn", "vmov.f64 Rd, Rn, Dm"
301125628cffe5352021-01-26Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add vmsr, vmrs
3012557b4a1f6ddb2021-01-26grischka <grischka>configure chmod 755 etc.
3013a110287c31042021-01-26Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: atomic builtins parsing support
3014719a6b3a16402021-01-26Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: emit function calls
3015f2e7742aea062021-01-26Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: stdatomic.h header
301602ea864ad2c52021-01-27Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: deplusification; LLVM notice
30175053fd03a7fa2021-01-27Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: memory models as macros
301865773a5300eb2021-01-27Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: c11 prefix; migrate to models macros
30191c255baad5572021-01-27herman ten brugge <hermantenbrugge@home.nl>test coverage update
30209d862be1e7082021-01-27Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: fix is_memory_model check
3021458457590db82021-01-27Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: fix atomic_init parameters
30222ac85685034c2021-01-24Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Support immediate values without "#" (Unified Assembly Language)
3023ad16628c9eb52021-01-29Riccardo Schirone <sirmy15@gmail.com>Make sure to escape paths in generated make dependencies
3024d6f2d58158a72021-02-02Danny Milosavljevic <dannym@scratchpost.org>Relicensing TinyCC
3025fbef90a7039b2021-02-03Michael Matz <matz@suse.de>Fix a VLA problem
3026405aef9155fb2021-02-11ayush-varshney <ayush.kumar@upc.edu>Long double Constant problem
3027c4ae326a1d4f2021-02-12Michael Matz <matz@suse.de>Revert "Long double Constant problem"
3028ce8814cdd6562021-02-12Michael Matz <matz@suse.de>Avoid array overflow
3029468e59206ba82021-02-12Michael Matz <matz@suse.de>Clear vtop.sym if saving on stack
303030814dfacfa52021-02-12Michael Matz <matz@suse.de>Don't use stale section data pointers
3031f1fb23a661432021-02-10Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Update comment
303224c94fff09ea2021-02-11Danny Milosavljevic <dannym@scratchpost.org>arm-asm: Add vcvt
3033d7f2775af8d62021-02-13Michael Matz <matz@suse.de>Fix endless recursion due to type scoping
3034355897a920362021-02-14Arthur Williams <taaparthur@gmail.com>Allow declared arrays to be initialized without an explicit size
3035dd5b546bf7b02021-02-14Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: atomic_init routine
3036f5b8444739e02021-02-15herman ten brugge <hermantenbrugge@home.nl>Fix declared arrays without size
303787dcba16ebe32021-02-15herman ten brugge <hermantenbrugge@home.nl>Fix tcov align and lock
30383658c29b432f2021-02-15herman ten brugge <hermantenbrugge@home.nl>Add config pie option
30395201312cb2422021-02-15Michael Matz <matz@suse.de>Fix segfault with nested flex array structs
3040a1d10c8bdee02021-02-18CodeHz <codehz@outlook.com>Fix unnecessary symbol collision
3041e4f151c4cda32021-02-18grischka <grischka>tccgen: fix "Allow declared arrays to be initialized..."
304202795106e1542021-01-28grischka <grischka>tccelf: use plt-reloc instead of relocplt
304372f1dea5372e2021-02-01grischka <grischka>tccelf: use rodata_section, use more rodata in tcc itself
304497800177c9b22021-01-26grischka <grischka>tccgen: gen_cast(): detect 'cast from void' error
3045e8bff295f98a2021-02-21Christian Jullien <jullien@eligis.com>[macOS]: arm64, very early stage of Big Sur M1 native port.
3046ac8af47d7f6f2021-02-21Christian Jullien <jullien@eligis.com>[macOS]: arm64, correctly find clang which is not a symblink from cc
3047310d49668e752021-02-21Christian Jullien <jullien@eligis.com>[macOS]: arm64, add OBJ-arm64-osx lib object list.
3048d0d0c8b688362021-02-21Christian Jullien <jullien@eligis.com>[macOS]: arm64, define both __aarch64__ and __arm64__ which are tested by standard include files. WIP
30491ff8679e793a2021-02-14Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: refactor parser and generator
3050806b3f987e2e2021-03-16Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: fix warnings
30519ed3de91a2d72021-03-16Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: i386/x86_64 support
305282b0af74501b2021-03-18Michael Wilder <mwilder.w@gmail.com>Fix empty initializer compile error on win32
305347da8e450ec52021-03-18Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: ld/st/xchg/cmpxchg on simple types
305465d00b13d5ca2021-03-31Christian Jullien <jullien@eligis.com>tcc -v displays short hash to ease detection of source version used to compile tcc
3055f68b39b922602021-03-31Christian Jullien <jullien@eligis.com>Surround hash code with double quotes
3056affd736f19c22021-04-02Christian Jullien <jullien@eligis.com>Add 'modified' before hash when tcc is built from a patched mob version.
3057aa7727964b902021-04-02herman ten brugge <hermantenbrugge@home.nl>plt-reloc fix for macos
30584bb3b3cec7042021-04-05Dmitry Selyutin <ghostmansd@gmail.com>stdatomic: simple counter test
305948df89e10e112021-03-30grischka <grischka>stdatomics: tidy & cleanup
3060035ae7d735ad2021-04-09Christian Jullien <jullien@eligis.com>Fix Makefile as suggested by Urs Janßen
3061d64923c7b4db2021-04-13herman ten brugge <hermantenbrugge@home.nl>Fix testcase 125 fox x86_64
30620f0f7012129a2021-04-13herman ten brugge <hermantenbrugge@home.nl>Fix va_arg fox x86_64
3063f8e50d23f5812021-04-14herman ten brugge <hermantenbrugge@home.nl>Make lib/stdatomic.c gcc compatible
30641432574b2b292021-04-14herman ten brugge <hermantenbrugge@home.nl>Fix make lib/stdatomic.c gcc compatible
30657f3114ebba772021-04-06Danny Milosavljevic <dannym@scratchpost.org>riscv64-asm: Remove asm_error
30664891ab71a06a2021-04-06Danny Milosavljevic <dannym@scratchpost.org>riscv64-asm: Add fence, fence.i, scall, sbreak, ecall, ebreak, wfi
3067e5a898e5108d2021-04-06Danny Milosavljevic <dannym@scratchpost.org>riscv64-asm: Add rdcycle, rdcycleh, rdtime, rdtimeh, rdinstret, rdinstreth
30680b1cc489e1612021-04-06Danny Milosavljevic <dannym@scratchpost.org>riscv64-asm: Add lui, auipc
30698b1a89fbdffc2021-04-06Danny Milosavljevic <dannym@scratchpost.org>riscv64-asm: Add sll, slli, srl, srli, sra, srai, sllw, slld, slliw, sllid, srlw, srld, srliw, srlid, sraw, srad, sraiw, sraid
30701e37ec4917d02021-04-06Danny Milosavljevic <dannym@scratchpost.org>riscv64-asm: Add add, addi, sub, addw, addd, addiw, addid, subw, subd, xor, xori, or, ori, and, andi, slt, slti, sltu, sltiu
30719c0760a4d4a52021-04-06Danny Milosavljevic <dannym@scratchpost.org>riscv64-asm: Add lb, lh, lw, lbu, lhu, ld, lwu, sb, sh, sw, sd
3072b28bf50d2b102021-04-06Danny Milosavljevic <dannym@scratchpost.org>riscv64-asm: Add beq, bne, blt, bge, bltu, bgeu
307399189ea7070f2021-04-06Danny Milosavljevic <dannym@scratchpost.org>riscv64-asm: Implement asm_parse_regvar
3074468f338e23142021-04-06Danny Milosavljevic <dannym@scratchpost.org>riscv64-asm: Optimize gen_le32
30759b76a64f96b22021-04-07Danny Milosavljevic <dannym@scratchpost.org>riscv64-asm: Implement asm_clobber
3076431a74a446172021-04-26Danny Milosavljevic <dannym@scratchpost.org>Relicensing TinyCC
30773564c47e520f2021-04-27Tyge Løvset <tylo@norceresearch.no>Relicensing TinyCC
30780378168c13182021-05-04herman ten brugge <hermantenbrugge@home.nl>Fix macro processing
3079b5d4b908c4f62021-06-22herman ten brugge <hermantenbrugge@home.nl>Fix function call on arm64 and riscv
308039d586d7fc7e2021-06-28Christian Jullien <jullien@eligis.com>gcc compiles .h files as .c source code, tcc now does the same and no longer complains with "unrecognized file type". It is however adviced to use "-x c" option which exists for this purpose in gcc and was supported by tcc.
308124d35faed2ec2021-06-29Arthur Williams <taaparthur@gmail.com>Use `grep -q` instead of `grep --quiet` to be more portable
308264d29c942a052021-06-28Arthur Williams <taaparthur@gmail.com>Have '-MF -' write to stdout
3083ee75521dd5602021-06-28Arthur Williams <taaparthur@gmail.com>Support -M, -MM, and -MMD
3084e3a0eb50899a2021-07-02Christian Jullien <jullien@eligis.com>Minor change, help message starts with lowercase as other help strings.
3085f6fb4d0cf1592021-07-04Sushant Pandurangi <sushpa@alumni.ethz.ch>macOS 11: link using dyld shared cache
308633fa3a4d41bb2021-07-04Sushant Pandurangi <sushpa@alumni.ethz.ch>macOS 11: `tcc -run` using dyld shared cache
3087c4a2c52411fe2021-07-04Tyge Løvset <tylo@norceresearch.no>Added __faststorefence() MSVC intrinsic (required e.g. by sqlite3).
3088d5e4b258e14d2021-07-06Sushant Pandurangi <sushpa@alumni.ethz.ch>Minor fixes for gnu90 compatibility
3089cca4ece0a8912021-07-06Sushant Pandurangi <sushpa@alumni.ethz.ch>macOS: get active SDK path from xcode-select
3090588d64c538982021-07-06Sushant Pandurangi <sushpa@alumni.ethz.ch>(merge) macOS11+ dynamic linker support
3091b964fc6922042021-07-07Christian Jullien <jullien@eligis.com>dlopen does not exist on Windows, recent macOS adds a dlopen call which is skipped on Windows.
3092592cf7fb255c2021-07-07Christian Jullien <jullien@eligis.com>Temporary remove osx cross build which is broken, at least on Windows.
309391a956823ef62021-07-07Christian Jullien <jullien@eligis.com>[macOS] Add VT_LDOUBLE special case for Rosetta to handle --cpu=x86_64.
30946e76d894fe912021-07-07herman ten brugge <hermantenbrugge@home.nl>Fix macOS memcheck problems
3095ab13f1a25af42021-07-08Christian Jullien <jullien@eligis.com>On Big Sur M1, force a x86_64 native build and count on Rosetta to make job as arm64 is not yet supported.
309646bf3f940c242021-07-09Brian Callahan <bcallah@openbsd.org>Add register definitions for OpenBSD/riscv64
3097ecb384ac0c642021-07-17Sushant Pandurangi <sushpa@alumni.ethz.ch>Fix 'unused function' warning on non-macOS targets
3098eadcee6501442021-07-25grischka <grischka>macos: yet another tbd adjustment
3099a7a13896b3302021-07-26Steffen Nurpmeso <steffen@sdaoden.eu>Add -W[no-]error=OPTION specific abortions
3100b1d9de6794742021-07-27Christian Jullien <jullien@eligis.com>[macOS] fix format warning
31010c16762418c62021-07-27Steffen Nurpmeso <steffen@sdaoden.eu>-W[no-]error=X: gcc compat: when disabling X again, do not unset the warning
31020d59ac4817ad2021-07-27Steffen Nurpmeso <steffen@sdaoden.eu>-W[no-]error: fix previous
310349cd6f59b2a52021-07-27Steffen Nurpmeso <steffen@sdaoden.eu>-W[no-]error: rid of TCCState.warn_none, too; and adjust -h/-hh output
31042709b7ab037c2021-07-27Steffen Nurpmeso <steffen@sdaoden.eu>-W[no-]error: fix previous (sigh)
3105931a146591ec2021-07-30Sam Ellicott <sellicott@cedarville.edu>tccdef.h additons for riscv64 newlib stdint
31064b2c6cf3a48c2021-07-31grischka <grischka>-W[no-]error...: features by shrinkage
3107dda95e9b0b302021-08-01grischka <grischka>WAIT/POST_SEM(): generalize interface (and more)
3108a951dc026ff62021-08-02Christian Jullien <jullien@eligis.com>macOS: add -arch option to allow to bootstrap tcc with tcc on macOS.
3109e449db5f1d952021-08-02Christian Jullien <jullien@eligis.com>macOS: if used, -arch option must match target
3110e538160a320b2021-08-03herman ten brugge <hermantenbrugge@home.nl>Fix netbsd build
3111675046bd59bc2021-03-30grischka <grischka>tcc/lib: reduce number of files
3112c7a57bf1fa732021-08-21Tyge Løvset <tylo@norceresearch.no>Prepended branch name to githash (tcc -v). WIN32: added githash support. - E.g. "tcc version 0.9.27 mob:675046b (x86_64 Windows)" - WIN32: Replaced compiler opt -O1 and -Os with -O2 (only 1% larger executable).
3113e97e108d0bf42021-08-19grischka <grischka>tccpe: #pragma pack(push) - support this form
311415e9b7384e702021-09-16coltrane <jullien@coltrane.eligis.com>Add few Windows API that can be used to detect the exact Windows version we are running on.
3115ca11849ebb882021-10-10Ryan Burns <rtburns@protonmail.com>Permit '=' character in configure options
3116af686a796bda2021-10-21mingodad <mingodad@gmail.com>Move almost all global variables to TCCState, actually all tests pass on Ubuntu 18.04 x86_64
311761537d899af72021-10-22mingodad <mingodad@gmail.com>Fix some errors on arm64-asm.c, rename some variables, fix several code style declarations
31181a8fb94350382021-10-22mingodad <mingodad@gmail.com>Fix missing parameter
3119d33f582e257f2021-10-22mingodad <mingodad@gmail.com>Revert "Fix missing parameter"
31202ce2dbcb09b62021-10-22mingodad <mingodad@gmail.com>Revert "Fix some errors on arm64-asm.c, rename some variables, fix several code style declarations"
312116456168430c2021-10-22mingodad <mingodad@gmail.com>Revert "Move almost all global variables to TCCState, actually all tests pass on Ubuntu 18.04 x86_64"
3122da11cf6515762021-10-30Alexander Sosedkin <monk@unboiled.info>Don't skip weak symbols during ar creation
3123d88857b210222021-12-15Riccardo Schirone <sirmy15@gmail.com>If the DLL has a RPATH, use it when looking for NEEDED libraries
3124027b8fb9b88f2021-12-15Riccardo Schirone <sirmy15@gmail.com>Add rpath to the library paths instead of state->rpath
31256c0e0b998be32021-12-27herman ten brugge <hermantenbrugge@home.nl>Fix memcpy1/memcpy2 asm testcode on x86_64
31261692060fb06a2021-12-27herman ten brugge <hermantenbrugge@home.nl>Fix cross compiling tcc on freebsd
3127d33b189427342021-12-27herman ten brugge <hermantenbrugge@home.nl>Fix vla bug
31284e0e9b8f210d2022-01-11Christian Jullien <jullien@eligis.com>Add '#define __LITTLE_ENDIAN__ 1' which was missing for macOS port
3129e9f59c804d412022-02-08herman ten brugge <hermantenbrugge@home.nl>Update for freebsd 13.0
31307225282ea58a2022-02-20Christian Jullien <jullien@eligis.com>Small patch from collective work to better support FreeBSD.
3131308d8d17dcb22022-02-21herman ten brugge <hermantenbrugge@home.nl>Fix get thread id in lib/bcheck.c for freebsd
3132917aad3bcfbb2022-02-28Steffen Nurpmeso <steffen@sdaoden.eu>Add some missing fdopen(3) checks (Domingo Alvarez Duarte)
3133ec5d94291cf02022-03-01grischka <grischka>tccgen: accept array-size expressions in function paramters
31340c6adcbe533a2021-12-08grischka <grischka>tccgen: multi-dimensional vla: bug fixes
3135719d96665e1a2021-05-15grischka <grischka>tccgen: Allow struct init from struct
3136291eccc154272022-03-17herman ten brugge <hermantenbrugge@home.nl>Vla fix for 64 bits targets
3137184d845838992022-03-17herman ten brugge <hermantenbrugge@home.nl>Fix riscv64 test 90 after struct init commit
31384efcada291b92022-03-17herman ten brugge <hermantenbrugge@home.nl>Fix when bound checking and test coverage is used at the same time
31398a3d0a05574d2022-03-18herman ten brugge <hermantenbrugge@home.nl>Fix multidimensional arrays on stack
3140313855c232712022-03-21herman ten brugge <hermantenbrugge@home.nl>Fix multi dimensional vla arrays on stack
3141750f0a3e3f112022-03-23Christian Jullien <jullien@eligis.com>As suggested by Herman, move comment to the next line otherwise it incorrectly handles --config-bcheck=no --config-backtrace=no
31420244320b88522022-03-24herman ten brugge <hermantenbrugge@home.nl>Add vla support for arrays with no size
31434a03f1fb207a2022-03-28herman ten brugge <hermantenbrugge@home.nl>Fix bounds checking struct return on arm/arm64
3144e2e5377e7b682022-04-01Detlef Riekenberg <wine.dev@web.de>Makefile: Add a doc target.
31458759b2581d192022-04-07Detlef Riekenberg <wine.dev@web.de>Makefile: Use the .exe extension only on Windows for the c2str helper program
3146b3bebdb20a892022-04-09Detlef Riekenberg <wine.dev@web.de>libtcc: Allow more values for the -std= option
31473ce7bc6efc802022-04-10Detlef Riekenberg <wine.dev@web.de>Accept option "-Os" and define "__OPTIMIZE_SIZE__"
31485fb582ab7f442022-04-10Detlef Riekenberg <wine.dev@web.de>libtcc: Accept "-g0" to disable debug in addition to "-g", "-g1", "-g2" and "-g3"
31496bb41a05d7ec2022-04-11herman ten brugge <hermantenbrugge@home.nl>Update for gcc12 on x86_64
3150fe6b5c08dc682022-04-11Detlef Riekenberg <wine.dev@web.de>configure: Use the environment variable CC when compiling tcc
3151ecf8e5a00e592022-04-11Detlef Riekenberg <wine.dev@web.de>tccelf: Avoid a compiler warning with snprintf
3152ac42d6826b602022-04-11Detlef Riekenberg <wine.dev@web.de>tccgen: Avoid warnings in callers of the type_size() function.
3153aea68dbb40b52022-04-12Detlef Riekenberg <wine.dev@web.de>arm-asm, arm64-link: Silence warnings for unused functions
3154a5588501ab5d2022-04-12herman ten brugge <hermantenbrugge@home.nl>Fix vla support for arrays with no size
3155c1725a8f6e1c2022-04-12herman ten brugge <hermantenbrugge@home.nl>Only define alloca on i386/x86_64
3156e86aae4f6dbd2022-04-12herman ten brugge <hermantenbrugge@home.nl>Add default case to relocate function for x86_64
3157d3e4664629672022-04-15herman ten brugge <hermantenbrugge@home.nl>Optimize prolog code on arm64
31588777ae984c6c2022-04-18Ziyao <tswuyin_st127@163.com>Allowing 'tcc -ar' to create empty archives
31590366924047632022-04-18Ziyao <tswuyin_st127@163.com>Add support of ldmxcsr and stmxcsr instructions on x86_64 and i386
316039ea340a317c2022-04-18Ziyao <tswuyin_st127@163.com>Add option -e for setting ELF file's entry
31615a3d1024d9292022-04-19Christian Jullien <jullien@eligis.com>Update global help to tell that obj files are now optional with -ar driver
31629ac128c0bdb12022-04-27Detlef Riekenberg <wine.dev@web.de>Makefile: Add a comment with an option to debug the Makefile
3163fa9c31c3db182022-04-28Detlef Riekenberg <wine.dev@web.de>tcc.h: Extend search path for include, lib and crt.
3164d3e940c71c572022-04-28illiliti <illiliti@dimension.sh>include/float.h: Define DECIMAL_DIG
31652f2708a769df2022-05-05herman ten brugge <hermantenbrugge@home.nl>Add dwarf support
3166f0df48fcdd2c2022-05-05herman ten brugge <hermantenbrugge@home.nl>Fix dwarf on 32 bits targets
316718808e325f322022-05-07herman ten brugge <hermantenbrugge@home.nl>Update dwarf2 support
3168499cf2305b052022-05-07herman ten brugge <hermantenbrugge@home.nl>Add dwarf clang support
31690241120b54ab2022-05-09herman ten brugge <hermantenbrugge@home.nl>Dwarf update for readelf
31701cd79989057f2022-05-09Detlef Riekenberg <wine.dev@web.de>tccmacho: avoid warnings with strncpy and always terminate the target string
317156481d554f212022-05-07grischka <grischka>bored...
31722caaff20fb832022-05-09grischka <grischka>tccdbg.c: new file
31739a81e6366b582022-05-10herman ten brugge <hermantenbrugge@home.nl>Fix vla type bug for stabs/dwarf
3174748e38ad991c2022-05-10herman ten brugge <hermantenbrugge@home.nl>Fix stupid typo.
3175e7396c99b08d2022-05-12herman ten brugge <hermantenbrugge@home.nl>Dwarf update
317619cc80788df62022-05-12herman ten brugge <hermantenbrugge@home.nl>Fix unicode compiler warning
317753dd065dafe32022-05-14herman ten brugge <hermantenbrugge@home.nl>Fix unicode compiler warning again
31780e47167cbe972022-05-14herman ten brugge <hermantenbrugge@home.nl>New dwarf update
3179a4f9e3cf4c352022-05-15Detlef Riekenberg <wine.dev@web.de>configure: Use the environment variable CC when compiling tcc (resend)
31804c82b003420f2022-05-17herman ten brugge <hermantenbrugge@home.nl>Update for elflint problems
3181aaec564a82a12022-05-19herman ten brugge <hermantenbrugge@home.nl>Fix bound checking dlcose problem
3182e301a0ba8d632022-05-19herman ten brugge <hermantenbrugge@home.nl>Removed __bound_exit_dll from lib/bt-dll.c
3183a4e0f7ef05cf2022-05-25herman ten brugge <hermantenbrugge@home.nl>Fix bitfield long types for stabs/dwarf
3184afc136262e932022-05-26herman ten brugge <hermantenbrugge@home.nl>Fix core dump in case -static is used
3185cd627c6c40732022-06-07herman ten brugge <hermantenbrugge@home.nl>Fix riscv assembler
31869712541156d12022-06-13Reinhard Urban <reinhard.urban@nubix.de>Add missing ELFOSABI constants
3187ebb4e712362b2022-07-01Michael Matz <matz@suse.de>flexarray: Accept empty ones
318873c22f831f332022-07-01Michael Matz <matz@suse.de>Fix fallthrough of non-entered stmt expressions
3189fe7ee1105c592022-07-07Detlef Riekenberg <wine.dev@web.de>libtcc: Let "-Wl,*" also accept "--entry=xxx" as alias for "--e=xxx"
31903715f1d7ee302022-07-09Ziyao <tswuyin_st127@163.com>Optimize small structure copying on x86_64
31912d210fef49522022-07-09Ziyao <tswuyin_st127@163.com>Skip test 112_backtrace on x86_64,because commit 3715f1d breaks it.Commit 3715f1d makes the error message of bound check on x86_64 different from other platforms,which breaks the test process.But that commit exactly works well.
31922c70652e044b2022-07-09herman ten brugge <hermantenbrugge@home.nl>Enabled test 112_backtrace
3193a83b285685962022-07-09herman ten brugge <hermantenbrugge@home.nl>Add extra locking in bound checking code
3194e588b65390bc2022-07-13Ziyao <tswuyin_st127@163.com>Fix wrong handling of strings which do not end properly at the end of line
3195af1abf1f45d42022-07-15grischka <grischka>Revert "Fix wrong handling of strings..." (almost)
31968482682061ea2022-07-23Arthur Williams <taaparthur@disroot.org>Define __TCC_BACKTRACE_ENABLED__ if backtrace is enabled
31977d319042479d2022-05-28grischka <grischka>tccelf: fix version patch for defined symbols
3198e8adc64203ac2022-05-28grischka <grischka>libtcc: extend tcc_add_dllref()
3199c81519e1c45e2022-05-28grischka <grischka>tccgen: don't generate elf-symbols under nocode/NODATA
32007d6979d452532022-05-28grischka <grischka>tccelf: avoid lookup of _GLOBAL_OFFSET_TABLE_
3201d653cf01f36d2022-05-08grischka <grischka>tccelf: load objects first
3202e460f7dbb2162022-07-23grischka <grischka>tccelf: load libtcc1.a from library path
3203ebaa5c81f43f2022-05-28grischka <grischka>dynamic executables (PIE)
32048e860702e44c2022-05-28grischka <grischka>tccelf: sort_sections()
320509808f327f1d2022-05-17grischka <grischka>tcc android-enabled (armeabi-v7a)
32064589fdfad43e2022-07-25herman ten brugge <hermantenbrugge@home.nl>Fix netbsd elf problem
32072647dc063de82022-07-25herman ten brugge <hermantenbrugge@home.nl>Change plt_name size from 100 to 200.
3208bc12ab02c04e2022-07-28Detlef Riekenberg <wine.dev@web.de>Accept -Wl,Map=filename.map
3209746560dc45752022-07-28Detlef Riekenberg <wine.dev@web.de>Do not fail with _Alignas(0) and _Alignas(1), used by autotools
3210ef19711ba5bd2022-07-29Vincent Lefevre <vincent@vinc17.net>Use && rather than & for a Boolean operation.
32118b906427e3032022-08-04Detlef Riekenberg <wine.dev@web.de>tccgen: cleanup _Alignas implementation
3212b7733aeef1b62022-08-11herman ten brugge <hermantenbrugge@home.nl>Fix wchar_t strings with 'x', 'u' and 'U'
32131de025c13a5f2022-08-11herman ten brugge <hermantenbrugge@home.nl>Check dState instead of do_debug in tccdbg.c
321447dc6e6d7b5b2022-08-14herman ten brugge <hermantenbrugge@home.nl>Add __has_include and __has_include_next support
3215154c3e7450d92022-07-04Michael Matz <matz@suse.de>Fix unnamed bitfield struct members
321698bab41cba272022-07-07Michael Matz <matz@suse.de>Support asm goto
32172309517066c52022-07-07Michael Matz <matz@suse.de>x86asm: Add popcnt
3218b077bc8ff7c22022-07-08Michael Matz <matz@suse.de>x86asm: Add vm* and iret[wlq] insns
32191da92cdd93a22022-07-08Michael Matz <matz@suse.de>Accept attributes after labels
322064f4b00d34242022-07-11Michael Matz <matz@suse.de>tccpp: Fix #ifdef in macro args
32210c36b3ff2dc62022-07-11Michael Matz <matz@suse.de>x86asm: Add movnti
3222c3e3a07ed4132022-07-12Michael Matz <matz@suse.de>dce: Don't force unreachable case label to be live
3223aa9093a1441b2022-08-16Michael Matz <matz@suse.de>Fix null pointer constants
322490b68cbd58302022-08-16herman ten brugge <hermantenbrugge@home.nl>Fix arm64 compilation
32250f72db09ab4b2022-08-16herman ten brugge <hermantenbrugge@home.nl>Add testcase __has_include and __has_include_next
322685c32ddd0bf42022-08-18grischka <grischka>tccpp: integrate __has_include() more nicely
322720a1ebf8544c2022-08-18grischka <grischka>tccpp : get rid of 'ch'
32282acf65f7e6032022-08-21Brian Callahan <bcallah@posteo.net>Fix OpenBSD PIE binary linking
3229c51236eee7d22022-09-01Detlef Riekenberg <wine.dev@web.de>libtcc: Activate DWARF debug infos with tcc -gdwarf ...
32304410dbdd7fcb2022-09-02Niklas Rosencrantz <niklasr@pm.me>Use uname -s since uname -o is not compatible with macOS/Darwin
323176b88e22a4832022-09-12herman ten brugge <hermantenbrugge@home.nl>Fix last __has_include update
3232fa25630ce4e62022-09-19Michael Matz <matz@suse.de>vla: Fix check for vla used by autoconf
32332507c71704432022-09-23Detlef Riekenberg <wine.dev@web.de>tcc.h: Extend search path for include, lib and crt
3234414c22c67b742022-09-24Detlef Riekenberg <wine.dev@web.de>configure: Fix Android detection
3235e41730f11a992022-08-20grischka <grischka>- tcc -vv: show cross-libtcc1.a correctly (and more)
3236e5eedc0cda882022-09-24grischka <grischka>Revert "tcc.h: Extend search path for include, lib and crt"
32370fd7376000c62022-10-06herman ten brugge <hermantenbrugge@home.nl>Add .gnu_hash support
3238aef64762c17e2022-10-08grischka <grischka>tccpp: #define max(a,b) && max /= 8;
3239b9aeb21f3f152022-10-11Detlef Riekenberg <wine.dev@web.de>gcctestsuite: Make the script usable on more systems, skip some tests
3240c03d59eae0f22022-10-12herman ten brugge <hermantenbrugge@home.nl>Fix macos warning for create_gnu_hash
3241d76e03232bb82022-10-10grischka <grischka>win64: hi-mem adjustments
3242d27ca0e0c06e2022-10-14mingodad <mingodad@gmail.com>Add a github action to build/test tinycc on github mirror
3243c60f1d953c5b2022-10-14mingodad <mingodad@gmail.com>Update tests on Ubuntu from 18.04 to 20.04 because github is deprecating 18.04
3244bb80cbe0d9e12022-10-14grischka <grischka>tcctest.c: sizeof (long) != 8
324579a8229fb5da2022-10-16herman ten brugge <hermantenbrugge@home.nl>Add atomic functions for arm/arm64/riscv
3246878fcccdb2c62022-10-17herman ten brugge <hermantenbrugge@home.nl>Small preprocessor fix
32477d76420857742022-10-19noneofyourbusiness <stpavlenko@kolabnow.ch>produce a more informative error message when parsing _Complex
3248df6fd04aafc92022-10-23Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>github: commentary typo fix
3249aea2b53123b92022-10-30noneofyourbusiness <stpavlenko@kolabnow.ch>update TODO: static linking sort of works
325040f01478d82a2022-11-11Christian Jullien <jullien@eligis.com>Add support for missing strtoll and strtoull on Windows 32/64
32516219b2de00ae2022-11-11Christian Jullien <jullien@eligis.com>Add tests on Windows for strtoll and strtoull. Tests can probably be used on all systems.
32528eabf67e1e482022-11-12Christian Jullien <jullien@eligis.com>Fix typo in tst_strtoll_strtoull. The wrong function was called for unsigned long long type.
3253c6b722f3f8ac2022-11-12Vlad Vissoultchev <vlado@vis.bg>github: use macOS 11.7 and silence 96_nodata_wanted on Windows
3254c8ef84c854382022-11-16herman ten brugge <hermantenbrugge@home.nl>Add support for apple m1
3255f89a6f12a7742022-11-17herman ten brugge <hermantenbrugge@home.nl>Fix atomic test_and_set and clear
3256233d5d5f6fec2022-11-17Christian Jullien <jullien@eligis.com>Fix old_style_f call when compiled by clang.
3257e99cf727845a2022-11-17herman ten brugge <hermantenbrugge@home.nl>Add weak support apple
3258d578151f8c732022-11-18herman ten brugge <hermantenbrugge@home.nl>Fix weak support apple
3259d605d75ba8b02022-11-18herman ten brugge <hermantenbrugge@home.nl>Fix stab support for apple
3260b86d82c8b31a2022-11-23herman ten brugge <hermantenbrugge@home.nl>Add new macho object format to tccmacho
3261f48efeef8c632022-11-25herman ten brugge <hermantenbrugge@home.nl>Update to run on apple 13.0 (Ventura)
326228fa4d3db6aa2022-11-25herman ten brugge <hermantenbrugge@home.nl>Add strncat and strrchr to bounds checking
3263312d28b0a8ab2022-11-25grischka <grischka>tccelf: avoid find_section() for known section
3264d8329c2d19042022-11-25Christian Jullien <jullien@eligis.com>__nan() is not available on Apple M1, replaced by (0.0F/0.0F)
32656b9fb93cd1202022-11-27herman ten brugge <hermantenbrugge@home.nl>Fixed trie code generation for apple
3266747ad409ac532022-11-28herman ten brugge <hermantenbrugge@home.nl>New update tccmacho.c
3267afcdaf121a952022-11-29herman ten brugge <hermantenbrugge@home.nl>Fix __builtin_constant_p with comma expression
3268a722a124f3952022-11-29herman ten brugge <hermantenbrugge@home.nl>Allow %n in *printf functions on macos
3269065b401c6e522022-11-29herman ten brugge <hermantenbrugge@home.nl>Fix static assert with empty string
3270ac0604a4d4a22022-11-29herman ten brugge <hermantenbrugge@home.nl>Allow atexit to be used with -run
327162096265ed622022-11-30herman ten brugge <hermantenbrugge@home.nl>Add debug support to macos
32724cb99787a7672022-12-01noneofyourbusiness <stpavlenko@kolabnow.ch>make tcc -v more informative (also add commit date/time) patch from 'Christian Jullien' <eligis@orange.fr>
3273702b802316f52022-12-01noneofyourbusiness <stpavlenko@kolabnow.ch>TODO: add releases - it's been a while since the last release
327460d52f0d688c2022-12-02herman ten brugge <hermantenbrugge@home.nl>Fix add debug support to macos
3275fef701b57fa72022-12-02herman ten brugge <hermantenbrugge@home.nl>Allow on_exit to be used with -run
32767015838f51962022-12-02Christian Jullien <jullien@eligis.com>Use my latest proposed patch for improved -v message. It is simpler and gives a better message, especially when repository has been locally modified: 'tcc version 0.9.27 mob:fef701b 2022-12-02T07:11:55+01:00 locally modified (ARM eabihf Linux)'. Hope it's Ok for maintainers
3277bdaccc2898872022-12-02Christian Jullien <jullien@eligis.com>Minor -v improvement: remove extra space
3278ffbf6c26b24c2022-12-02Christian Jullien <jullien@eligis.com>Test was inverted for locally modified version
32796b398686d6822022-12-02herman ten brugge <hermantenbrugge@home.nl>Fix bounds checking without -run on macos
3280b7356bb638952022-12-02herman ten brugge <hermantenbrugge@home.nl>Reduce memory size macho executables
328114e78d7cc2a52022-12-02herman ten brugge <hermantenbrugge@home.nl>Old macho format does not work with previous push
3282894e166ecf682022-12-02herman ten brugge <hermantenbrugge@home.nl>Better fix for old macho format
3283ab39d34dde922022-12-03noneofyourbusiness <stpavlenko@kolabnow.ch>produce a more informative error message when _Thread_local is used
32847cc1cc3881702022-12-04herman ten brugge <hermantenbrugge@home.nl>Fix for lldb usage
3285e2db3a5e57a42022-12-04herman ten brugge <hermantenbrugge@home.nl>Update load segment code for macho
328685b27432bb992022-12-04herman ten brugge <hermantenbrugge@home.nl>Fix libtcc_test_mt
32876b9c0024ac1d2022-12-05herman ten brugge <hermantenbrugge@home.nl>Default is now config-new_macho and dwarf=4 for apple
3288a0f88dca75752022-12-05Christian Jullien <jullien@eligis.com>on macOS, configure displays the dwarf version used, currently dwarf=4
3289d1f5d132c6742022-12-05Christian Jullien <jullien@eligis.com>cosmetic: OSX is a deprecated name, macOS is the official system name for Apple Operating System since 2016.
3290d0c26ba4e50a2022-12-05Christian Jullien <jullien@eligis.com>OSX is used and can't be replaced by macOS yet, revert previous change
3291657262c7e53b2022-12-06herman ten brugge <hermantenbrugge@home.nl>Enable testcases on apple and x86_64
3292ac9eeea1d55d2022-12-06herman ten brugge <hermantenbrugge@home.nl>Enable vla_test-run on all targets
3293ea0c57e90a112022-12-10Petr Skocik <pskocik@gmail.com>Allow _Static_assert declarations in structs
3294dd69143ae65d2022-12-11herman ten brugge <hermantenbrugge@home.nl>Add builtins ffs, clz, ctz, clrsb, popcount, parity
3295079692016ded2022-12-11herman ten brugge <hermantenbrugge@home.nl>Fix stab debug problem with common section
32969cfc8f60ce192022-12-13Mathias Krause <minipli@grsecurity.net>x86asm: Add lzcnt/tzcnt support
32978d3930bdb67e2022-12-16herman ten brugge <hermantenbrugge@home.nl>Add dll support for macho
3298d66a62fa6b892022-12-17herman ten brugge <hermantenbrugge@home.nl>Fix dll support macho for x86_64
329904810db83ab62022-12-17herman ten brugge <hermantenbrugge@home.nl>Allow building lib with gcc/clang
3300f6f3d646fbdd2022-12-18herman ten brugge <hermantenbrugge@home.nl>Fix dll support for macho
3301d5f25d19b3802022-12-20herman ten brugge <hermantenbrugge@home.nl>Add macos clang/ld compiler options
3302909d58dd5eeb2022-12-20herman ten brugge <hermantenbrugge@home.nl>Add tcc -ar x and t options
330362d857a6f9e12022-12-22grischka <grischka>tccgen: better find_field() not found error messages
3304da0cc61794ae2022-12-22herman ten brugge <hermantenbrugge@home.nl>Fix bind problem macho
330503841b6f16512022-12-23herman ten brugge <hermantenbrugge@home.nl>Update bind problem macho
33063fd6a05fff422022-12-23herman ten brugge <hermantenbrugge@home.nl>Fix multiple rpath tccmacho
330795e39517ef752022-12-24Christian Jullien <jullien@eligis.com>Add -Wl,-install_name macOS clang compatible flag as clang refuses -Wl,-soname. This helps configure scripts using both clang and tcc.
3308676755f6eee92022-12-26noneofyourbusiness <stpavlenko@kolabnow.ch>help: also update main help with tcc -ar options and sort them
3309d1fa89a11f242022-12-27herman ten brugge <hermantenbrugge@home.nl>Fix problem with large section size.
33107ed9c95ae7952022-12-27herman ten brugge <hermantenbrugge@home.nl>Allow parallel build testsuite
331178c3ea30a6f82022-12-27Per Nordlöw <PNordlow@symmetryinvestments.com>Reduce CString memory usage from 3 to two 2 words
33129957c686a47d2022-12-27Per Nordlöw <per.nordlow@gmail.com>Remove _Static_assert verifying the size of CString because it breaks C99 builds with gcc-5
3313d15dec711dbb2022-12-28noneofyourbusiness <stpavlenko@kolabnow.ch>tcc -ar: change mode to 644, use ARMAG
331420a22cf3d6c22022-12-28herman ten brugge <hermantenbrugge@home.nl>Fix tcc -ar c symbol header size
3315fa0fa62b0cb52023-01-01noneofyourbusiness <stpavlenko@kolabnow.ch>Makefile: remove unportable -v flag from distclean target
3316560526a49dff2023-01-01noneofyourbusiness <stpavlenko@kolabnow.ch>Changelog: get started with the changelog since 0.9.27
331779d439ee4fbe2023-01-16herman ten brugge <hermantenbrugge@home.nl>Allow const expr in builtin_frame_address/builtin_return_address
3318ee3fef2ce2a82023-01-16herman ten brugge <hermantenbrugge@home.nl>Fix preprocessor line directive
3319d0efbc5d3a532023-01-16herman ten brugge <hermantenbrugge@home.nl>Fix preprocessor line directive for macos
33204cccba74d2652023-01-17noneofyourbusiness <noneofyourbusiness@kolabnow.ch>update changelog
33217874397373f82023-01-17Christian Jullien <jullien@eligis.com>Don't forget to mention the amazing job made by Herman on native macOS.
33224dc7662a07352023-01-17herman ten brugge <hermantenbrugge@home.nl>Fix preprocessor line directive update
3323b2485d6cd5972023-02-03Detlef Riekenberg <wine.dev@web.de>Use unsigned int to count sizes for -bench (YARPgen)
3324bdec3c5345832023-02-03Detlef Riekenberg <wine.dev@web.de>Use unsigned int to count sizes for -bench (YARPgen) (part 2)
3325605538f46d272023-02-22Michael Matz <matz@suse.de>Fix sym_scope of typedefs
332629ae3ed4d5b82023-02-23Brian Callahan <bcallah@openbsd.org>OpenBSD has removed the syscall() function from its libc, so we need to use getthrid() directly in lib/bcheck.c
3327ccc1651075182023-03-05Petr Skocik <pskocik@gmail.com>Create scopes for switches/whiles/do-whiles
3328c771cb52fad42023-03-07Michael Matz <matz@suse.de>Fix code suppression during nocode_wanted
33293f0a1719dc852023-03-09herman ten brugge <hermantenbrugge@home.nl>Fix init bitfield padding with size 32/64
333080909254c4a12023-03-09herman ten brugge <hermantenbrugge@home.nl>Fix Makefile install target
3331ec81877fa74a2023-03-09herman ten brugge <hermantenbrugge@home.nl>Fix test90 for 32 bits targets
33322cf3a6eb4de52023-03-09Michael Matz <matz@suse.de>Fix more jumpopts (in ternary op)
33332cb8bddd82c72023-03-10herman ten brugge <hermantenbrugge@home.nl>Add attribute nodebug support and skip bitfield padding
333496b31ba670442023-03-10Michael Matz <matz@suse.de>Fix casted boolean expressions
3335ef3eb02ccbce2023-03-10Michael Matz <matz@suse.de>Fix type of cond-op
333688d5c70bdb942023-03-11herman ten brugge <hermantenbrugge@home.nl>Update casted boolean expressions
3337cb3589c56e4f2023-03-11herman ten brugge <hermantenbrugge@home.nl>Increase VSTACK_SIZE to 512.
3338cad8739594102023-03-11herman ten brugge <hermantenbrugge@home.nl>Fix nocode_wanted in expr_landor
33397abf2c03d69b2023-03-11Detlef Riekenberg <wine.dev@web.de>fix: Do not define INCLUDE_STACK_SIZE twice
33405f08561e10bc2023-03-11grischka <grischka>Revert ""Fix" nocode_wanted in expr_landor"
334119e3e10e4bbe2023-03-06grischka <grischka>small scopes cleanup etc.
33424dc4e93f1d2a2023-03-13Michael Matz <matz@suse.de>Fix 128_run_atexit.c on linux
3343e21523529b812023-03-18Avi Halachmi (:avih) <avihpit@yahoo.com>configure: OSX/macos: autodetect new_macho value
334495aab7d687232023-03-18herman ten brugge <hermantenbrugge@home.nl>tests/tcctest.c: Add support for osx with clang 10
3345afa05caacf152023-03-23Detlef Riekenberg <wine.dev@web.de>Ignore _unaligned and __unaligned. Required >15years ago, but still present in old code
3346e7262accb6e62023-03-23Detlef Riekenberg <wine.dev@web.de>Print correct values in tcc_print_stats (yarpgen v1)
3347b006b98334662023-04-08Ziyao <ziyao@disroot.org>Fix passing of large function arguments on riscv64
334824c930a9b8132023-04-15herman ten brugge <hermantenbrugge@home.nl>Allow _unaligned and __unaligned on WIN32
33496a24b762d3e12023-04-15herman ten brugge <hermantenbrugge@home.nl>Do not crach when compiling with libtcc.
335086f3d8e331052023-04-06grischka <grischka>tccpp: remove unwanted space with __VA_ARGS__
335119ef024aa9c12023-04-25grischka <grischka>lib/armeabi.c: fix zero from/to double conversion
33527916cf71cc572023-04-15grischka <grischka>tcc_error_noabort(): always use this unless compiling
335340131b7e0fee2023-04-15grischka <grischka>MEM_DEBUG thread-safe & tccdbg leakless
3354a045400501142023-04-24grischka <grischka>CStrings leakless
3355bb93bf8cd2912023-03-31grischka <grischka>stuff & etc..
33560ec3a40dfd952023-03-12grischka <grischka>about CONST_WANTED & VT_NONCONST
3357a46372e910712023-05-22herman ten brugge <hermantenbrugge@home.nl>Add support for constant float compare
3358da3a763e977a2023-05-27waltje <decwiz@yahoo.com>Small patch to allow for the TCC.EXE (and TCCLIB.DLL) to reside in a (directory under) a "bin/" directory at the same level where the "include/" and "lib/" directories are. This allows one to set the PATH to the (proper) binaries directory and TCC will then "find" itself there. Tested under Windows 7, Windows 8.1 (ARM) and Windows 10+11, but should also be workable for Linux and macOS.
3359583c3b47466b2023-05-30waltje <decwiz@yahoo.com>Update to previous patch (remove the strcpy.)
33605077d4c915142023-06-12OldWorldOrdr <joey.t.reinhart@gmail.com>change which to command -v
336130fd24abd4e22023-06-25herman ten brugge <hermantenbrugge@home.nl>Allow different names for pragma once
33624e363a17284e2023-06-26herman ten brugge <hermantenbrugge@home.nl>Small update on pragma once
3363c92f4f52d97c2023-06-26herman ten brugge <hermantenbrugge@home.nl>Update pragma once for file operations
3364a82aff3337742023-07-01Yao Zi <ziyao@disroot.org>Fix invalid load generated by gfunc_return()
33655b28165fbf852023-07-05herman ten brugge <hermantenbrugge@home.nl>Fix test 131 for 32 bits targets
3366fd6d2180c5c82023-07-31herman ten brugge <hermantenbrugge@home.nl>Align stack when returning structs.
3367022fb4293bd22023-06-26grischka <grischka>tccpp: #pragma once normalized
3368c29420ab0de92023-07-31grischka <grischka>tccgen: update "Fix invalid load generated by gfunc_return()"
3369e70fec871b9e2023-08-10noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-tok.h: update with more instructions from the spec
3370d1c107738b0f2023-08-10noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-asm.c: add jal/jalr
3371598134fff6a12023-08-30herman ten brugge <hermantenbrugge@home.nl>Undo part of incr_offset patch.
3372b50a0bdf311a2023-08-30herman ten brugge <hermantenbrugge@home.nl>Add bound checking for test 132
3373ff2a372a9af52023-08-31herman ten brugge <hermantenbrugge@home.nl>Add tcov support in Makefile
33743f3cbb51ed112023-08-30grischka <grischka>bcheck: remove "tcc_location()" & x86_64 double fix
3375cd75ca692a382023-06-03grischka <grischka>stuff & fixes
3376452045422bdc2023-06-18grischka <grischka>win32: pe dwarf sections & option -g.pdb
33778c5fe87665172023-09-06grischka <grischka>tcc -g1 : small debug info (lines/functions only)
3378086870addd952023-09-06grischka <grischka>configury update & bump VERSION to 0.9.28rc
33799bb9a04b5f842023-09-07herman ten brugge <hermantenbrugge@home.nl>Small fixes
338031206a5bb8a72023-09-07herman ten brugge <hermantenbrugge@home.nl>Fix tests/tests2/Makefile for win32
33817f39b4f5739a2023-09-09Sergey Sushilin <sergeysushilin@protonmail.com>Fix typo in atomic_compare_exchange_weak()
33823d128041c3de2023-09-17Detlef Riekenberg <wine.dev@web.de>include/tccdefs: Add function renaming with __REDIRECT_NTHNL (0.9.28rc testing)
3383b214fb6ed3892023-10-04Eric Raible <raible@gmail.com>Produce better error message on malformed while loop
338408c777053cb32023-10-08Petr Skocik <pskocik@gmail.com>Support aliasing static global nonfunction objects
3385f44060f8fcdf2023-10-24Sylvain BERTRAND <sylvain.bertrand@legeek.net>ELF Relocatable: make undefined global symbol STT_NOTYPE
33866b967b1285702023-10-26Ben C <ben.c.dev@outlook.com>Fix macOS .dylib build when VERSION contains letters.
338732c4df1497e82023-10-26Detlef Riekenberg <wine.dev@web.de>tccelf: Do not load all referenced libraries when linking a library
3388fd775d941d422023-10-29Reimar Döffinger <Reimar.Doeffinger@gmx.de>arm64-gen.c: Add __AARCH64EL__ target_machine_defs.
3389e9aa1132400c2023-10-29Reimar Döffinger <Reimar.Doeffinger@gmx.de>tccdefs.h: Apple target requires __has_builtin definition.
33901bfed06c2aa82023-10-29Reimar Döffinger <Reimar.Doeffinger@gmx.de>Relicensing TinyCC
33917a53029e4d1e2023-10-29Reimar Döffinger <Reimar.Doeffinger@gmx.de>Add -MP option.
339232ac23656fe12023-10-29Reimar Döffinger <Reimar.Doeffinger@gmx.de>Add support for -dumpmachine option.
3393ece74ceaaf0f2023-10-29Reimar Döffinger <Reimar.Doeffinger@gmx.de>tests: Add support for codesigning command.
3394a473473feda52023-10-29Reimar Döffinger <Reimar.Doeffinger@gmx.de>stdatomic.h: Add ATOMIC_VAR_INIT macro.
3395b7c732f01c562023-10-29Reimar Döffinger <Reimar.Doeffinger@gmx.de>tcctools: delete created ar file on error.
339636f53cdc3bb52023-10-30Reimar Döffinger <Reimar.Doeffinger@gmx.de>Revert "tests: Add support for codesigning command."
33972c1c20a48cb12023-10-31Steffen Nurpmeso <steffen@sdaoden.eu>Relicensing TinyCC
3398be8cded098e52023-11-08herman ten brugge <hermantenbrugge@home.nl>Allow make tcov-test on bsd targets
3399bf928f3f4f832023-11-08herman ten brugge <hermantenbrugge@home.nl>Allow libtcc1-usegcc in lib/Makefile
34000f29dbcfd5922023-11-08herman ten brugge <hermantenbrugge@home.nl>Update do_debug handling
3401ded713e90dde2023-11-08herman ten brugge <hermantenbrugge@home.nl>Ignore as_needed in ld_add_file_list
3402fc8c01861b0b2023-11-08herman ten brugge <hermantenbrugge@home.nl>Fix STT_NOTYPE problem on win32
3403be8f894710682023-11-08herman ten brugge <hermantenbrugge@home.nl>Check for errors before codesign
3404fb164e0ab48b2023-11-26Rob Pilling <robpilling@gmail.com>Error out for incomplete type initialisation
340570328621f14b2023-11-26noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-asm.c: added asm_emit_j (J-type), changed jal to J-type
3406c45cb650fc192023-10-30Reimar Döffinger <Reimar.Doeffinger@gmx.de>tcctools.c: reduce duplicated code for -MP option.
34070655fd9637db2023-11-27Reimar Döffinger <Reimar.Doeffinger@gmx.de>configure: enable codesign by default on macOS.
340881a32ec305ee2023-12-02noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-asm.c: asm_emit_j: correct check of immediate
3409d87801bd50ab2023-12-02noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-asm.c: implement C extension
3410c71415b543e42023-12-07noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64 elf flags should be configurable
3411275dfbea20842023-12-08noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-asm.c: implement M extension
3412279dbb94e24e2023-12-08noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-asm.c: correct check for 12-bit immediate
34133b3c9412acb22023-12-09noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-asm.c: implement Zicsr extension
34145dc241fee1162023-12-10noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-tok.h: add Zicsr pseudoinstructions, registers
3415b390feec6d4c2023-12-10noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-asm.c: add Zicsr registers
3416ada17a08ebc92023-12-10noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-asm.c: add support for calculating addresses of symbols
341748798969c5582023-12-16herman ten brugge <hermantenbrugge@home.nl>Update riscv64-asm prototypes
34186379f2ee76ac2023-12-29herman ten brugge <hermantenbrugge@home.nl>Preprocessor fix + new testcase
3419c13bbb5cb5842024-01-06herman ten brugge <hermantenbrugge@home.nl>Add type promotion in comma expression and update testcase 94
34202701dcfb06732024-01-07herman ten brugge <hermantenbrugge@home.nl>Add some relocations to riscv64-link.c
34216120656cbf6d2024-01-08herman ten brugge <hermantenbrugge@home.nl>Rewrite gexpr a bit
342204365dd4c91f2024-01-12Andrius Štikonas <andrius@stikonas.eu>riscv64-asm.c: fix assembly instruction with negative immediate offsets.
3423bbe2e5a421e02024-01-16herman ten brugge <hermantenbrugge@home.nl>Allow declarations in case statement
34240059d89c0fa32024-01-16herman ten brugge <hermantenbrugge@home.nl>Prepare for gcc 14
34257d1bbc80d4972024-01-17herman ten brugge <hermantenbrugge@home.nl>Update for clang
34267f0a28f6ca022024-01-28herman ten brugge <hermantenbrugge@home.nl>C23: Implement declaration after label
3427c7263571d2172024-01-20Ekaitz Zarraga <ekaitz@elenq.tech>riscv64-gen: Fix `load` and `store` type_size usage
34286426cc3384cf2024-01-30Ekaitz Zarraga <ekaitz@elenq.tech>Revert "riscv64-gen: Fix `load` and `store` type_size usage"
3429da0d43903b2b2024-02-04grischka <grischka>review recent commits
3430105d70f7b4ce2024-02-05kbkpbot <kbkpbot@gmail.com>atomic_load/atomic_store : to ensure return the latest value, should we add a memory barrier here?
3431be6584e2b98a2024-02-06Eric Raible <raible@gmail.com>Allow use of a custom allocator in libtcc
3432cd6ad857cf4a2024-02-07herman ten brugge <hermantenbrugge@home.nl>Fix default_reallocator declaration
343376d605192dae2024-02-08kbkpbot <kbkpbot@gmail.com>add MemoryBarrier marco define; tested gcc msvc
3434a0ab99169e352024-02-09herman ten brugge <hermantenbrugge@home.nl>Pointer diff should use signed size
3435b671fc0594622024-02-07grischka <grischka>LIBTCCAPI tcc_relocate(s) : REMOVED 2nd argument
34367b9f19eaab7e2024-02-09grischka <grischka>tccpp: macro cleanup
3437a7cd016d713c2024-02-11grischka <grischka>tccrun: 'tcc_relocate()' twice no longer supported
3438f2e8b2ad792b2024-02-14Detlef Riekenberg <wine.dev@web.de>bcheck: fix argument order for memalign
34398d8d75ca75bc2024-02-15herman ten brugge <hermantenbrugge@home.nl>Allow tcc to run with bounds checking enabled
3440c88b19966c612024-02-14grischka <grischka>tccrun: exit() via rt_longjmp()
3441d2f8ceac7ad52024-02-16grischka <grischka>tccrun: review last changes
34424e91d38ddcdb2024-02-21grischka <grischka>tccrun: resign from "advanced" system calls (memaligh/gettid)
3443f9cb198aa8892024-02-26herman ten brugge <hermantenbrugge@home.nl>tccrun: update for apple and openbsd
34442656f8edcce92024-02-28herman ten brugge <hermantenbrugge@home.nl>Fix win64 noreturn problem
34457bc0cb5ba0d92024-02-26Ekaitz Zarraga <ekaitz@elenq.tech>riscv: Implement large addend for global address
344642395a19128b2024-02-29grischka <grischka>tccrun: PAGEALIGN'ed mprotect
34479675c1e245cc2024-03-03herman ten brugge <hermantenbrugge@home.nl>Use CONFIG_RUNMEM_RO=1 on apple
3448ca061f3a96212024-03-02grischka <grischka>i386-asm: fix pc-relative label ariths
34499d2068c6309d2024-03-03grischka <grischka>tccrun: add option CONFIG_RUNMEM_RO=2
34502b0a663df9232024-03-11grischka <grischka>libtcc usability improvements
3451019d10fc12c52024-03-19Ekaitz Zarraga <ekaitz@elenq.tech>riscv: Move operand parsing to a separate function
34528cbbd2b88ac32024-03-19Ekaitz Zarraga <ekaitz@elenq.tech>riscv: Use GAS syntax for loads/stores:
34538bfef6ab18bf2024-03-19Ekaitz Zarraga <ekaitz@elenq.tech>riscv: Add pseudoinstructions
3454409007c9d5a42024-03-20Ekaitz Zarraga <ekaitz@elenq.tech>riscv: jalr: implement pseudo and parse like GAS
3455e2d8eb3d1cba2024-03-20Ekaitz Zarraga <ekaitz@elenq.tech>riscv: jal: Add pseudo instruction support
34563782da8d0c922024-03-21Ekaitz Zarraga <ekaitz@elenq.tech>riscv: Support $ in identifiers in extended asm.
3457618c1734211b2024-03-21Ekaitz Zarraga <ekaitz@elenq.tech>riscv: libtcc1.c support some builtins for __riscv
3458cbe70fa629462024-03-20Ekaitz Zarraga <ekaitz@elenq.tech>riscv: Add .option assembly directive (unimp)
34590239133488f92024-03-23Ekaitz Zarraga <ekaitz@elenq.tech>fixup! riscv: Add .option assembly directive (unimp)
3460e02eec6bde8c2024-03-26Ekaitz Zarraga <ekaitz@elenq.tech>riscv: fix jal: fix reloc and parsing
34616b3cfdd0250d2024-03-17Ekaitz Zarraga <ekaitz@elenq.tech>riscv: Add extended assembly support
34624944f509c3572024-04-13herman ten brugge <hermantenbrugge@home.nl>riscv: Avoid some compiler warnings
34630703df1a6a822024-04-15Ekaitz Zarraga <ekaitz@elenq.tech>Fix Extended Asm ignored constraints
3464c9940681750d2024-04-23Ekaitz Zarraga <ekaitz@elenq.tech>riscv: asm: Add load-reserved and store-conditional
3465671d03f944f12024-04-23Ekaitz Zarraga <ekaitz@elenq.tech>riscv: Add full `fence` instruction support
3466159776304ff22024-04-23Ekaitz Zarraga <ekaitz@elenq.tech>riscv: asm: Add branch to label
34678baadb3b55292024-04-25Ekaitz Zarraga <ekaitz@elenq.tech>riscv: asm: implement `j offset`
34680aca861194082024-04-27Ekaitz Zarraga <ekaitz@elenq.tech>fixup! riscv: Implement large addend for global address
3469da5aa7d7a8972024-05-12Avi Halachmi (:avih) <avihpit@yahoo.com>win32: wincon.h: support more console mode flags
34708cd21e91ccee2024-06-01herman ten brugge <hermantenbrugge@home.nl>Address of solved for riscv64
34713b943bec5de42024-06-03Gynt <Gynt@users.noreply.github.com>implemented thiscall by copying logic from fastcall
34726b78e561c8bf2024-06-11grischka <grischka>div fixes
347308a4c52de39b2024-03-22grischka <grischka>tccpp: tcc_warning("extra tokens after directive")
3474c85eface68942024-07-30Jonathan M. Wilbur <jonathan@wilbur.space>feat: treat unknown macros with arguments as undefined
3475e4d874d88a2e2024-07-30Jonathan M. Wilbur <jonathan@wilbur.space>fix: code in non-executable ELF sections
3476f15008da05ec2024-07-31Jonathan M. Wilbur <jonathan@wilbur.space>fix: previous two commits
34771cee0908d2a72024-07-31Jonathan M. Wilbur <jonathan@wilbur.space>fix: tests broken by use of assembly
34783d65c596a2ef2024-08-10noneofyourbusiness <noneofyourbusiness@danwin1210.de>tcc -dumpmachine: output -musl instead of -gnu when TCC_MUSL is defined
34793415dec9794c2024-08-10noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-tok.h: don't export internal macros
34803d963aebcd532024-08-11noneofyourbusiness <noneofyourbusiness@danwin1210.de>Relicensing TinyCC
348112acbf3e92e42024-08-20Maxim Logaev <maxlogaev@proton.me>tccdbg.c: DW_AT_language now matches the -std option
3482b8b6a5fd7b4e2024-09-14Guest0x0 <guest0x0@outlook.com>fix UB in constant folding of double -> signed integer conversion
34833ead10dd94d72024-09-27Boian Berberov <bberberov@ieee.org>fix: respect CFLAGS from environment, or set defaults
34843110f69e4ed82024-10-08Meng Zhuo <mengzhuo1203@gmail.com>update Github action runner macOS to 12
3485b668b72b06602024-10-09Petr Skocik <pskocik@gmail.com>recognize -std=gnu11 and treat it the same as -std=c11
3486c21576f8a3272024-10-10Ben Noordhuis <info@bnoordhuis.nl>Emit better x86_64 asm for constant loads
348745cff8f03fe52024-10-09grischka <grischka>tccelf.c: write section headers before sections
34887a6f3fded4052024-10-20Steffen Nurpmeso <steffen@sdaoden.eu>include/tccdefs.h: has_atttribute -> attribute (fixes 45cff8f03fe5)
34895a467ddc98b22024-10-20herman ten brugge <hermantenbrugge@home.nl>Move sort_syms to avoid linker error
3490d7f9166ab5682024-10-20herman ten brugge <hermantenbrugge@home.nl>Fix last commit.
34919fb89c23d0f12024-10-14grischka <grischka>tcc -ar: pad archive member position to even
3492e1c8d3a1e61f2024-10-23Avi Halachmi (:avih) <avihpit@yahoo.com>win32: include/sys/types.h: add useconds_t
349345788e91caf22024-10-23Avi Halachmi (:avih) <avihpit@yahoo.com>win32: make #include <unistd.h> work
34944f7b8304df7b2024-10-23Avi Halachmi (:avih) <avihpit@yahoo.com>win32: tcc-win32.txt: add note about mingw includes
3495c7bf40b958962024-10-23Avi Halachmi (:avih) <avihpit@yahoo.com>win32: tcc-win32.txt: fixup mingw includes note
3496d9f1836124d02024-10-23Avi Halachmi (:avih) <avihpit@yahoo.com>win32: tcc-win32.txt: fixup 2 mingw includes note
349750cfe1141b1d2024-10-24tuxcrafting <tuxcrafting@proton.me>fix -section-alignment smaller than ELF header size
34986acf301e77582024-10-27John Nunley <dev@notgull.net>x86_64-asm.h: support callq for better compat
3499a21b5f1fd7ed2024-10-27John Nunley <dev@notgull.net>x86_64-asm: support endbr64 instruction
3500322c4dc2756c2024-11-09herman ten brugge <hermantenbrugge@home.nl>Add support for backtrace()
3501233e22f23d522024-11-09herman ten brugge <hermantenbrugge@home.nl>Fix compile problem on windows
3502f0cd0fbe1b0b2024-11-09herman ten brugge <hermantenbrugge@home.nl>Print bound region when bound checking error occurs
3503c717bac6e3c62024-11-17grischka <grischka>tccgen: show useful line number with duplicate switch-case
3504f24727b6bb802024-11-17grischka <grischka>tcc -freverse-funcargs (reverse evaluation)
35053eb6352c52b92024-11-17grischka <grischka>tcc -fgnu89-inline -fno-asynchronous-unwind-tables
3506dd2e5f8b06bc2024-11-17grischka <grischka>tccelf: cleanup sort_sections() & etc. fixes
350700b29f49a9482024-11-01Avi Halachmi (:avih) <avihpit@yahoo.com>win32: mingw headers: mainly add LOAD_LIBRARY* values
3508cff81434a5d62024-11-17Avi Halachmi (:avih) <avihpit@yahoo.com>win32: 32 bit: allow 64 bit time via __MINGW_USE_VC2005_COMPAT
3509ef7e84454ecd2024-11-20checkroom <checkroom@lenovos-novos.lan>Fixing preprocessor edge case preventing building with meson https://github.com/KaruroChori/tcc-vs
3510a6ef31823bc42024-11-21Avi Halachmi (:avih) <avihpit@yahoo.com>tcc -ar options: use strchr, strpbrk (trivial, no-op)
35111cf33feb0f442024-11-20Avi Halachmi (:avih) <avihpit@yahoo.com>w32: improve quoting when spawning cross-compiler
3512085e029f08c92024-11-22Avi Halachmi (:avih) <avihpit@yahoo.com>fix typos in comments
3513249a0b6b60b52024-11-30Avi Halachmi (:avih) <avihpit@yahoo.com>win32: add minimal mingw header shellapi.h
35144b0402825e1c2024-11-21grischka <grischka>tccgen: C2x 'enum <tag> : <type> ...'
3515729918ef35de2024-11-21grischka <grischka>make: make shorter command lines
3516cea857bf73c92024-12-02Avi Halachmi (:avih) <avihpit@yahoo.com>configure: win32: don't fail when building using tcc
351705ebe494ddc02024-12-03Avi Halachmi (:avih) <avihpit@yahoo.com>configure: avoid non-POSIX: test ... -a/-o ...
35186f4b384e79672024-12-02Avi Halachmi (:avih) <avihpit@yahoo.com>configure: avoid non-POSIX: local var=...
351921272067901a2024-12-02Avi Halachmi (:avih) <avihpit@yahoo.com>configure: avoid boilerplate: var=`echo $opt | ...`
3520ab6e750bd5402024-12-02Avi Halachmi (:avih) <avihpit@yahoo.com>configure: avoid boilerplate: confvars="$confvars ..."
35219289c6c5e0da2024-12-04Avi Halachmi (:avih) <avihpit@yahoo.com>configure: confvars: warn/error on bad key or value
3522c45559e124122024-12-04Avi Halachmi (:avih) <avihpit@yahoo.com>configure: handle spaces correctly in $source_path
3523126b1ffd109f2024-12-04Avi Halachmi (:avih) <avihpit@yahoo.com>configure: win32: error only once about 'ln failed'
3524315828720df62024-12-02Avi Halachmi (:avih) <avihpit@yahoo.com>configure: --config-mingw32: clarify values, simplify code
3525a522213cc8892024-12-04grischka <grischka>tccpe.c: never assume static system libtaries
3526d440ed819cd32024-12-06Avi Halachmi (:avih) <avihpit@yahoo.com>lib/Makefile: fix out-of-tree build of lib/bt-exe.c
352768c8c352fdfd2024-12-12herman ten brugge <hermantenbrugge@home.nl>Avoid Invalid relocation and section conflict on bsd.
35280ce0533854472024-12-12Scott Graham <scott.tinycc@h4ck3r.net>add AddVectoredContinueHandler and AddVectoredExceptionHandler to kernel32.def
3529ea75d5cf390c2024-12-12herman ten brugge <hermantenbrugge@home.nl>Add symver support for FreeBSD >= 14
3530b776bfaa53bc2024-12-11Keith Thompson <Keith.S.Thompson@gmail.com>Define LDBL_MAX_10_EXP for aarch64, riscv
35318620a312b2f62024-12-13grischka <grischka>tcc -run file.c : pass original exit code from file.c again
353234b7b2cef5912024-12-15Scott Graham <scott.tinycc@h4ck3r.net>Add lib/builtin.c to win32/build-tcc.bat
3533af1cfd9e821f2024-12-26kbkpbot <kbkpbot@sina.com>fix x86_64/i386 gfunc_call, when arg is VT_STRUCT, need fetch cpu flag before generating any code
353490ae383f62c22024-12-26kbkpbot <kbkpbot@sina.com>x86_64/i386: Add missing fetch CPU flag
3535c6afdff7ab4d2024-12-27herman ten brugge <hermantenbrugge@home.nl>Aligb section at end in tcc_load_object_file
3536eef2db71a92a2024-12-30kbkpbot <kbkpbot@sina.com>revert commit b8b6a5fd7b4e8cab8e5a5d01064cf5bf2b5eed95
353768000c01ae5b2024-12-30herman ten brugge <hermantenbrugge@home.nl>Print correct values for testcase 134 on all targets
3538999ec460a6172025-01-05herman ten brugge <hermantenbrugge@home.nl>Allow macro in #line directive
3539f6385c05308f2025-01-06herman ten brugge <hermantenbrugge@home.nl>Use TOK_PPNUM/TOK_PPSTR instead of TOK_CINT/TOK_STR
3540f8bd136d198b2025-02-08remph <lhr@disroot.org>Update tcc-doc.texi: bring in line with `tcc -hh' output
3541ec60d28e0ff62025-02-06remph <lhr@disroot.org>Add -Wl,-I and -Wl,-dynamic-linker options
35421747b45649412025-02-07remph <lhr@disroot.org>Fix -Wl,-nostdlib behaviour for compatibility with other compilers
35436ec4a106524a2025-02-07remph <lhr@disroot.org>Process linker directives beginning with a colon
3544f075851f9de92025-03-11Reini Urban <reini@spexai.com>tcc -hh: missing \n
3545006174449e1d2025-02-19grischka <grischka>cleanups & stuff
35468c4e67380e542025-02-28grischka <grischka>arm bits
3547a06c608625b12025-03-18waterlens <waterlens@waterlens.moe>Add fake `_Float16` type to enable the latest `math.h` on macOS
354852a9a541b0ae2025-03-18waterlens <waterlens@waterlens.moe>Fix `tcc -run` on Windows
35495527ca6dcb562025-03-19Detlef Riekenberg <wine.dev@web.de>libtcc: Remove unrelated debug code
3550f57cc34a0c892025-03-19grischka <grischka>Revert "Fix `tcc -run` on Windows" (almost)
3551b3381269d78b2025-03-20grischka <grischka>pp-expression numbers always long long
3552f10ab130ecbe2025-03-28grischka <grischka>linker options & tcc_load_ldscript() reworked
355336ff4f52b5182025-04-19kbkpbot <kbkpbot@sina.com>Add GCC-style atomic builtins: __atomic_*_n
355430c2373c8a4d2025-05-07Detlef Riekenberg <wine.dev@web.de>Accept -MMD,depfile for the Linux Kernel
35556ca228339cba2025-05-07Detlef Riekenberg <wine.dev@web.de>arm-asm: Accept additional register names
3556b6a16e3be4af2025-05-22herman ten brugge <hermantenbrugge@home.nl>Save registers around attribute cleanup
355783de532563c62025-05-24grischka <grischka>revert "Save registers around attribute cleanup" (almost)
3558cb39bc4cacfc2025-05-27herman ten brugge <hermantenbrugge@home.nl>Calculate hex floating point with 128 bits instead of 64 bits.
3559c6792dac03b52025-05-27herman ten brugge <hermantenbrugge@home.nl>Add LIBS when testing tccb on bsd
356059aecdb5392d2025-05-28herman ten brugge <hermantenbrugge@home.nl>Another hex float fix
3561f2b9fcf85d9e2025-06-19Detlef Riekenberg <wine.dev@web.de>libtcc: Avoid a regression for some usecases
35625fad6dc4a3cd2025-06-19Detlef Riekenberg <wine.dev@web.de>libtcc: Fix a double free, when option -o is used twice
35632d4e4a69c44b2025-06-23Avi Halachmi (:avih) <avihpit@yahoo.com>win32: winbase.h: fix broken LOAD_LIBRARY_AS_IMAGE_RESOURCE
35643f06cb0f2ea92025-06-24Urs Janssen <urs@akk.org>always search library paths
35657f13f24e12752025-06-24kbkpbot <kbkpbot@sina.com>Use asm implements some atomic functions
356632b597746c1c2025-06-24herman ten brugge <hermantenbrugge@home.nl>Update bcheck for recent atomic change
35670c12363fd3e82025-07-11kbkpbot <kbkpbot@sina.com>arm64: Save func results before struct args
3568854d6c5ab40b2025-07-14herman ten brugge <hermantenbrugge@home.nl>Update arm and windows atomic functions
35697657d871c1962025-07-14herman ten brugge <hermantenbrugge@home.nl>Add endbr32 for i386
3570717a510a19bf2025-07-14herman ten brugge <hermantenbrugge@home.nl>Enable atomic test for all targets
357128d7fb85b25a2025-07-14herman ten brugge <hermantenbrugge@home.nl>Change windows_2019(deprecated) to windows_2022 in buid.xml
35729670d10294212025-07-14grischka <grischka>fix github CI & stuff
35737c23c48a936d2025-07-17herman ten brugge <hermantenbrugge@home.nl>Riscv struct saving
35742eca4df6e9cf2025-07-18herman ten brugge <hermantenbrugge@home.nl>Correct riscv load_large_constant
35752ffb5869e0692025-07-18Haelwenn (lanodan) Monnier <contact@hacktivis.me>lib/atomic.S: add GNU libatomic copyright notice
3576a2902d37a17b2025-07-21DAVID <76133201+majestuoso@users.noreply.github.com>testing
35778025a829cc422025-07-27herman ten brugge <hermantenbrugge@home.nl>Check with clang -fsanitize
3578666e88ee2a662025-07-29herman ten brugge <hermantenbrugge@home.nl>Update for clang -fsanitize
35798a0ccbbd94d72025-08-03herman ten brugge <hermantenbrugge@home.nl>Another update for clang -fsanitize
358080bef6162aac2025-08-03herman ten brugge <hermantenbrugge@home.nl>Unshare typedef definitions if it used more then once.
35816694391b745f2025-08-03herman ten brugge <hermantenbrugge@home.nl>Update gcctestsuite
35825364bc7c821b2025-08-03herman ten brugge <hermantenbrugge@home.nl>Fix i386 alloca code.
3583311218ee5f9e2025-08-05herman ten brugge <hermantenbrugge@home.nl>Allow testsuite to be build with CC -fsanitize
35849dffcd29d3e22025-08-05herman ten brugge <hermantenbrugge@home.nl>Fix tests/boundtest.c
3585fa9795406d4f2025-08-07herman ten brugge <hermantenbrugge@home.nl>Do not read past array end in struct return
3586087cf2e579b32025-08-10herman ten brugge <hermantenbrugge@home.nl>x86_64 bound checking failure
358737e1c88d78ff2025-08-10herman ten brugge <hermantenbrugge@home.nl>Convert float to double for old function code.
358803184fe33baa2025-08-11herman ten brugge <hermantenbrugge@home.nl>riscv target did not handle FUNC_OLD correctly.
3589571868c4f74d2025-08-15Marek Knápek <knapek.mar@gmail.com>Fix for MSVC's usage of __declspec(align(#)).
359019fdef46f9602025-08-15herman ten brugge <hermantenbrugge@home.nl>Allow mixing old/new function prototypes
3591f8eb5f4ab8c62025-08-16herman ten brugge <hermantenbrugge@home.nl>Add -znodelete linker option
3592199e1351426c2025-08-17herman ten brugge <hermantenbrugge@home.nl>arm double to (unsigned) long long conversion
35938845b6cd45bb2025-08-18herman ten brugge <hermantenbrugge@home.nl>Make signed/unsigned bitfields the same as gcc/clang
3594deb7a3fc73ac2025-08-06grischka <grischka>tcc.c:main() free all & etc...
35952662b7b43caf2025-08-13grischka <grischka>tccgen: local scope for types of function parameters
359680e7040d0c6c2025-08-18herman ten brugge <hermantenbrugge@home.nl>tcc loops with some input arguments
3597f52b480f89d42025-08-07Matthias Gatto <uso.cosmo.ray@gmail.com>c2y if declaration (std n3356)
3598e5e3dc687bb92025-08-22herman ten brugge <hermantenbrugge@home.nl>Make debug info smaller
35994e6c4db340282025-08-22herman ten brugge <hermantenbrugge@home.nl>Small debug cleanup
3600acb2a909dda22025-08-18grischka <grischka>tccgen.c: fix two scope problems
36016ca6328e29972025-08-23herman ten brugge <hermantenbrugge@home.nl>Fix long double to long long for x86_64
36028c59fd3cb6d32025-08-24herman ten brugge <hermantenbrugge@home.nl>Check enum range for typed enums
3603e6ea0d04247b2025-08-30herman ten brugge <hermantenbrugge@home.nl>tccgen: fix several problems
3604b427545419192025-08-31herman ten brugge <hermantenbrugge@home.nl>Update for freebsd versions >= 14.0
3605b45cea5f4be92025-09-03herman ten brugge <hermantenbrugge@home.nl>Update bsd notes
36068c3396a76f1a2025-09-03herman ten brugge <hermantenbrugge@home.nl>Fix cross compiling on windows
360703072a301c832025-09-04herman ten brugge <hermantenbrugge@home.nl>Use configure to set note release bsd
3608ce4de961af692025-09-01grischka <grischka>tccpe: add COFF symbol table for GDB
360938ab5f65b31c2025-08-22grischka <grischka>tccgen: more of scope hacks
3610e73529865d972025-09-18noneofyourbusiness <noneofyourbusiness@danwin1210.de>tcc.c: add information about reporting bugs to the mailing list
36118f23997ca7c72025-09-18noneofyourbusiness <noneofyourbusiness@danwin1210.de>tests/tcctest.c: include stdint.h
361247106ce1034c2025-09-18noneofyourbusiness <noneofyourbusiness@danwin1210.de>tccgen.c: silence logical op warning
3613de8c19e1daef2025-09-18grischka <grischka>tccgen: globalize function return type too
36149dc59f9c23a82025-09-21Stefan <stefan-guix@vodafonemail.de>i386-asm.c: Do bit-check for OP_SEG in asm_opcode
36155aebf106e8682025-09-21Stefan <stefan-guix@vodafonemail.de>i386-asm.c: Use NB_ASM_REGS instead of 8
361695d184cba1962025-09-21Stefan <stefan-guix@vodafonemail.de>i386-asm.c: Optional % for variables in specific registers
36172f88764100442025-09-21Stefan <stefan-guix@vodafonemail.de>libtcc.c: Remove unused defines free and realloc
3618ba0899d9094a2025-09-21Stefan <stefan-guix@vodafonemail.de>tccasm.c: Make .init and .fini sections executable
3619bcfb872fd02a2025-10-03Stefan <stefan-guix@vodafonemail.de>Makefile: Add space behind 'install -m'
3620ce8b3432bf7c2025-10-07herman ten brugge <hermantenbrugge@home.nl>Allow gcc 16 for build
362134b45a69ffcc2025-09-21grischka <grischka>Reverts & cleanups
3622c96f0cad61db2025-10-13herman ten brugge <hermantenbrugge@home.nl>Free all preprocessor memmory in case of error.
362396229004c45d2025-10-15herman ten brugge <hermantenbrugge@home.nl>Fix debugging after commit tccgen: more of scope hacks
3624edcd228214f12025-10-15herman ten brugge <hermantenbrugge@home.nl>Init global_expr variable
362519589288cb8c2025-10-16herman ten brugge <hermantenbrugge@home.nl>Some fixes and cleanups
362601d1b7bc76012025-10-17Aleksi Hannula <ahannula4+nixgit@gmail.com>Add support for f{l,s}d in riscv64-gen
3627234e2dd2bf922025-10-27Avi Halachmi (:avih) <avihpit@yahoo.com>tcc options: document behavior and clashes (no-op)
3628f4e01bfcab6f2025-10-27Avi Halachmi (:avih) <avihpit@yahoo.com>tcc -run: support custom stdin with -rstdin FILE
3629cdebce3079a52025-11-01Detlef Riekenberg <wine.dev@web.de>tccpp: Add the define __STDC_HOSTED__ [C99]
3630ab2ce3b13ac92025-11-04herman ten brugge <hermantenbrugge@home.nl>Ignore some more attributes
3631d9ec17d334272025-11-14DFP <dfp@disroot.org>Relaxed the 'incompatible pointer type' warning a bit Do not emit that warning when the source struct (recursively) contains destination struct as the first member. For example, in this case the warning would have been emitted before, and is not anymore:
3632c52b96cf85332025-11-17herman ten brugge <hermantenbrugge@home.nl>Allow -nostdlib -run
36333e8f1da9c5592025-11-17herman ten brugge <hermantenbrugge@home.nl>Change asm into __asm__ in previous commit
3634fa6a6bfbbdbe2025-11-19herman ten brugge <hermantenbrugge@home.nl>Move lib/va_list.c into include/tccdefs.h
3635264229a0d4262025-11-19kbkpbot <kbkpbot@sina.com>Add arm64 alloca() support.
36367e4fc3a0d0112025-11-19herman ten brugge <hermantenbrugge@home.nl>Fix alloca for arm
36373327327e5dc32025-11-25H-language <hydrogen.language@gmail.com>Add WM_MOUSEHWHEEL to winuser.h
3638e7be7b192d212025-11-21Aleksi Hannula <ahannula4+nixgit@gmail.com>Simplify RV64 function epilogue
36393c631fdb6d3e2025-11-21Aleksi Hannula <ahannula4+nixgit@gmail.com>Implement alloca for RV64
364006e24e7eede12025-11-24Aleksi Hannula <ahannula4+nixgit@gmail.com>Implement some RV64F/D instructions
36415b96aeb7fc942025-11-24Aleksi Hannula <ahannula4+nixgit@gmail.com>Implement some SSE/2 instructions
3642fc424c9f7b882025-11-28Aleksi Hannula <ahannula4+nixgit@gmail.com>Reorder "pure" attribute
36436da45946aef32025-11-29herman ten brugge <hermantenbrugge@home.nl>Add bound check support for alloca on all targets
364478e5e690a2d32025-11-29Aleksi Hannula <ahannula4+nixgit@gmail.com>rv64: Implement some pseudo-ops from Zicsr
36457479a5c21a2b2025-11-29Aleksi Hannula <ahannula4+nixgit@gmail.com>elf: Set ph sizes only if ph was allocated
3646f5f544f436582025-12-01herman ten brugge <hermantenbrugge@home.nl>allow cross compiling for alloca on arm64
3647b4569233cbcc2025-11-30Aleksi Hannula <ahannula4+nixgit@gmail.com>Set TYPE_PARAM parsing mode in old-style param lists
36480fcd46f364e52025-11-30Aleksi Hannula <ahannula4+nixgit@gmail.com>rv64: Generate VT_CMP output from float comparison
3649831c3fa184e32025-12-02Reini Urban <reini.urban@gmail.com>github CI: pinact run -u
3650cb41cbfe717e2025-12-03Aleksi Hannula <ahannula4+nixgit@gmail.com>x86-64: Fix cvts*2si
3651829c848520122025-12-13Stefan <stefan-guix@vodafonemail.de>tccpp.c: Configurable integer literal overflow handling
36528569427459e82025-12-15herman ten brugge <hermantenbrugge@home.nl>Move -run -nostdlib code to lib directory
3653f3de8b5307bf2025-12-17herman ten brugge <hermantenbrugge@home.nl>Use macos 15 in build.yml
36543c18df610d912025-12-17herman ten brugge <hermantenbrugge@home.nl>Fix clang macos 15 bug on arm64 in tests/tcctest.c
365534eed88a70fc2025-12-17herman ten brugge <hermantenbrugge@home.nl>Small updates
365696119149feff2025-12-21herman ten brugge <hermantenbrugge@home.nl>Problems solved on for libtcc, pie, riscv64, arm64
365764cf0b816bb72025-12-21herman ten brugge <hermantenbrugge@home.nl>undo x86_64-link.c commmit
36585a370d8a6bee2025-12-23herman ten brugge <hermantenbrugge@home.nl>Relocation updates
365911118be717702025-12-23Dylan Fei <feidylan23@gmail.com>Fix pointer difference issue in aarch64/riscv64
3660b8513fe895432025-12-28Dylan Fei <feidylan23@gmail.com>arm64-gen: fix address calculation for large symbol offsets
36615ce2c4b4543e2025-12-28Dylan Fei <feidylan23@gmail.com>arm64-gen: fix 16-byte alignment for variadic arguments on stack
36629a7edb20d3922025-12-30herman ten brugge <hermantenbrugge@home.nl>Add pic/pie support to i386
36638a8388c6ffd82026-01-06herman ten brugge <hermantenbrugge@home.nl>Solve some bug reports
36641fe3e3bff5602026-01-06herman ten brugge <hermantenbrugge@home.nl>Add support to debug libtcc code
36651401967ce2132026-01-06herman ten brugge <hermantenbrugge@home.nl>Fix macos
3666518279dc3ee52026-01-09herman ten brugge <hermantenbrugge@home.nl>Another update for macos
36675ec0e6f84b472025-12-21grischka <grischka>some reverts & fixes
3668b39cbc70c4cc2026-01-17noneofyourbusiness <noneofyourbusiness@danwin1210.de>riscv64-asm.c: parse_operand: document some ABI details
366941fa74fc84852026-01-17Urja Rannikko <urjaman@gmail.com>build c2str.exe with the host compiler; default it to gcc if cross prefix given
36704fccaf61241a2026-01-18Avi Halachmi (:avih) <avihpit@yahoo.com>Revert "build c2str.exe with the host compiler; default it to gcc if cross prefix given"
3671abb2f394dde42026-02-05herman ten brugge <hermantenbrugge@home.nl>i386: bound checking needs pic in shared library
36721cb0a3d52a882026-02-01Aleksi Hannula <ahannula4+nixgit@gmail.com>Allow building an empty libtcc1 on AArch64
3673c39eaf10cfbe2026-02-01Aleksi Hannula <ahannula4+nixgit@gmail.com>arm64: Implement TOK_NEG for floats natively
3674aeae4b4ceeae2026-02-04Aleksi Hannula <ahannula4+nixgit@gmail.com>arm64: Fix long double comparison operators
36758c61b91de80e2026-02-03Aleksi Hannula <ahannula4+nixgit@gmail.com>Remove libc dependency from lib-arm64
3676c937095552b32026-02-05Aleksi Hannula <ahannula4+nixgit@gmail.com>Fix numbered register substitution on x86_64
36775ad52cc1ed0f2026-02-05Aleksi Hannula <ahannula4+nixgit@gmail.com>Cast signed pointer offset to ptrdiff_t before performing arithmetic
36784597a9621e702026-02-07Aleksi Hannula <ahannula4+nixgit@gmail.com>arm64-gen: consider VT_LONG|VT_DOUBLE for TOK_NEG
3679fada98b1ce9e2026-02-23diannaaa <diannaaav@gmail.com>fix(riscv64-link): pair pcrel lo relocations by hi address
3680085bdf8997212025-12-13Stefan <stefan-guix@vodafonemail.de>tccpp.c: Improve integer constant overflow warning
368198765e5ebc042026-03-28Stefan <stefan-guix@vodafonemail.de>libtcc.c: Change parameter name of tcc_set_realloc
3682898f496dc9d62026-04-16OpenCode[AI] <opencode-ai@example.com>Add AGENTS.md
36836547ea47d66a2026-04-16OpenCode[AI] <opencode-ai@example.com>No more ; needed
3684d5ecb52a71e22026-04-16Cyan Ogilvie <cyan.ogilvie@gmail.com>tests: add test for x86_64 xor REX prefix bug in load()
3685690fb140151b2026-04-16Cyan Ogilvie <cyan.ogilvie@gmail.com>x86_64-gen: fix missing REX prefix for xor zero into r8-r15
36868ecfd0a722d12026-04-16Cyan Ogilvie <cyan.ogilvie@gmail.com>Relicensing TinyCC
3687169628a6abf22026-04-16Zuhaitz-dev <zuhaitz.zechhub@gmail.com>tccgen: Fix optional semicolon regression
36887b92d2dcd22d2026-04-16Anon <tsoding>Fix warning
36899b8765d8baae2026-04-19Detlef Riekenberg <wine.dev@web.de>Revert commits from OpenCode-AI and a partial regression fix
3690543d84c668cd2026-04-26Reini Urban <reini.urban@gmail.com>.gitignore: Add tests/libtcc_test_xor_rex
36915675177b7fa32025-10-23Petr Skocik <pskocik@gmail.com>allow $ at nonstarting positions in asm symbols under -fdollars-in-identifiers
3692b39da9f6fa7e2026-04-28Petr Skocik <pskocik@gmail.com>Fix false warnings with readonly atomics
36934768b11737bc2026-04-30Cyan Ogilvie <cyan.ogilvie@gmail.com>tccrun: fix OOB read in elf_output_obj after tcc_relocate with -g
3694a66ac623b2e72026-04-30H-language <hydrogen.language@gmail.com>win32: add missing AttachConsole export to kernel32.def
3695d9a6d9aec0582026-05-02grischka <grischka>reverts (11/2025 - 04/2026)
3696ff5d3b4874a52026-04-04Benjamin Oldenburg <benjamin.oldenburg@ordis.co.th>arm64-win32 support : configure & Makefiles
369703d58b0746952026-04-04Benjamin Oldenburg <benjamin.oldenburg@ordis.co.th>arm64-win32 support : runtime
3698ea823189d6392026-04-04Benjamin Oldenburg <benjamin.oldenburg@ordis.co.th>arm64-win32 support : tests
3699f459aff5f6882026-04-04Benjamin Oldenburg <benjamin.oldenburg@ordis.co.th>arm64-win32 support : arm64 assembler
370041bcb4a78fb52026-04-04Benjamin Oldenburg <benjamin.oldenburg@ordis.co.th>arm64-win32 support : linker & -run
3701303badef22512026-04-04Benjamin Oldenburg <benjamin.oldenburg@ordis.co.th>arm64-win32 support: fix scaled mask
370299713bcbfa7f2026-04-04Benjamin Oldenburg <benjamin.oldenburg@ordis.co.th>arm64-win32 support: use arm64_sym()
370390d17c9748802026-04-04Benjamin Oldenburg <benjamin.oldenburg@ordis.co.th>arm64-win32 support: use arm64_sub_sp()
37045c728d6506f12026-04-04Benjamin Oldenburg <benjamin.oldenburg@ordis.co.th>arm64-win32 support: improve HFA & struct
370544e6853cb18d2026-04-04Benjamin Oldenburg <benjamin.oldenburg@ordis.co.th>arm64-win32 support: target PE & varargs
3706576cd2a9235c2026-04-04Benjamin Oldenburg <benjamin.oldenburg@ordis.co.th>arm64-win32 support: symbolic op-code constants
370730afb50e64362026-05-04grischka <grischka>arm64-win32 review: fix problems and pass tests
370869c8e92566702026-05-02Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64: add PROMOTE_RET for narrow return ABI compliance
37099f0915a506fa2026-05-02Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64: implement gen_cvt_csti for narrow int promotion
3710ff917c09aac42026-05-02Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64: implement gen_cvt_sxtw with addiw instruction
3711366569eb7aae2026-05-02Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64-asm: fix neg/negw pseudo-instruction encoding
37125c2240a896772026-05-02Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64-asm: remove long long 'not implemented' errors in inline asm
3713419b527657bd2026-05-02Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64-asm: implement far branches via expansion
37143257afa1602d2026-05-02Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64-link: add R_RISCV_RELATIVE case in relocate()
37152a33daedca9a2026-05-02Meng Zhuo <mengzhuo@iscas.ac.cn>tccasm: extend .reloc directive for RISCV64 relocation types
3716273978b9279c2026-05-02Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64-asm: implement pseudo-instructions sext.w, fmv, fneg
37173935c3bb55852026-05-02Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64-asm: add basic F/D extension instructions (fadd/fsub/fmul/fdiv)
3718199369bb170d2026-05-06Meng Zhuo <mengzhuo@iscas.ac.cn>tests: generate test.ref with TCC instead of host CC
3719f8011ea9b7cb2026-05-06Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64-asm: implement CSR pseudo-instructions
3720016087c954ba2026-05-06Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64-asm: implement AMO, fcvt rounding, and fcvt encoding fixes
37217e01b20362822026-01-10grischka <grischka>tccgen: void values, etc...
3722923fba83f1e52026-05-02grischka <grischka>general: long double issues
37236daf1617ef6d2026-02-02grischka <grischka>configure & tcc.h: include & lib searchpath cleanup
372444977b0de8402026-05-06grischka <grischka>tcctest: restore & combine
3725a672babc6f4c2026-05-07Meng Zhuo <mengzhuo@iscas.ac.cn>tests: fix 141_riscv_asm AMO crash, restore full test coverage
37267f764f340f052026-05-07Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64-asm: complete AMO aq/rl suffixes for all ops
3727c77339ab415e2026-05-07Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64: emit .riscv.attributes section in ELF output
37282888e49f39292026-05-07Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64-gen: implement gen_clear_cache
3729fad812360ba82026-05-10inostensibl <inostensibl@gmail.com>tccgen: fix void expression side effect regression
37308443e25bf5422026-05-12Meng Zhuo <mengzhuo@iscas.ac.cn>feat: implement Thread Local Storage frontend support
3731ea26b85ac0e62026-05-12Meng Zhuo <mengzhuo@iscas.ac.cn>feat(x86_64): add TLS Local Exec support with tests
373211f5c6e1f9e32026-05-12Meng Zhuo <mengzhuo@iscas.ac.cn>feat(riscv64): add TLS Local Exec code generation and linker relocations
37338abaf10ab5692026-05-12Meng Zhuo <mengzhuo@iscas.ac.cn>feat(arm64): add TLS Local Exec code generation and linker relocations
3734841ce0da03a22026-05-13Meng Zhuo <mengzhuo@iscas.ac.cn>feat(arm): add TLS Local Exec code generation and linker relocations
37358502540b4aad2026-05-13Meng Zhuo <mengzhuo@iscas.ac.cn>feat(i386): add TLS Local Exec code generation and linker relocations
3736256b4ef63c902026-05-13Meng Zhuo <mengzhuo@iscas.ac.cn>fix: TLS test failures on osx/win32/armv7
37376728a64f1b532026-05-13Mounir IDRASSI <mounir.idrassi@amcrypto.jp>win32: use VirtualAlloc for run memory
3738757507eb022f2026-05-13Meng Zhuo <mengzhuo@iscas.ac.cn>fix: skip TLS test on osx
37396a7c3df4d5212026-05-15Mounir IDRASSI <mounir.idrassi@amcrypto.jp>win32: make compile lock initialization thread-safe
374037b7247796212026-05-15Mounir IDRASSI <mounir.idrassi@amcrypto.jp>win32: run cv2pdb without shell quoting issues
37411a54e47dda472026-05-15Mounir IDRASSI <mounir.idrassi@amcrypto.jp>pe: add dll characteristic linker options
3742601a0882148f2026-05-15Mounir IDRASSI <mounir.idrassi@amcrypto.jp>win32: improve tccrun protection diagnostics
3743904e95cbdf022026-05-20Mounir IDRASSI <mounir.idrassi@amcrypto.jp>win32: avoid Interlocked imports for tcc arm64
37443b1fe97a596a2026-05-23Mounir IDRASSI <mounir.idrassi@amcrypto.jp>win32: define arm64 Interlocked helpers in winnt.h
37456b53465347462026-05-31Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64: enable gen_clear_cache with I-cache flushing
37461444843fd1012026-05-31Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64-link: fix C90 mixed declaration warning
3747b8f680a3b4532026-06-02Meng Zhuo <mengzhuo@iscas.ac.cn>CI: use RISE runner to test riscv64
3748d8aee9b26e232026-06-12Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64: consolidate riscv intrinsics into lib-riscv.c
3749724b24eeb4a62026-06-12Meng Zhuo <mengzhuo@iscas.ac.cn>riscv64: implement float/double constant loading
3750fb4077f2da152026-06-12Meng Zhuo <mengzhuo@iscas.ac.cn>CI: fix win32 MSVC setup and arm64 test
3751a338258d309c2026-06-13Mounir IDRASSI <mounir.idrassi@amcrypto.jp>Fix qualifiers on const array struct members
37527f7845cd7e722026-06-05grischka <grischka>review some recent changes
37535673055a9c672026-07-08grischka <grischka>review generic tls support
3754b895aa7e68a92026-07-08grischka <grischka>review platform tls support
375504206d2903bd2026-07-09herman ten brugge <hermantenbrugge@home.nl>Some more TLS changes
375697a6d8c75f402026-07-10Mounir IDRASSI <mounir.idrassi@amcrypto.jp>tls: fix local-exec addresses and external symbols
37574ed845d0db632026-07-14Avi Halachmi (:avih) <avihpit@yahoo.com>Makefile: restore doc targets
3758a667b53fcb2c2026-07-14Avi Halachmi (:avih) <avihpit@yahoo.com>win32: allow self-host with tcc 0.9.27 - part 1 of 2
3759ff85981b6c792026-07-14Avi Halachmi (:avih) <avihpit@yahoo.com>win32: allow self-host with tcc 0.9.27 - part 2 of 2
3760add111e6fe212026-07-14Avi Halachmi (:avih) <avihpit@yahoo.com>win32: fix typo in comments: 0.97 -> 0.9.27
3761d9d02c56401e2026-07-14Avi Halachmi (:avih) <avihpit@yahoo.com>win32: simplify tcc 0.9.27 self-host (part 2 of 2)
376285ba3ae8f1e22026-07-24Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>{arm,i386,riscv64}-asm.c: fix generic operand modifier 'n' not negating
376331020bf9636c2026-07-28Mounir IDRASSI <mounir.idrassi@amcrypto.jp>win32: handle quoted LIBRARY names in def files
3764384614a945b62026-07-28Mounir IDRASSI <mounir.idrassi@amcrypto.jp>tccelf: provide complete ELF boundary symbols
376543158eaa713b2026-07-28Mounir IDRASSI <mounir.idrassi@amcrypto.jp>tccelf: consider DSO symbols for PROVIDE
3766380597704ee92026-07-28grischka <grischka>tccpe: tls on windows (i386 / x86-64 / arm64)
3767da58264ab1ef2026-07-30Mounir IDRASSI <mounir.idrassi@amcrypto.jp>tests2: keep linker boundary fixtures common
37682be0218be4462026-07-30Mounir IDRASSI <mounir.idrassi@amcrypto.jp>arm64: fix symbol addends on LLP64 hosts
3769128e78930e1b2026-08-03grischka <grischka>tccelf: unify SHT_NOTE sections
377064552b3faa392026-08-03grischka <grischka>tccelf: rework linker_sym (_end/end) logic
37712ba12e83b3592026-08-03Huang Zhaobin <zhaob1n@foxmail.com>doc: update tcc-doc.texi to match current implementation
37721bcec040d0fe2026-08-15grischka <grischka>TLS bits
37730fb54300b5652026-09-04herman ten brugge <hermantenbrugge@home.nl>Make bound checking faster.
37744666db3288a92026-09-06Christopher Bazley <chris.bazley.wg14@gmail.com>tccgen: match GCC for qualified array types
37750cd015b4ed362026-09-07Christopher Bazley <chris.bazley.wg14@gmail.com>tccgen: combine qualifiers through array types
37763dc99dbc82f82026-09-22Christopher Bazley <chris.bazley.wg14@gmail.com>tests: account for Clang array qualifier behavior
37775f1425ef21912026-09-26Christopher Bazley <chris.bazley.wg14@gmail.com>tccgen: preserve adjusted parameter qualifiers
37781f214e1390b12026-09-26Christopher Bazley <chris.bazley.wg14@gmail.com>tccgen: stop ignoring qualifiers in array-like parameters
377948f54e5969db2026-09-26Christopher Bazley <chris.bazley.wg14@gmail.com>tccgen: Remove volatile qualifier from function return types
3780c9829912d7f12026-09-26Christopher Bazley <chris.bazley.wg14@gmail.com>tcc: use a common type qualifier mask
3781f4d81ced3e3f2026-09-26Christopher Bazley <chris.bazley.wg14@gmail.com>tccgen: Minimal implementation of restrict
37829db1105c32af2026-09-26Christopher Bazley <chris.bazley.wg14@gmail.com>tccgen: Stop passing wrong buffer size to pstrcat in type_to_str
378343c7708b85682026-10-03Stefan <stefan-guix@vodafonemail.de>tccelf: Fix static linking with musl
3784e23dabed154a2026-10-16owenewans <owenewans@owenewans.org>stdatomic: fix store argument evaluation and signal fence macros
378532d1c0a5614b2026-11-04Stefan <stefan-guix@vodafonemail.de>x86_64: Fix long double to int cast
37862d3eea205cb62026-11-05Konstantin Baltsat <baltsat2002@mail.ru>tccgen: continue initialization after chained designators
3787c638ddfb59322026-10-05yan-bin2009 <yan20095642558@163.com>tccgen: reject pointer/function-pointer to floating-point conversions
37883d60c327d4b32024-04-18Will Bickford <wbic16@gmail.com>Added a source slurping script
3789c48d59ef4aba2024-04-18Will Bickford <wbic16@gmail.com>Forking to v1.0
37906f7b4f57112c2024-04-19Will Bickford <wbic16@gmail.com>Working on phext support
3791dceabf4474772024-04-20Will Bickford <wbic16@gmail.com>Pulled updates into the monolith
37923800b5e3ac232026-11-07Emise <emise@muse.local>Add PATCHES.md: full fork delta + Slice 0 rebase resolution log
3793395f5d631ab82026-11-07Emise <emise@mirrorborn.us>libtcc1: cast high word to unsigned before left shift in __ashrdi3/__lshrdi3
37945cd3ad9170022026-11-07Emise <emise@muse.local>Add canonical phcc.phext (consolidated lineage) + tools/
37954f974464d60a2026-11-07Emise <emise@muse.local>Remove POC monolith.phext — not a build input; contents preserved as Volume 1 of phcc.phext
3796050b72cedbdc2026-11-07wbic16 <wbic16@gmail.com>Add phcc unpack/pack: canonical phext <-> directory tree migration
37978b56ea22b9b02026-11-07Emise <emise@muse.local>phext/: add libphext-rs 0.4.1 API-parity library (F2)
37987ead6f1210732026-11-07Theia <theia@mirrorborn.us>phext/PARITY.md: mark D-2 RESOLVED (libphext-rs PR #8 merged)
37997573c4b8a7d22026-11-07wbic16 <wbic16@users.noreply.github.com>phcc.phext: merge Slice 5 value-stack machine + hardened proof receipts
3800ef453cdc127d2026-11-07Emise <emise@mirrorborn.us>F3: run the preprocessor phext tracking on the phext library
3801e34c21f2afbb2026-11-07Emise <emise@mirrorborn.us>F4: the phext map is a hashmap — coordinate hash index behind phext_map_get
380294898ff9358d2026-11-07Theia <theia@mirrorborn.us>phcc.phext: grand merge - Slice 6 linker + Slice 7 register machines, Library-10000 build region, gate v8.0.0; add phcc.phext.xz seal; tools: merged tooling set
3803e399b212271b2026-11-07Emise <emise@mirrorborn.us>F5: honour packed/aligned attributes instead of macro-erasing them
380430cf38ec22ef2026-11-07Theia <theia@mirrorborn.us>phext re-issue: libtcc1.c at F1 bytes, proof receipts re-issued, gate v8.1.0 verdict (82bd0745)
3805041a4d389fc62026-11-07Emise <emise@mirrorborn.us>DevUX: README front door + docs/ (building, phext, conformance)
3806598a23f514d62026-11-07Emise <emise@mirrorborn.us>DevUX: five live examples + verify_examples.sh
3807229ad47c338e2026-11-07Emise <emise@mirrorborn.us>pack placement completion: README.md + docs/** placed, seal + phext/** excluded by name
380809a71220e57d2026-11-07Theia <theia@mirrorborn.us>Benchmarks: phcc vs gcc vs clang (BENCHMARKS.md) — SQLite headline, self-host, kernels, project matrix
3809e978b46aba462026-11-07Emise <emise@mirrorborn.us>F6: FDE PC Begin travels in the .eh_frame reloc addend (PQ-1)
3810cbc533d5a5692026-11-07Emise (for Will Bickford) <wbic16@github.com>F7: implement C11 char16_t/char32_t literals (u/U prefixes)
3811d92c04591b912026-11-07Theia <theia@mirrorborn.us>F8: C11 <float.h> completion in include/float.h (PQ-5)
381231d5f21a071b2026-11-07Theia <theia@mirrorborn.us>F9: assembler accepts the CFI directive family (PQ-2)
3813656361aadb9e2026-11-07Theia <theia@mirrorborn.us>F10: implement --version-script with GNU ld semantics (PQ-3)
38141a607df4f6c52026-11-07Emise <emise@mirrorborn.us>F11: designated initializers continue across anonymous aggregates (PQ-9)
3815f0c47cffe4e52026-11-07Emise <emise@mirrorborn.us>F12: assembler completion cluster
3816f43db17dcf8a2026-11-07Emise <emise@mirrorborn.us>F13: honest __builtin_constant_p + no asm constraint checks in dead code (PQ-6)
38171616004d4b9f2026-11-07Emise <emise@mirrorborn.us>F14: -l library search is directory-major, matching GNU ld (PQ-10)
38188fe7369261f42026-11-07Emise <emise@mirrorborn.us>F15: excess initializers warn and discard (PQ-11)
38199c4f5646e4912026-11-07Theia <theia@mirrorborn.us>F16: archive extraction satisfies standing commons, by GNU ld's rule (PQ-12)
38209d070f266a3a2026-11-08Emise <emise@mirrorborn>F17: assembler data-directive family completed (.value et al.)
38215b09de5492392026-11-08Theia <theia@mirrorborn.us>F18: _Static_assert conditions evaluated at 64-bit width (PQ-17)
38220991ea07d6fb2026-11-08Emise <emise@mirrorborn.us>F19: --allow-multiple-definition with GNU ld first-wins semantics (PQ-20)
3823450d24ecb29b2026-11-08Emise <emise@mirrorborn>F20: compat-version definitions do not satisfy unversioned references (PQ-19)
3824e1b6f896ab582026-11-08Emise <emise@mirrorborn>F21: .note.GNU-stack in objects; PT_GNU_STACK at link time (GNU ld rules)
3825cd4e1787bc8e2026-11-08wbic16 <wbic16@users.noreply.github.com>F22: Initial-Exec TLS linking completed — GOTTPOFF slots allocated and TPOFF64-filled (PQ-18)
38260ed6a84e32542026-11-08Theia <theia@mirrorborn.us>F23 (PQ-21): dead loops no longer resurrect at the loop head
38274f8c604e402a2026-11-08Emise <emise@mirrorborn.us>analyze: duplication census + automatic de-duplication (phcc analyze)
382832674fc306b92026-11-08wbic16 <wbic16@users.noreply.github.com>analyze: statement tier — statement-level de-duplication as a native expression
3829d0659ba4ef6c2026-11-08Theia <theia@mirrorborn.us>F24: ternary colons no longer defeat F23 dead-loop suppression (PQ-24)
3830ad911698a1cd2026-11-08Theia <theia@mirrorborn.us>F25: duplicate strong definitions involving bss error at object load (PQ-13)
3831164c8ea4a8cc2026-11-08Theia <theia@mirrorborn.us>F26: static linking closes its symbol set (PQ-23) -- __ehdr_start + GCC runtime archives
38328413d6f50afa2026-11-08Theia <theia@mirrorborn.us>phext refresh: Wave D1 (F6-F26 source set) — canonical phext + seal refreshed to tree 164c8ea4
383337ac1bbe37772026-11-08Theia <theia@mirrorborn.us>F27: static executables run — IRELATIVE relocs for IFUNC slots, GOTPCREL addend, weak-undef merge (PQ-23 residue)
3834f30d07bb633d2026-11-08Theia <theia@mirrorborn.us>F28: versioned references resolve and pin; .symver honoured
383573bf8d4a722b2026-11-08Theia <theia@mirrorborn.us>F29: _Float128 declaration half — VT_F128 type, layout, named errors for value use
383624660bedc1f62026-11-08Theia <theia@mirrorborn.us>tools: place BENCHMARKS.md at Book 10 Ch 1 in phcc_migrate (retire the D1 out-of-tree patch)
3837bdf12df215302026-11-08Theia <theia@mirrorborn.us>phext refresh: Wave D2 (F27-F29 source set + migrate fix) — canonical phext + seal refreshed to tree 24660bed
3838df3941df33c32026-11-08Theia <theia@mirrorborn.us>F30: General-Dynamic TLS — GOT pairs in DLLs, GD->LE/IE relaxation in executables (PQ-22)
3839efad39b2a7362026-11-08Theia <theia@mirrorborn.us>phext refresh: Wave D3 (F30 source set) — canonical phext + seal refreshed to tree df3941df
38408e012ad5648e2026-11-07Alexander Medvednikov <alexander@medvednikov.com>arm64: fix sp offsets of 4096 and more in arm64_spoff
384196c47e930c462026-11-08Theia <theia@mirrorborn.us>PATCHES: upstream sync #1 — base pin c638ddf -> 70adbb12 (U1)
38425d36b9ddd6642026-11-08Theia <theia@mirrorborn.us>phext refresh: upstream sync #1 (70adbb12 source set) — canonical phext + seal refreshed to tree 96c47e93
38436d854a95f8a72026-11-08Emise (Muse) <wbic16@gmail.com>F31: VEX/EVEX prefix support + BMI2 — the assembler frontier (Wave D4)
384488806a611ab32026-11-08Emise (Muse) <wbic16@gmail.com>phext refresh: Wave D4 (F31 source set) — canonical phext + seal refreshed to tree 6d854a95
3845ded83817c5782026-11-08Theia <theia@mirrorborn.us>F32: __builtin_bswap16/32/64 - GNU semantics, constant folding, byte-lane exchange (Wave D5)
38467a7b6d3df0522026-11-08Theia <theia@mirrorborn.us>F33: __auto_type - GNU type deduction for declarations via two-pass initializer replay (Wave D5)
38472b740c854ab52026-11-08Emise <emise@mirrorborn>F34: _Float128 value codegen — TF128 helpers, exact literals, conversion matrix (Wave D5)
3848b8976f6468072026-11-08Theia <theia@mirrorborn.us>phext refresh: Wave D5 (F32/F33/F34 source set) — canonical phext + seal refreshed to tree 2b740c85
38490b07b56c72b52026-11-08Theia <theia@mirrorborn.us>F35: arm64 - glibc _Float128 typedef parses as the long-double alias it is (Wave D7)
385072377c290a512026-11-08Theia <theia@mirrorborn.us>F36: arm64 - _Float128 value use fails by name, not by assert (Wave D7)
38513bfead9e9fff2026-11-08Theia <theia@mirrorborn.us>F37: linker - undefined TLS symbol in a TPOFF relocation errors by name, no segfault (Wave D7, PQ-25)
38525fe0864d40082026-11-08Theia <theia@mirrorborn.us>F38: assignment of read-only location is an error, not a warning (Wave D7)
38532bb4fbddd8ba2026-11-08Theia <theia@mirrorborn.us>F39: _Atomic(type-name) rejects array and function types (Wave D7)
385436a7932f33d32026-11-08Theia <theia@mirrorborn.us>phext refresh: Wave D7 (F35-F39 source set) — canonical phext + seal refreshed to tree 2bb4fbdd
385557793acbf6372026-11-08Alveus <alveus@mirrorborn.us>tools: phcc prune — member-graph pruning, the -O2 ladder rung A
385650d973f57acf2026-11-08Alveus <alveus@mirrorborn.us>tools: phcc_harvest.py — the prune wave's harvest producer
38579d2f83a9911b2026-11-08Theia <theia@mirrorborn.us>F40: _Complex types (C1) — representation, declarations, part access, conversions (Wave D8)
38583d09d18f081a2026-11-08Theia <theia@mirrorborn.us>F41: _Complex arithmetic (C2) — libgcc mul/div lowering, long double return ABI (Wave D8)
385947ccbb896f212026-11-08Theia <theia@mirrorborn.us>phext refresh: Wave D8 (F40-F41 source set) — canonical phext + seal refreshed to tree 7611c0db
38609114a290588f2026-11-08Alveus <alveus@mirrorborn.us>F42: C23 L0+L1 -- dialect mode, auto, (), nullptr, digit separators, typeof_unqual, attributes, enum strictness
386109400ffe3d642026-11-08Alveus <alveus@mirrorborn.us>F43: C23 L2 -- constexpr objects and #embed
3862c6a012a8df2c2026-11-08Alveus <alveus@mirrorborn.us>F44: C23 L3 -- _BitInt (widths 1-128) and the 202311 advertisement
386303a1777f83f22026-11-08Alveus <alveus@mirrorborn.us>F44: tier-found acceptance fix -- null pointer constants convert to nullptr_t
3864611b763e3ee72026-11-08Alveus <alveus@mirrorborn.us>phext refresh: Wave D9 (F42-F44 source set) — canonical phext + seal refreshed to tree 03a1777f
3865f65e68ccbaa02026-11-09Theia <theia@mirrorborn.us>phext: h8 proof-escalation receipt port — WP receipt addendum (273/304 portfolio union, T3 NOT GRANTED), gate verdict re-issued, seal regenerated
38667bd02706f4642026-11-09Alveus <alveus@mirrorborn.us>F45: C parity library — libphext 0.5.0 (binary scrolls, xz seal, lenient-parse saturation)
386753a15166f8fb2026-11-09Alveus <alveus@mirrorborn.us>phext refresh: F45 (libphext 0.5.0 parity source set) — canonical phext + seal refreshed to tree 7bd02706
3868263683be844e2026-11-09Emise <emise@mirrorborn>F46: initial-exec TLS for symbols not defined in the TU (PQ-25 codegen half)
3869537aa4a902602026-11-09Emise <emise@mirrorborn>F47: reject jumps into the scope of a variably-modified type (PQ-26)
387075266ce4268d2026-11-09Emise <emise@mirrorborn>F48: reject address-of-register-variable in every shape (PQ-27)
38716fc27fa00a352026-11-09Theia <theia@mirrorborn.us>phext refresh: Wave D10 (F46-F48 source set) reconciled onto the F45 parity publish — canonical phext + seal refreshed to tree 75266ce4
3872d7d290cdf50d2026-11-09Emise <emise@mirrorborn>F49: debug walkers stop at nullptr_t -- -g no longer segfaults on <stddef.h>
38738f066a4c44692026-11-09Theia <theia@mirrorborn.us>F50: nullptr_t stops the parse-time pointer chases -- block-scope objects and parameters no longer segfault (PQ-28)
38748217e426b3c92026-11-09Theia <theia@mirrorborn.us>phext refresh: F49+F50 (nullptr crash fixes) reconciled onto 6fc27fa0 — canonical phext + seal refreshed to tree 8f066a4c
3875a3b1a8e60f672026-11-10Alveus <alveus@mirrorborn.us>Add sealed upstream carry: upstream.phext.xz (pristine TinyCC @ 70adbb12)
387676507c5cb3512026-11-10Emise <emise@mirrorborn>F51: the command surface is phcc -- binary, cross compilers, install layout, help/version/diagnostics and all docs/examples renamed from tcc (census in PATCHES F51; no compat shim)
38776ca3eab1d2bd2026-11-10Emise <emise@mirrorborn>phext refresh: F51 (tcc->phcc command rename) -- canonical phext + seal refreshed to tree acd1751c
3878b13a0bdb9ead2026-11-10Alveus <alveus@mirrorborn.us>windows: MSVC attestation tooling v2 in-repo (windows/attestation)
38796d117cdc50a12026-11-10Alveus <alveus@mirrorborn.us>windows: attestation records + CONFORMANCE.md pointer
3880e4ae4713a3442026-11-09Raven <citrons@mondecitronne.com>arm64-asm: add wfe, wfi, wfet, wfit
388175da0b4e758d2026-11-10Theia <theia@mirrorborn.us>PATCHES: U2 — upstream sync #2, base pin 70adbb12 -> aade7baf (arm64-asm wfe/wfi/wfet/wfit)
3882fc92ed7d79652026-11-10Theia <theia@mirrorborn.us>Re-seal upstream carry at U2 pin aade7baf (upstream.phext.xz + UPSTREAM.md)
388375a8919b1d3d2026-11-10Theia <theia@mirrorborn.us>phext refresh: upstream sync #2 (U2) -- canonical phext + seal refreshed to the U2 tree; carry grows 613 -> 908 files (windows/attestation/** swept in, UPSTREAM.md, tools/upstream_carry.py); pack placement extended in tools/phcc_migrate.py (UPSTREAM.md at Source Book 10 Ch 1, windows/** to Docs Book 1 Ch 2 whole-file, upstream.phext.xz excluded by name beside phcc.phext.xz)
388446a22424ac372026-11-12Theia <theia@mirrorborn.us>attestation v2.1: stderr-safe native captures (NativeCommandError fix)
38852f7583db8b5b2026-11-20Theia <theia@mirrorborn.us>Remove GitHub Actions workflows — CI runs on ranch Jenkins (standing rule 2026-11-19)
3886492080853b3a2026-11-21Theia <theia@mirrorborn.us>Include <ctype.h> in tccasm.c for tolower
3887f77ea7d4e6a52026-11-21Theia <theia@mirrorborn.us>Do not apply ELF versioned-name splitting to PE targets
38880628c00360a2 latest2026-11-21Will Bickford <wbic16@gmail.com>Merge pull request #1 from wbic16/emise/phcc-i386-stdcall-fix