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