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