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