update
[tinycc.git] / Changelog
blob1e735871f5860488795ab207dfadbc826f64fbaa
1 version 0.9.17:
3 - PLT generation fix
4 - tcc doc fixes (Peter Lund)
5 - struct parse fix (signaled by Pedro A. Aranda Gutierrez)
6 - better _Bool lvalue support (signaled by Alex Measday)
7 - function parameters must be converted to pointers (signaled by Neil Brown)
8 - sanitized string and character constant parsing
9 - fixed comment parse (signaled by Damian M Gryski)
11 version 0.9.16:
13 - added assembler language support
14 - added GCC inline asm() support
15 - fixed multiple variable definitions : uninitialized variables are
16   created as COMMON symbols.
17 - optimized macro processing
18 - added GCC statement expressions support
19 - added GCC local labels support
20 - fixed array declaration in old style function parameters
21 - support casts in static structure initializations
22 - added various __xxx[__] keywords for GCC compatibility
23 - ignore __extension__ GCC in an expression or in a type (still not perfect)
24 - added '? :' GCC extension support
26 version 0.9.15:
28 - compilation fixes for glibc 2.2, gcc 2.95.3 and gcc 3.2.
29 - FreeBSD compile fixes. Makefile patches still missing (Carl Drougge).
30 - fixed file type guessing if '.' is in the path.
31 - fixed tcc_compile_string()
32 - add a dummy page in ELF files to fix RX/RW accesses (pageexec at
33   freemail dot hu).
35 version 0.9.14:
37 - added #warning. error message if invalid preprocessing directive.
38 - added CType structure to ease typing (faster parse).
39 - suppressed secondary hash tables (faster parse).
40 - rewrote parser by optimizing common cases (faster parse).
41 - fixed signed long long comparisons.
42 - fixed 'int a(), b();' declaration case.
43 - fixed structure init without '{}'.
44 - correct alignment support in structures.
45 - empty structures support.
46 - gcc testsuite now supported.
47 - output only warning if implicit integer/pointer conversions.
48 - added static bitfield init.
50 version 0.9.13:
52 - correct preprocessing token pasting (## operator) in all cases (added
53   preprocessing number token).
54 - fixed long long register spill.
55 - fixed signed long long '>>'.
56 - removed memory leaks.
57 - better error handling : processing can continue on link errors. A
58   custom callback can be added to display error messages. Most
59   errors do not call exit() now.
60 - ignore -O, -W, -m and -f options
61 - added old style function declarations
62 - added GCC __alignof__ support.
63 - added GCC typeof support.
64 - added GCC computed gotos support.
65 - added stack backtrace in runtime error message. Improved runtime
66   error position display.
68 version 0.9.12:
70 - more fixes for || and && handling.
71 - improved '? :' type handling.
72 - fixed bound checking generation with structures
73 - force '#endif' to be in same file as matching '#if'
74 - #include file optimization with '#ifndef #endif' construct detection
75 - macro handling optimization
76 - added tcc_relocate() and tcc_get_symbol() in libtcc.
78 version 0.9.11:
80 - stdarg.h fix for double type (thanks to Philippe Ribet).
81 - correct white space characters and added MSDOS newline support.
82 - fixed invalid implicit function call type declaration.
83 - special macros such as __LINE__ are defined if tested with defined().
84 - fixed '!' operator with relocated address.
85 - added symbol + offset relocation (fixes some static variable initializers)
86 - '-l' option can be specified anywhere. '-c' option yields default
87   output name. added '-r' option for relocatable output.
88 - fixed '\nnn' octal parsing.
89 - fixed local extern variables declarations.
91 version 0.9.10:
93 - fixed lvalue type when saved in local stack.
94 - fixed '#include' syntax when using macros.
95 - fixed '#line' bug.
96 - removed size limit on strings. Unified string constants handling
97   with variable declarations.
98 - added correct support for '\xX' in wchar_t strings.
99 - added support for bound checking in generated executables
100 - fixed -I include order.
101 - fixed incorrect function displayed in runtime error.
103 version 0.9.9:
105 - fixed preprocessor expression parsing for #if/#elif.
106 - relocated debug info (.stab section).
107 - relocated bounds info (.bounds section).
108 - fixed cast to char of char constants ('\377' is -1 instead of 255)
109 - fixed implicit cast for unary plus.
110 - strings and '__func__' have now 'char[]' type instead of 'char *'
111   (fixes sizeof() return value).
112 - added __start_xxx and __stop_xxx symbols in linker.
113 - better DLL creation support (option -shared begins to work).
114 - ELF sections and hash tables are resized dynamically.
115 - executables and DLLs are stripped by default.
117 version 0.9.8:
119 - First version of full ELF linking support (generate objects, static
120   executable, dynamic executable, dynamic libraries). Dynamic library
121   support is not finished (need PIC support in compiler and some
122   patches in symbol exporting).
123 - First version of ELF loader for object (.o) and archive (.a) files.
124 - Support of simple GNU ld scripts (GROUP and FILE commands)
125 - Separated runtime library and bound check code from TCC (smaller
126   compiler core).
127 - fixed register reload in float compare.
128 - fixed implicit char/short to int casting.
129 - allow array type for address of ('&') operator.
130 - fixed unused || or && result.
131 - added GCC style variadic macro support.
132 - optimized bound checking code for array access.
133 - tcc includes are now in $(prefix)/lib/tcc/include.
134 - more command line options - more consistent handling of multiple
135   input files.
136 - added tcc man page (thanks to Cyril Bouthors).
137 - uClibc Makefile update
138 - converted documentation to texinfo format.
139 - added developper's guide in documentation.
141 version 0.9.7:
143 - added library API for easy dynamic compilation (see libtcc.h - first
144   draft).
145 - fixed long long register spill bug.
146 - fixed '? :' register spill bug.
148 version 0.9.6:
150 - added floating point constant propagation (fixes negative floating
151   point constants bug).
153 version 0.9.5:
155  - uClibc patches (submitted by Alfonso Martone).
156  - error reporting fix
157  - added CONFIG_TCC_BCHECK to get smaller code if needed.
159 version 0.9.4:
161  - windows port (currently cannot use -g, -b and dll functions).
162  - faster and simpler I/O handling.
163  - '-D' option works in all cases.
164  - preprocessor fixes (#elif and empty macro args)
165  - floating point fixes
166  - first code for CIL generation (does not work yet)
168 version 0.9.3:
170  - better and smaller code generator.
171  - full ISOC99 64 bit 'long long' support.
172  - full 32 bit 'float', 64 bit 'double' and 96 bit 'long double' support.
173  - added '-U' option.
174  - added assembly sections support. 
175  - even faster startup time by mmaping sections instead of mallocing them.
176  - added GNUC __attribute__ keyword support (currently supports
177     'section' and 'aligned' attributes).
178  - added ELF file output (only usable for debugging now)
179  - added debug symbol generation (STAB format).
180  - added integrated runtime error analysis ('-g' option: print clear
181    run time error messages instead of "Segmentation fault").
182  - added first version of tiny memory and bound checker ('-b' option).
184 version 0.9.2:
186  - even faster parsing.
187  - various syntax parsing fixes.
188  - fixed external relocation handling for variables or functions pointers.
189  - better function pointers type handling.
190  - can compile multiple files (-i option).
191  - ANSI C bit fields are supported.
192  - beginning of float/double/long double support.
193  - beginning of long long support.
195 version 0.9.1:
197  - full ISOC99 initializers handling.
198  - compound literals.
199  - structures handle in assignments and as function param or return value.
200  - wide chars and strings.
201  - macro bug fix
203 version 0.9:
204  - initial version.