Daniel Glöckner 
								
							 
						 
						
							
							
							
							
								
							
							
								12265da6cd 
								
							 
						 
						
							
							
								
								Runtime lib functions  
							
							 
							
							... 
							
							
							
							Yesterday I felt the urge to change a few things in TinyCC.
This is the first and biggest change of all of them.
- use __aeabi_*divmod functions in ARM EABI to make binaries depend
  solely on standardized library functions
- refactor ARM floating point <-> integer conversion a bit
- rename long long->float and shift library functions to correspond to
  the names used by GCC
- compile more tokens conditionally to reduce the size of TinyCC
The intention is primarily to allow users of the ARM target to use
libgcc (which is usually available as a shared library) instead of
libtcc1 (which can't be compiled for ARM due to lack of an inline
assembler).
Changing the EABI target to use the divmod functions in theory allows
to use it without libtcc1 on any (not necessarily GCC based) ARM EABI
system.
  Daniel 
							
						 
						
							2008-09-12 22:22:36 +02:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								2c6cd08bcc 
								
							 
						 
						
							
							
								
								fix isidnum_table for CH_EOF (-1)  
							
							 
							
							
							
						 
						
							2008-09-12 02:36:05 +02:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								1300cec38c 
								
							 
						 
						
							
							
								
								free_section bugfix  
							
							 
							
							
							
						 
						
							2008-09-12 02:36:01 +02:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								f9bf48d643 
								
							 
						 
						
							
							
								
								release loaded dlls cleanly (Sam K)  
							
							 
							
							
							
						 
						
							2008-05-05 22:40:49 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								96bd8f2b25 
								
							 
						 
						
							
							
								
								enable pe-output from libtcc (Shmuel Zeigerman)  
							
							 
							
							
							
						 
						
							2008-05-05 22:39:43 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								f2698687fb 
								
							 
						 
						
							
							
								
								fix options in C scripts after -run  
							
							 
							
							
							
						 
						
							2008-04-27 18:50:35 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								5247bbc2f0 
								
							 
						 
						
							
							
								
								fix stabstr with linked objects  
							
							 
							
							
							
						 
						
							2008-04-27 18:49:31 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								23594b6980 
								
							 
						 
						
							
							
								
								enable multiple states and fix minor memory leaks  
							
							 
							
							
							
						 
						
							2008-04-27 18:47:35 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								f22e961f80 
								
							 
						 
						
							
							
								
								update manual, changelog  
							
							 
							
							
							
						 
						
							2008-03-31 19:50:58 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								a327c7a552 
								
							 
						 
						
							
							
								
								added verbosity levels (-vv -vvv)  
							
							 
							
							
							
						 
						
							2008-03-31 19:49:14 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								4d9aaacc85 
								
							 
						 
						
							
							
								
								Accept standard input as an inputstream (Hanzac Chen)  
							
							 
							
							
							
						 
						
							2008-03-31 18:42:56 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								9bcc0b970b 
								
							 
						 
						
							
							
								
								Add -soname linker option (Marc Andre Tanner)  
							
							 
							
							
							
						 
						
							2008-03-25 21:04:47 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								6ed868c51c 
								
							 
						 
						
							
							
								
								Enable -B option for library path on win32  
							
							 
							
							
							
						 
						
							2008-03-08 20:00:56 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								34140dd627 
								
							 
						 
						
							
							
								
								Use _WIN32 for a windows hosted tcc and define it for the PE target.  
							
							 
							
							
							
						 
						
							2007-12-13 19:07:19 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								f99d3de221 
								
							 
						 
						
							
							
								
								Import 409,410: ARM EABI by Daniel Glckner  
							
							 
							
							
							
						 
						
							2007-12-04 20:38:09 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									grischka 
								
							 
						 
						
							
							
							
							
								
							
							
								2de1b2d14c 
								
							 
						 
						
							
							
								
								Some in-between fixes (See Changelog for details).  
							
							 
							
							
							
						 
						
							2007-11-25 22:14:35 +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  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								fb2c34f8cd 
								
							 
						 
						
							
							
								
								fixed sign extension in some type conversions (Dave Dodge)  
							
							 
							
							
							
						 
						
							2006-10-28 14:47:39 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								52b7254b9c 
								
							 
						 
						
							
							
								
								fixed multiple typedef specifiers handling  
							
							 
							
							
							
						 
						
							2006-10-28 14:28:02 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								0bea5c7f21 
								
							 
						 
						
							
							
								
								workaround for function pointers in conditional expressions (Dave Dodge)  
							
							 
							
							
							
						 
						
							2006-10-28 14:15:37 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								24a19cc37e 
								
							 
						 
						
							
							
								
								discard type qualifiers when comparing function parameters (Dave Dodge)  
							
							 
							
							
							
						 
						
							2006-10-28 14:13:28 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								3b8cd565be 
								
							 
						 
						
							
							
								
								fixed multiple concatenation of PPNUM tokens (initial patch by Dave Dodge)  
							
							 
							
							
							
						 
						
							2006-10-28 14:05:19 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								200b58dad8 
								
							 
						 
						
							
							
								
								initial implementation of -E option  
							
							 
							
							
							
						 
						
							2006-10-16 19:44:00 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								62c5a5466a 
								
							 
						 
						
							
							
								
								fixed parsing of function parameters  
							
							 
							
							
							
						 
						
							2005-09-03 22:51:34 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								7bc5e51847 
								
							 
						 
						
							
							
								
								anonymous union/struct support (Filip Navara)  
							
							 
							
							
							
						 
						
							2005-09-03 22:33:53 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								e9c64e3f47 
								
							 
						 
						
							
							
								
								windows style fastcall (Filip Navara)  
							
							 
							
							
							
						 
						
							2005-09-03 22:21:22 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								81f957ae09 
								
							 
						 
						
							
							
								
								normalized slashes in paths (Filip Navara)  
							
							 
							
							
							
						 
						
							2005-09-03 22:18:51 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								6f8b8887b1 
								
							 
						 
						
							
							
								
								added support for win32 wchar_t (Filip Navara)  
							
							 
							
							
							
						 
						
							2005-09-03 21:54:47 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								44738b516a 
								
							 
						 
						
							
							
								
								fixed function type check  
							
							 
							
							
							
						 
						
							2005-09-03 21:07:35 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								b0b8ac13ce 
								
							 
						 
						
							
							
								
								mark executable sections as executable when running in memory  
							
							 
							
							
							
						 
						
							2005-09-03 18:31:43 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								4d7eadb2fa 
								
							 
						 
						
							
							
								
								preprocessor function macro parsing fix (grischka) - disabled -fleading-underscore for win32  
							
							 
							
							
							
						 
						
							2005-06-17 22:05:58 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								f6db2edc40 
								
							 
						 
						
							
							
								
								added -f[no-]leading-underscore - '@' symbol for asm  
							
							 
							
							
							
						 
						
							2005-06-15 22:32:29 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								fe9b1f60ce 
								
							 
						 
						
							
							
								
								win32 merge (grischka)  
							
							 
							
							
							
						 
						
							2005-04-17 13:15:54 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								4821702fb4 
								
							 
						 
						
							
							
								
								win32 merge  
							
							 
							
							
							
						 
						
							2005-04-14 23:49:21 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								0bca832c18 
								
							 
						 
						
							
							
								
								#pragma pack support (grischka)  
							
							 
							
							
							
						 
						
							2005-04-13 21:30:51 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								8f2d519203 
								
							 
						 
						
							
							
								
								#include_next support (Bernhard Fischer)  
							
							 
							
							
							
						 
						
							2005-04-10 22:18:53 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								2c538d7a2b 
								
							 
						 
						
							
							
								
								initial PE format support  
							
							 
							
							
							
						 
						
							2005-04-10 21:46:58 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								fc72e41a55 
								
							 
						 
						
							
							
								
								better gcc compatibility (Jon Griffiths)  
							
							 
							
							
							
						 
						
							2004-12-16 22:19:28 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								48c85f1b15 
								
							 
						 
						
							
							
								
								optimisations: hash table for include file search, pool for symbol allocation - sympler token string allocation - '-b' fix with '-run' option  
							
							 
							
							
							
						 
						
							2004-11-07 15:45:19 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								1d0e5e8b01 
								
							 
						 
						
							
							
								
								stack full fix  
							
							 
							
							
							
						 
						
							2004-11-02 21:55:13 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								1e1d3ff687 
								
							 
						 
						
							
							
								
								packed attribute support  
							
							 
							
							
							
						 
						
							2004-10-29 23:55:13 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								736b565766 
								
							 
						 
						
							
							
								
								fixed const and volatile function parameters typing - fixed string parsing when skipping code  
							
							 
							
							
							
						 
						
							2004-10-28 21:14:30 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								6b52984ce4 
								
							 
						 
						
							
							
								
								added _Bool in bit-fields  
							
							 
							
							
							
						 
						
							2004-10-27 21:42:06 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								c9c05ca5f0 
								
							 
						 
						
							
							
								
								copyright update  
							
							 
							
							
							
						 
						
							2004-10-27 21:38:03 +00:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									bellard 
								
							 
						 
						
							
							
							
							
								
							
							
								59c3563827 
								
							 
						 
						
							
							
								
								do not generate code for unused inline functions - fixed long long code gen bug - added --oformat linker option  
							
							 
							
							
							
						 
						
							2004-10-23 22:52:05 +00:00