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