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