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