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