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