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