gus knight 
								
							 
						 
						
							
							
							
							
								
							
							
								89ad24e7d6 
								
							 
						 
						
							
							
								
								Revert all of my changes to directories & codingstyle.  
							
							 
							
							
							
						 
						
							2015-07-29 16:57:12 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									gus knight 
								
							 
						 
						
							
							
							
							
								
							
							
								47e06c6d4e 
								
							 
						 
						
							
							
								
								Reorganize the source tree.  
							
							 
							
							... 
							
							
							
							* Documentation is now in "docs".
 * Source code is now in "src".
 * Misc. fixes here and there so that everything still works.
I think I got everything in this commit, but I only tested this
on Linux (Make) and Windows (CMake), so I might've messed
something up on other platforms... 
							
						 
						
							2015-07-27 16:03:25 -04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Edmund Grimley Evans 
								
							 
						 
						
							
							
							
							
								
							
							
								aa812e8745 
								
							 
						 
						
							
							
								
								Convert some lines from ISO-8859-1 to UTF-8.  
							
							 
							
							... 
							
							
							
							perl -i -pe 'use Text::Iconv;
$c1 = Text::Iconv->new("utf-8", "utf-8");
$c2 = Text::Iconv->new("iso-8859-1", "utf-8");
if (!$c1->convert($_)) { $_ = $c2->convert($_); }' \
`find * -type f` 
							
						 
						
							2015-03-11 07:30:03 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								01cf514e59 
								
							 
						 
						
							
							
								
								Update Changelog from git changelog entries  
							
							 
							
							
							
						 
						
							2014-03-31 19:42:42 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								fdc31e152b 
								
							 
						 
						
							
							
								
								Update Changelog from git changelog entries  
							
							 
							
							
							
						 
						
							2014-03-30 12:35:22 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								b0b5165d16 
								
							 
						 
						
							
							
								
								Def signedness != signed != unsigned for char  
							
							 
							
							... 
							
							
							
							When checking for exact compatibility between types (such as in
__builtin_types_compatible_p) consider the case of default signedness to
be incompatible with both of the explicit signedness for char. That is,
char is incompatible with signed char *and* unsigned char, no matter
what the default signedness for char is. 
							
						 
						
							2014-02-06 21:40:22 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								e571850d79 
								
							 
						 
						
							
							
								
								Add support of Thumb to ARM branch relocation  
							
							 
							
							
							
						 
						
							2014-02-06 21:38:24 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								17314a1fb3 
								
							 
						 
						
							
							
								
								Fix parameter passing of long long bitfield  
							
							 
							
							
							
						 
						
							2014-02-04 20:55:24 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								5cbe03b9c4 
								
							 
						 
						
							
							
								
								Move result of itof double conv back to VFP reg  
							
							 
							
							... 
							
							
							
							EABI functions to convert an int to a double register take the integer
value in core registers and also give the result in core registers.
It is thus necessary to move the result back to VFP register after the
function call. This only affected integer to double conversion because
integer to float conversion used a VFP instruction to do the conversion
and this obviously left the result in VFP register. Note that the
behavior is left untouched for !EABI as the correct behavior in this
case is unknown to the author of this patch. 
							
						 
						
							2014-02-01 14:25:13 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								b6247d1f3c 
								
							 
						 
						
							
							
								
								Add support for runtime selection of float ABI  
							
							 
							
							
							
						 
						
							2014-01-08 15:00:52 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								c634c797c5 
								
							 
						 
						
							
							
								
								Update Changelog from git changelog entries  
							
							 
							
							
							
						 
						
							2014-01-04 21:10:05 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								e946c3583f 
								
							 
						 
						
							
							
								
								Add support for KfreeBSD 64bits  
							
							 
							
							
							
						 
						
							2013-02-18 11:42:49 +01:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								05108a3b0a 
								
							 
						 
						
							
							
								
								libtcc: new LIBTCCAPI tcc_set_options(TCCState*, const char*str)  
							
							 
							
							... 
							
							
							
							This replaces       -> use instead:
