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