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