-----------------------------------
- tcc_set_linker    -> tcc_set_options(s, "-Wl,...");
- tcc_set_warning   -> tcc_set_options(s, "-W...");
- tcc_enable_debug  -> tcc_set_options(s, "-g");
parse_args is moved to libtcc.c (now tcc_parse_args).
Also some cleanups:
- reorder TCCState members
- add some comments here and there
- do not use argv's directly, make string copies
- use const char* in tcc_set_linker
- tccpe: use fd instead of fp
tested with -D MEM_DEBUG: 0 bytes left 
							
						 
						
							2013-02-12 19:13:28 +01:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								913cd6270b 
								
							 
						 
						
							
							
								
								Changelog: cleanup  
							
							 
							
							
							
						 
						
							2013-01-30 18:50:02 +01:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								5fa135f9eb 
								
							 
						 
						
							
							
								
								Changelog update  
							
							 
							
							
							
						 
						
							2013-01-30 17:13:40 +01:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								01e1eecdbe 
								
							 
						 
						
							
							
								
								Update Changelog  
							
							 
							
							
							
						 
						
							2013-01-30 17:07:18 +01:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								7f6095bfec 
								
							 
						 
						
							
							
								
								Add support for arm hardfloat calling convention  
							
							 
							
							... 
							
							
							
							See Procedure Call Standard for the ARM Architecture (AAPCS) for more
details. 
							
						 
						
							2012-06-05 23:09:55 +02:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								330d2ee0fa 
								
							 
						 
						
							
							
								
								Update Changelog  
							
							 
							
							... 
							
							
							
							* Mention the various ARM improvement
* Make changelog consistent with regards to initial capital letters
* Fix credits for VLA
* Fix entry about asm label (variable are also supported) 
							
						 
						
							2011-05-17 23:40:49 +02:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Joe Soroka 
								
							 
						 
						
							
							
							
							
								
							
							
								ace0f7f259 
								
							 
						 
						
							
							
								
								re-apply VLA by Thomas Preud'homme  
							
							 
							
							
							
						 
						
							2011-04-06 09:17:03 -07:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								db560e9439 
								
							 
						 
						
							
							
								
								Revert "Implement C99 Variable Length Arrays"  
							
							 
							
							... 
							
							
							
							This reverts commit a5a50eaafe . 
							
						 
						
							2011-02-05 02:33:46 +01:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								a5a50eaafe 
								
							 
						 
						
							
							
								
								Implement C99 Variable Length Arrays  
							
							 
							
							... 
							
							
							
							Implement C99 Variable Length Arrays in tinycc:
- Support VLA with multiple level (nested vla)
- Update documentation with regards to VT_VLA
- Add a testsuite in tcctest.c 
							
						 
						
							2011-02-04 02:22:25 +01:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Preud'homme 
								
							 
						 
						
							
							
							
							
								
							
							
								d35a3ac375 
								
							 
						 
						
							
							
								
								Correct Changelog wrt. to fix attribution  
							
							 
							
							... 
							
							
							
							Correctly attribute the patch bringing support for Debian GNU/kFreeBSD
kernels to Pierre Chifflier. 
							
						 
						
							2011-02-04 02:22:15 +01:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Henry Kroll III 
								
							 
						 
						
							
							
							
							
								
							
							
								c5d3ce684a 
								
							 
						 
						
							
							
								
								Changelog: document some of the recent changes  
							
							 
							
							
							
						 
						
							2010-12-02 14:41:26 -08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kirill Smelkov 
								
							 
						 
						
							
							
							
							
								
							
							
								0c928da96d 
								
							 
						 
						
							
							
								
								tcc: Draft suppoprt for -MD/-MF options  
							
							 
							
							... 
							
							
							
							In build systems, this is used to automatically collect target
