update
[tinycc.git] / Changelog
blob2f8b7505b5b3ba00b7b7226e4f8608f1f1d89af4
1 version 0.9.19:
3 - "alacarte" linking (Dave Long)
4 - simpler function call
5 - more strict type checks
6 - added 'const' and 'volatile' support and associated warnings
7 - added -Werror, -Wunsupported, -Wwrite-strings, -Wall.
8 - added __builtin_types_compatible_p() and __builtin_constant_p()
9 - chars support in assembler (Dave Long)
10 - .string, .globl, .section, .text, .data and .bss asm directive
11   support (Dave Long)
12 - man page generated from tcc-doc.texi
13 - fixed macro argument substitution
14 - fixed zero argument macro parsing
15 - changed license to LGPL
16 - added -rdynamic option support
18 version 0.9.18:
20 - header fix (time.h)
21 - fixed inline asm without operand case
22 - fixed 'default:' or 'case x:' with '}' after (incorrect C construct accepted
23   by gcc)
24 - added 'A' inline asm constraint.
26 version 0.9.17:
28 - PLT generation fix
29 - tcc doc fixes (Peter Lund)
30 - struct parse fix (signaled by Pedro A. Aranda Gutierrez)
31 - better _Bool lvalue support (signaled by Alex Measday)
32 - function parameters must be converted to pointers (signaled by Neil Brown)
33 - sanitized string and character constant parsing
34 - fixed comment parse (signaled by Damian M Gryski)
35 - fixed macro function bug (signaled by Philippe Ribet)
36 - added configure (initial patch by Mitchell N Charity)
37 - added '-run' and '-v' options (initial patch by vlindos)
38 - added real date report in __DATE__ and __TIME__ macros
40 version 0.9.16:
42 - added assembler language support
43 - added GCC inline asm() support
44 - fixed multiple variable definitions : uninitialized variables are
45   created as COMMON symbols.
46 - optimized macro processing
47 - added GCC statement expressions support
48 - added GCC local labels support
49 - fixed array declaration in old style function parameters
50 - support casts in static structure initializations
51 - added various __xxx[__] keywords for GCC compatibility
52 - ignore __extension__ GCC in an expression or in a type (still not perfect)
53 - added '? :' GCC extension support
55 version 0.9.15:
57 - compilation fixes for glibc 2.2, gcc 2.95.3 and gcc 3.2.
58 - FreeBSD compile fixes. Makefile patches still missing (Carl Drougge).
59 - fixed file type guessing if '.' is in the path.
60 - fixed tcc_compile_string()
61 - add a dummy page in ELF files to fix RX/RW accesses (pageexec at
62   freemail dot hu).
64 version 0.9.14:
66 - added #warning. error message if invalid preprocessing directive.
67 - added CType structure to ease typing (faster parse).
68 - suppressed secondary hash tables (faster parse).
69 - rewrote parser by optimizing common cases (faster parse).
70 - fixed signed long long comparisons.
71 - fixed 'int a(), b();' declaration case.
72 - fixed structure init without '{}'.
73 - correct alignment support in structures.
74 - empty structures support.
75 - gcc testsuite now supported.
76 - output only warning if implicit integer/pointer conversions.
77 - added static bitfield init.
79 version 0.9.13:
81 - correct preprocessing token pasting (## operator) in all cases (added
82   preprocessing number token).
83 - fixed long long register spill.
84 - fixed signed long long '>>'.
85 - removed memory leaks.
86 - better error handling : processing can continue on link errors. A
87   custom callback can be added to display error messages. Most
88   errors do not call exit() now.
89 - ignore -O, -W, -m and -f options
90 - added old style function declarations
91 - added GCC __alignof__ support.
92 - added GCC typeof support.
93 - added GCC computed gotos support.
94 - added stack backtrace in runtime error message. Improved runtime
95   error position display.
97 version 0.9.12:
99 - more fixes for || and && handling.
100 - improved '? :' type handling.
101 - fixed bound checking generation with structures
102 - force '#endif' to be in same file as matching '#if'
103 - #include file optimization with '#ifndef #endif' construct detection
104 - macro handling optimization
105 - added tcc_relocate() and tcc_get_symbol() in libtcc.
107 version 0.9.11:
109 - stdarg.h fix for double type (thanks to Philippe Ribet).
110 - correct white space characters and added MSDOS newline support.
111 - fixed invalid implicit function call type declaration.
112 - special macros such as __LINE__ are defined if tested with defined().
113 - fixed '!' operator with relocated address.
114 - added symbol + offset relocation (fixes some static variable initializers)
115 - '-l' option can be specified anywhere. '-c' option yields default
116   output name. added '-r' option for relocatable output.
117 - fixed '\nnn' octal parsing.
118 - fixed local extern variables declarations.
120 version 0.9.10:
122 - fixed lvalue type when saved in local stack.
123 - fixed '#include' syntax when using macros.
124 - fixed '#line' bug.
125 - removed size limit on strings. Unified string constants handling
126   with variable declarations.
127 - added correct support for '\xX' in wchar_t strings.
128 - added support for bound checking in generated executables
129 - fixed -I include order.
130 - fixed incorrect function displayed in runtime error.
132 version 0.9.9:
134 - fixed preprocessor expression parsing for #if/#elif.
135 - relocated debug info (.stab section).
136 - relocated bounds info (.bounds section).
137 - fixed cast to char of char constants ('\377' is -1 instead of 255)
138 - fixed implicit cast for unary plus.
139 - strings and '__func__' have now 'char[]' type instead of 'char *'
140   (fixes sizeof() return value).
141 - added __start_xxx and __stop_xxx symbols in linker.
142 - better DLL creation support (option -shared begins to work).
143 - ELF sections and hash tables are resized dynamically.
144 - executables and DLLs are stripped by default.
146 version 0.9.8:
148 - First version of full ELF linking support (generate objects, static
149   executable, dynamic executable, dynamic libraries). Dynamic library
150   support is not finished (need PIC support in compiler and some
151   patches in symbol exporting).
152 - First version of ELF loader for object (.o) and archive (.a) files.
153 - Support of simple GNU ld scripts (GROUP and FILE commands)
154 - Separated runtime library and bound check code from TCC (smaller
155   compiler core).
156 - fixed register reload in float compare.
157 - fixed implicit char/short to int casting.
158 - allow array type for address of ('&') operator.
159 - fixed unused || or && result.
160 - added GCC style variadic macro support.
161 - optimized bound checking code for array access.
162 - tcc includes are now in $(prefix)/lib/tcc/include.
163 - more command line options - more consistent handling of multiple
164   input files.
165 - added tcc man page (thanks to Cyril Bouthors).
166 - uClibc Makefile update
167 - converted documentation to texinfo format.
168 - added developper's guide in documentation.
170 version 0.9.7:
172 - added library API for easy dynamic compilation (see libtcc.h - first
173   draft).
174 - fixed long long register spill bug.
175 - fixed '? :' register spill bug.
177 version 0.9.6:
179 - added floating point constant propagation (fixes negative floating
180   point constants bug).
182 version 0.9.5:
184  - uClibc patches (submitted by Alfonso Martone).
185  - error reporting fix
186  - added CONFIG_TCC_BCHECK to get smaller code if needed.
188 version 0.9.4:
190  - windows port (currently cannot use -g, -b and dll functions).
191  - faster and simpler I/O handling.
192  - '-D' option works in all cases.
193  - preprocessor fixes (#elif and empty macro args)
194  - floating point fixes
195  - first code for CIL generation (does not work yet)
197 version 0.9.3:
199  - better and smaller code generator.
200  - full ISOC99 64 bit 'long long' support.
201  - full 32 bit 'float', 64 bit 'double' and 96 bit 'long double' support.
202  - added '-U' option.
203  - added assembly sections support. 
204  - even faster startup time by mmaping sections instead of mallocing them.
205  - added GNUC __attribute__ keyword support (currently supports
206     'section' and 'aligned' attributes).
207  - added ELF file output (only usable for debugging now)
208  - added debug symbol generation (STAB format).
209  - added integrated runtime error analysis ('-g' option: print clear
210    run time error messages instead of "Segmentation fault").
211  - added first version of tiny memory and bound checker ('-b' option).
213 version 0.9.2:
215  - even faster parsing.
216  - various syntax parsing fixes.
217  - fixed external relocation handling for variables or functions pointers.
218  - better function pointers type handling.
219  - can compile multiple files (-i option).
220  - ANSI C bit fields are supported.
221  - beginning of float/double/long double support.
222  - beginning of long long support.
224 version 0.9.1:
226  - full ISOC99 initializers handling.
227  - compound literals.
228  - structures handle in assignments and as function param or return value.
229  - wide chars and strings.
230  - macro bug fix
232 version 0.9:
233  - initial version.