4 - -MD/-MF (automatically generate dependencies for make)
5 - -pthread option (same as -D_REENTRANT -lpthread) (Henry Kroll III)
6 - -m32/-m64 to re-exec cross compiler (Henry Kroll III)
7 - Mimic all GNU -option forms supported by ld (Kirill Smelkov)
10 - Many improvements for x86-64 target (Shinichiro Hamaji, Michael Matz, grischka)
11 - x86-64 assembler (Frederic Feret)
12 - Many improvements for ARM target (Daniel Glöckner, Thomas Preud'homme)
13 - Support WinCE PE ARM (Timo VJ Lahde)
14 - Support ARM hardfloat calling convention (Thomas Preud'homme)
15 - Support SELinux (Security-Enhanced Linux) (Henry Kroll III)
16 - Support Debian GNU/kFreeBSD kernels (Pierre Chifflier)
17 - Support GNU/Hurd kernels (Thomas Preud'homme)
18 - Support OSX (tcc -run only) (Milutin Jovanovic)
19 - Support multiarch configuration (Thomas Preud'homme)
20 - Support out-of-tree build (Akim Demaille)
23 - C99 variable length arrays (Thomas Preud'homme & Joe Soroka)
24 - Asm labels for variables and functions (Thomas Preud'homme)
25 - STT_GNU_IFUNC (Indirect functions as externals) (Thomas Preud'homme)
26 - More tests (tests2) (Milutin Jovanovic)
30 - first support for x86-64 target (Shinichiro Hamaji)
32 - split tcc.c into tcc.h libtcc.c tccpp.c tccgen.c tcc.c
33 - improved preprocess output with linenumbers and spaces preserved
34 - tcc_relocate now copies code into user buffer
35 - fix bitfields with non-int types and in unions
36 - improve ARM cross-compiling (Daniel Glöckner)
37 - link stabstr sections from multiple objects
38 - better (still limited) support for multiple TCCStates
42 - added verbosity levels -v, -vv, -vvv
43 - Accept standard input as an inputstream (Hanzac Chen)
44 - Support c89 compilers other than gcc (Hanzac Chen)
45 - -soname linker option (Marc Andre Tanner)
46 - Just warn about unknown directives, ignore quotes in #error/#warning
47 - Define __STDC_VERSION__=199901L (477)
48 - Switch to newer tccpe.c (includes support for resources)
49 - Handle backslashes within #include/#error/#warning
50 - Import changesets (part 4) 428,457,460,467: defines for openbsd etc.
51 - Use _WIN32 for a windows hosted tcc and define it for the PE target,
52 otherwise define __unix / __linux (Detlef Riekenberg)
53 - Import changesets (part 3) 409,410: ARM EABI by Daniel Glöckner
54 - Some in-between fixes:
55 TCC -E no longer hangs with macro calls involving newlines.
56 (next_nomacro1 now advances the read-pointer with TOK_LINEFEED)
57 Global cast (int g_i = 1LL;) no longer crashes tcc.
58 (nocode_wanted is initially 1, and only 0 for gen_function)
59 On win32 now tcc.exe finds 'include' & 'lib' even if itself is in 'bin'.
60 (new function w32_tcc_lib_path removes 'bin' if detected)
61 Added quick build batch file for mingw (win32/build-tcc.bat)
62 Last added case label optimization (455) produced wrong code. Reverted.
64 - Import more changesets from Rob Landley's fork (part 2):
65 487: Handle long long constants in gen_opic() (Rob Landley)
66 484: Handle parentheses within __attribute__((...)) (Rob Landley)
67 480: Remove a goto in decl_initializer_alloc (Rob Landley)
68 475: Fix dereferences in inline assembly output (Joshua Phillips)
69 474: Cast ptrs to ints of different sizes correctly (Joshua Phillips)
70 473: Fix size of structs with empty array member (Joshua Phillips)
71 470: No warning for && and || with mixed pointers/integers (Rob Landley)
72 469: Fix symbol visibility problems in the linker (Vincent Pit)
73 468: Allow && and || involving pointer arguments (Rob Landley)
74 455: Optimize case labels with no code in between (Zdenek Pavlas)
75 450: Implement alloca for x86 (grischka)
76 415: Parse unicode escape sequences (Axel Liljencrantz)
77 407: Add a simple va_copy() in stdarg.h (Hasso Tepper)
78 400: Allow typedef names as symbols (Dave Dodge)
80 - Import some changesets from Rob Landley's fork (part 1):
81 462: Use LGPL with bcheck.c and il-gen.c
82 458: Fix global compound literals (in unary: case '&':) (Andrew Johnson)
83 456: Use return code from tcc_output_file in main() (Michael Somos)
84 442: Fix indirections with function pointers (***fn)() (grischka)
85 441: Fix LL left shift in libtcc1.c:__shldi3 (grischka)
86 440: Pass structures and function ptrs through ?: (grischka)
87 439: Keep rvalue in bit assignment (bit2 = bit1 = x) (grischka)
88 438: Degrade nonportable pointer assignment to warning (grischka)
89 437: Call 'saveregs()' before jumping with logical and/or/not (grischka)
90 435: Put local static variables into global memory (grischka)
91 432/434: Cast double and ptr to bool (grischka)
92 420: Zero pad x87 tenbyte long doubles (Felix Nawothnig)
93 417: Make 'sizeof' unsigned (Rob Landley)
94 397: Fix save_reg for longlongs (Daniel Glöckner)
95 396: Fix "invalid relocation entry" problem on ubuntu - (Bernhard Fischer)
97 - ignore AS_NEEDED ld command
98 - mark executable sections as executable when running in memory
99 - added support for win32 wchar_t (Filip Navara)
100 - segment override prefix support (Filip Navara)
101 - normalized slashes in paths (Filip Navara)
102 - windows style fastcall (Filip Navara)
103 - support for empty input register section in asm (Filip Navara)
104 - anonymous union/struct support (Filip Navara)
105 - fixed parsing of function parameters
106 - workaround for function pointers in conditional expressions (Dave Dodge)
107 - initial '-E' option support to use the C preprocessor alone
108 - discard type qualifiers when comparing function parameters (Dave Dodge)
109 - Bug fix: A long long value used as a test expression ignores the
110 upper 32 bits at runtime (Dave Dodge)
111 - fixed multiple concatenation of PPNUM tokens (initial patch by Dave Dodge)
112 - fixed multiple typedef specifiers handling
113 - fixed sign extension in some type conversions (Dave Dodge)
117 - initial PE executable format for windows version (grischka)
118 - '#pragma pack' support (grischka)
119 - '#include_next' support (Bernhard Fischer)
120 - ignore '-pipe' option
121 - added -f[no-]leading-underscore
122 - preprocessor function macro parsing fix (grischka)
126 - simple memory optimisations: kernel compilation is 30% faster
127 - linker symbol definitions fixes
129 - fixed value stack full error
130 - 'packed' attribute support for variables and structure fields
131 - ignore 'const' and 'volatile' in function prototypes
132 - allow '_Bool' in bit fields
136 - ARM target support (Daniel Glöckner)
137 - added '-funsigned-char, '-fsigned-char' and
138 '-Wimplicit-function-declaration'
139 - fixed assignment of const struct in struct
140 - line comment fix (reported by Bertram Felgenhauer)
141 - initial TMS320C67xx target support (TK)
143 - regparm() attribute
144 - many built-in assembler fixes
145 - added '.org', '.fill' and '.previous' assembler directives
146 - '-fno-common' option
147 - '-Ttext' linker option
148 - section alignment fixes
150 - do not generate code for unused inline functions
151 - '-oformat' linker option.
152 - added 'binary' output format.
157 - added '.gnu.linkonce' ELF sections support
158 - fixed libc linking when running in memory (avoid 'stat' function
160 - extended '-run' option to be able to give several arguments to a C
165 - "alacarte" linking (Dave Long)
166 - simpler function call
167 - more strict type checks
168 - added 'const' and 'volatile' support and associated warnings
169 - added -Werror, -Wunsupported, -Wwrite-strings, -Wall.
170 - added __builtin_types_compatible_p() and __builtin_constant_p()
171 - chars support in assembler (Dave Long)
172 - .string, .globl, .section, .text, .data and .bss asm directive
174 - man page generated from tcc-doc.texi
175 - fixed macro argument substitution
176 - fixed zero argument macro parsing
177 - changed license to LGPL
178 - added -rdynamic option support
182 - header fix (time.h)
183 - fixed inline asm without operand case
184 - fixed 'default:' or 'case x:' with '}' after (incorrect C construct accepted
186 - added 'A' inline asm constraint.
191 - tcc doc fixes (Peter Lund)
192 - struct parse fix (signaled by Pedro A. Aranda Gutierrez)
193 - better _Bool lvalue support (signaled by Alex Measday)
194 - function parameters must be converted to pointers (signaled by Neil Brown)
195 - sanitized string and character constant parsing
196 - fixed comment parse (signaled by Damian M Gryski)
197 - fixed macro function bug (signaled by Philippe Ribet)
198 - added configure (initial patch by Mitchell N Charity)
199 - added '-run' and '-v' options (initial patch by vlindos)
200 - added real date report in __DATE__ and __TIME__ macros
204 - added assembler language support
205 - added GCC inline asm() support
206 - fixed multiple variable definitions : uninitialized variables are
207 created as COMMON symbols.
208 - optimized macro processing
209 - added GCC statement expressions support
210 - added GCC local labels support
211 - fixed array declaration in old style function parameters
212 - support casts in static structure initializations
213 - added various __xxx[__] keywords for GCC compatibility
214 - ignore __extension__ GCC in an expression or in a type (still not perfect)
215 - added '? :' GCC extension support
219 - compilation fixes for glibc 2.2, gcc 2.95.3 and gcc 3.2.
220 - FreeBSD compile fixes. Makefile patches still missing (Carl Drougge).
221 - fixed file type guessing if '.' is in the path.
222 - fixed tcc_compile_string()
223 - add a dummy page in ELF files to fix RX/RW accesses (pageexec at
228 - added #warning. error message if invalid preprocessing directive.
229 - added CType structure to ease typing (faster parse).
230 - suppressed secondary hash tables (faster parse).
231 - rewrote parser by optimizing common cases (faster parse).
232 - fixed signed long long comparisons.
233 - fixed 'int a(), b();' declaration case.
234 - fixed structure init without '{}'.
235 - correct alignment support in structures.
236 - empty structures support.
237 - gcc testsuite now supported.
238 - output only warning if implicit integer/pointer conversions.
239 - added static bitfield init.
243 - correct preprocessing token pasting (## operator) in all cases (added
244 preprocessing number token).
245 - fixed long long register spill.
246 - fixed signed long long '>>'.
247 - removed memory leaks.
248 - better error handling : processing can continue on link errors. A
249 custom callback can be added to display error messages. Most
250 errors do not call exit() now.
251 - ignore -O, -W, -m and -f options
252 - added old style function declarations
253 - added GCC __alignof__ support.
254 - added GCC typeof support.
255 - added GCC computed gotos support.
256 - added stack backtrace in runtime error message. Improved runtime
257 error position display.
261 - more fixes for || and && handling.
262 - improved '? :' type handling.
263 - fixed bound checking generation with structures
264 - force '#endif' to be in same file as matching '#if'
265 - #include file optimization with '#ifndef #endif' construct detection
266 - macro handling optimization
267 - added tcc_relocate() and tcc_get_symbol() in libtcc.
271 - stdarg.h fix for double type (thanks to Philippe Ribet).
272 - correct white space characters and added MSDOS newline support.
273 - fixed invalid implicit function call type declaration.
274 - special macros such as __LINE__ are defined if tested with defined().
275 - fixed '!' operator with relocated address.
276 - added symbol + offset relocation (fixes some static variable initializers)
277 - '-l' option can be specified anywhere. '-c' option yields default
278 output name. added '-r' option for relocatable output.
279 - fixed '\nnn' octal parsing.
280 - fixed local extern variables declarations.
284 - fixed lvalue type when saved in local stack.
285 - fixed '#include' syntax when using macros.
287 - removed size limit on strings. Unified string constants handling
288 with variable declarations.
289 - added correct support for '\xX' in wchar_t strings.
290 - added support for bound checking in generated executables
291 - fixed -I include order.
292 - fixed incorrect function displayed in runtime error.
296 - fixed preprocessor expression parsing for #if/#elif.
297 - relocated debug info (.stab section).
298 - relocated bounds info (.bounds section).
299 - fixed cast to char of char constants ('\377' is -1 instead of 255)
300 - fixed implicit cast for unary plus.
301 - strings and '__func__' have now 'char[]' type instead of 'char *'
302 (fixes sizeof() return value).
303 - added __start_xxx and __stop_xxx symbols in linker.
304 - better DLL creation support (option -shared begins to work).
305 - ELF sections and hash tables are resized dynamically.
306 - executables and DLLs are stripped by default.
310 - First version of full ELF linking support (generate objects, static
311 executable, dynamic executable, dynamic libraries). Dynamic library
312 support is not finished (need PIC support in compiler and some
313 patches in symbol exporting).
314 - First version of ELF loader for object (.o) and archive (.a) files.
315 - Support of simple GNU ld scripts (GROUP and FILE commands)
316 - Separated runtime library and bound check code from TCC (smaller
318 - fixed register reload in float compare.
319 - fixed implicit char/short to int casting.
320 - allow array type for address of ('&') operator.
321 - fixed unused || or && result.
322 - added GCC style variadic macro support.
323 - optimized bound checking code for array access.
324 - tcc includes are now in $(prefix)/lib/tcc/include.
325 - more command line options - more consistent handling of multiple
327 - added tcc man page (thanks to Cyril Bouthors).
328 - uClibc Makefile update
329 - converted documentation to texinfo format.
330 - added developper's guide in documentation.
334 - added library API for easy dynamic compilation (see libtcc.h - first
336 - fixed long long register spill bug.
337 - fixed '? :' register spill bug.
341 - added floating point constant propagation (fixes negative floating
342 point constants bug).
346 - uClibc patches (submitted by Alfonso Martone).
347 - error reporting fix
348 - added CONFIG_TCC_BCHECK to get smaller code if needed.
352 - windows port (currently cannot use -g, -b and dll functions).
353 - faster and simpler I/O handling.
354 - '-D' option works in all cases.
355 - preprocessor fixes (#elif and empty macro args)
356 - floating point fixes
357 - first code for CIL generation (does not work yet)
361 - better and smaller code generator.
362 - full ISOC99 64 bit 'long long' support.
363 - full 32 bit 'float', 64 bit 'double' and 96 bit 'long double' support.
365 - added assembly sections support.
366 - even faster startup time by mmaping sections instead of mallocing them.
367 - added GNUC __attribute__ keyword support (currently supports
368 'section' and 'aligned' attributes).
369 - added ELF file output (only usable for debugging now)
370 - added debug symbol generation (STAB format).
371 - added integrated runtime error analysis ('-g' option: print clear
372 run time error messages instead of "Segmentation fault").
373 - added first version of tiny memory and bound checker ('-b' option).
377 - even faster parsing.
378 - various syntax parsing fixes.
379 - fixed external relocation handling for variables or functions pointers.
380 - better function pointers type handling.
381 - can compile multiple files (-i option).
382 - ANSI C bit fields are supported.
383 - beginning of float/double/long double support.
384 - beginning of long long support.
388 - full ISOC99 initializers handling.
390 - structures handle in assignments and as function param or return value.
391 - wide chars and strings.