dependencies, e.g.
    ---- 8< (hello.c) ----
    #include "hello.h"
    #include <stdio.h>
    int main()
    {
        printf("Hello World!\n");
        return 0;
    }
$ tcc -MD -c hello.c    # -> hello.o, hello.d
$ cat hello.d
hello.o : \
        hello.c \
        hello.h \
        /usr/include/stdio.h \
        /usr/include/features.h \
        /usr/include/bits/predefs.h \
        /usr/include/sys/cdefs.h \
        /usr/include/bits/wordsize.h \
        /usr/include/gnu/stubs.h \
        /usr/include/bits/wordsize.h \
        /usr/include/gnu/stubs-32.h \
        /home/kirr/local/tcc/lib/tcc/include/stddef.h \
        /usr/include/bits/types.h \
        /usr/include/bits/wordsize.h \
        /usr/include/bits/typesizes.h \
        /usr/include/libio.h \
        /usr/include/_G_config.h \
        /usr/include/wchar.h \
        /home/kirr/local/tcc/lib/tcc/include/stdarg.h \
        /usr/include/bits/stdio_lim.h \
        /usr/include/bits/sys_errlist.h \
NOTE: gcc supports -MD only for .c -> .o, but in tcc, we generate
dependencies for whatever action is being taken. E.g. for .c -> exe, the
result will be:
$ tcc -MD -o hello hello.c  # -> hello, hello.d
hello: \
        /usr/lib/crt1.o \
        /usr/lib/crti.o \
        hello.c \
        hello.h \
        /usr/include/stdio.h \
        /usr/include/features.h \
        /usr/include/bits/predefs.h \
        /usr/include/sys/cdefs.h \
        /usr/include/bits/wordsize.h \
        /usr/include/gnu/stubs.h \
        /usr/include/bits/wordsize.h \
        /usr/include/gnu/stubs-32.h \
        /home/kirr/local/tcc/lib/tcc/include/stddef.h \
        /usr/include/bits/types.h \
        /usr/include/bits/wordsize.h \
        /usr/include/bits/typesizes.h \
        /usr/include/libio.h \
        /usr/include/_G_config.h \
        /usr/include/wchar.h \
        /home/kirr/local/tcc/lib/tcc/include/stdarg.h \
        /usr/include/bits/stdio_lim.h \
        /usr/include/bits/sys_errlist.h \
        /usr/lib/libc.so \
        /lib/libc.so.6 \
        /usr/lib/ld-linux.so.2 \
        /lib/ld-linux.so.2 \
        /usr/lib/libc_nonshared.a \
        /lib/libc.so.6 \
        /usr/lib/libc_nonshared.a \
        /home/kirr/local/tcc/lib/tcc/libtcc1.a \
        /usr/lib/crtn.o \
