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