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