So tcc dependency generator is a bit more clever than one used in gcc :)
Also, I've updated TODO and Changelog (in not-yet-released section).
v2:
(Taking inputs from grischka and me myself)
- put code to generate deps file into a function.
- used tcc_fileextension() instead of open-coding
- generate deps only when compilation/preprocessing was successful
v3:
- use pstrcpy instead of snprintf(buf, sizeof(buf), "%s", ...) 
							
						 
						
							2010-06-21 20:49:02 +04:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								68310299b6 
								
							 
						 
						
							
							
								
								ulibc: #define TCC_UCLIBC and load elf_interp  
							
							 
							
							
							
						 
						
							2009-05-16 22:29:40 +02:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								bf8d8f5f3e 
								
							 
						 
						
							
							
								
								update Changelog, bump version: 0.9.25  
							
							 
							
							
							
						 
						
							2009-05-11 19:01:26 +02:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								7f51aa13e7 
								
							 
						 
						
							
							
								
								update changelog  
							
							 
							
							
							
						 
						
							2008-09-15 00:12:10 +02:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								f22e961f80 
								
							 
						 
						
							
							
								
								update manual, changelog  
							
							 
							
							
							
						 
						
							2008-03-31 19:50:58 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								3667408a57 
								
							 
						 
						
							
							
								
								Just warn about unknown directives, define __STDC_VERSION__=199901L  
							
							 
							
							
							
						 
						
							2008-01-16 20:16:35 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								5342b32eef 
								
							 
						 
						
							
							
								
								Switch to newer tccpe.c (includes support for resources)  
							
							 
							
							
							
						 
						
							2007-12-19 17:36:42 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								adb1456472 
								
							 
						 
						
							
							
								
								Handle backslashes within #include, #error, #warning  
							
							 
							
							
							
						 
						
							2007-12-17 19:35:15 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								6c96c41ee4 
								
							 
						 
						
							
							
								
								Import changesets (part 4) 428,457,460,467: defines for openbsd etc.  
							
							 
							
							
							
						 
						
							2007-12-16 18:24:44 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								f99d3de221 
								
							 
						 
						
							
							
								
								Import 409,410: ARM EABI by Daniel Glöckner  
							
							 
							
							
							
						 
						
							2007-12-04 20:38:09 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								2bcb964694 
								
							 
						 
						
							
							
								
								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). 
							
						 
						
							2007-11-25 22:13:08 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								d778bde7f9 
								
							 
						 
						
							
							
								
								Import more changesets from Rob Landley's fork (part 2)  
							
							 
							
							
							
						 
						
							2007-11-21 17:16:31 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								54bf8c0556 
								
							 
						 
						
							
							
								
								Import some changesets from Rob Landley's fork (part 1)  
							
							 
							
							
							
						 
						
							2007-11-14 17:34:30 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								2bcc187b1b 
								
							 
						 
						
							
							
								
								Fix 'invalid relocation entry' problem on ubuntu - from Bernhard Fischer  
							
							 
							
							
							
						 
						
							2007-10-30 15:13:21 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								8b0c4c6582 
								
							 
						 
						
							
							
								
								update  
							
							 
							
							
							
						 
						
							2006-10-28 14:47:46 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								6d66b5a971 
								
							 
						 
						
							
							
								
								update  
							
							 
							
							
							
						 
						
							2005-09-04 09:18:26 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								16559cd60c 
								
							 
						 
						
							
							
								
								update  
							
							 
							
							
							
						 
						
							2005-06-17 22:07:03 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								0c7f0ed312 
								
							 
						 
						
							
							
								
								added -f[no-]leading-underscore  
							
							 
							
							
							
						 
						
							2005-06-15 22:32:10 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								ef156f0c44 
								
							 
						 
						
							
							
								
								update  
							
							 
							
							
							
						 
						
							2005-04-13 21:36:43 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								1c1919072b 
								
							 
						 
						
							
							
								
								update  
							
							 
							
							
							
						 
						
							2004-11-07 15:51:57 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								bb07bf31aa 
								
							 
						 
						
							
							
								
								update  
							
							 
							
							
							
						 
						
							2004-10-23 22:52:58 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								807321efba 
								
							 
						 
						
							
							
								
								update  
							
							 
							
							
							
						 
						
							2004-10-18 00:20:41 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								13affef3f1 
								
							 
						 
						
							
							
								
								win32 configure  
							
							 
							
							
							
						 
						
							2004-10-07 21:11:43 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								ec7d36326d 
								
							 
						 
						
							
							
								
								C67 COFF executable format support (TK)  
							
							 
							
							
							
						 
						
							2004-10-05 22:33:55 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								79c72b2419 
								
							 
						 
						
							
							
								
								initial TMS320C67xx support (TK)  
							
							 
							
							
							
						 
						
							2004-10-04 21:57:35 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								c1265d1616 
								
							 
						 
						
							
							
								
								update  
							
							 
							
							
							
						 
						
							2004-10-02 13:50:47 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								7a5123a770 
								
							 
						 
						
							
							
								
								update  
							
							 
							
							
							
						 
						
							2003-10-14 22:22:54 +00:00