Import more changesets from Rob Landley's fork (part 2)
[tinycc.git] / Changelog
blobdaca68c671956d3ee35b9d3d8a44f02f8c0ad34c
1 version 0.9.24:
3 - Import more changesets from Rob Landley's fork (part 2):
4   487: Handle long long constants in gen_opic() (Rob Landley)
5   484: Handle parentheses within __attribute__((...)) (Rob Landley)
6   480: Remove a goto in decl_initializer_alloc (Rob Landley)
7   475: Fix dereferences in inline assembly output (Joshua Phillips)
8   474: Cast ptrs to ints of different sizes correctly (Joshua Phillips)
9   473: Fix size of structs with empty array member (Joshua Phillips)
10   470: No warning for && and || with mixed pointers/integers (Rob Landley)
11   469: Fix symbol visibility problems in the linker (Vincent Pit)
12   468: Allow && and || involving pointer arguments (Rob Landley)
13   455: Optimize case labels with no code in between (Zdenek Pavlas)
14   450: Implement alloca for x86 (grischka)
15   415: Parse unicode escape sequences (Axel Liljencrantz)
16   407: Add a simple va_copy() in stdarg.h (Hasso Tepper)
17   400: Allow typedef names as symbols (Dave Dodge)
19 - Import some changesets from Rob Landley's fork (part 1):
20   462: Use LGPL with bcheck.c and il-gen.c
21   458: Fix global compound literals (in unary: case '&':) (Andrew Johnson)
22   456: Use return code from tcc_output_file in main() (Michael Somos)
23   442: Fix indirections with function pointers (***fn)() (grischka)
24   441: Fix LL left shift in libtcc1.c:__shldi3 (grischka)
25   440: Pass structures and function ptrs through ?: (grischka)
26   439: Keep rvalue in bit assignment (bit2 = bit1 = x) (grischka)
27   438: Degrade nonportable pointer assignment to warning (grischka)
28   437: Call 'saveregs()' before jumping with logical and/or/not (grischka)
29   435: Put local static variables into global memory (grischka)
30   432/434: Cast double and ptr to bool (grischka)
31   420: Zero pad x87 tenbyte long doubles (Felix Nawothnig)
32   417: Make 'sizeof' unsigned (Rob Landley)
33   397: Fix save_reg for longlongs (Daniel Glöckner)
34   396: Fix "invalid relocation entry" problem on ubuntu - (Bernhard Fischer)
36 - ignore AS_NEEDED ld command
37 - mark executable sections as executable when running in memory
38 - added support for win32 wchar_t (Filip Navara)
39 - segment override prefix support (Filip Navara)
40 - normalized slashes in paths (Filip Navara)
41 - windows style fastcall (Filip Navara)
42 - support for empty input register section in asm (Filip Navara)
43 - anonymous union/struct support (Filip Navara)
44 - fixed parsing of function parameters
45 - workaround for function pointers in conditional expressions (Dave Dodge)
46 - initial '-E' option support to use the C preprocessor alone
47 - discard type qualifiers when comparing function parameters (Dave Dodge)
48 - Bug fix: A long long value used as a test expression ignores the
49   upper 32 bits at runtime (Dave Dodge)
50 - fixed multiple concatenation of PPNUM tokens (initial patch by Dave Dodge)
51 - fixed multiple typedef specifiers handling
52 - fixed sign extension in some type conversions (Dave Dodge)
54 version 0.9.23:
56 - initial PE executable format for windows version (grischka)
57 - '#pragma pack' support (grischka)
58 - '#include_next' support (Bernhard Fischer)
59 - ignore '-pipe' option
60 - added -f[no-]leading-underscore
61 - preprocessor function macro parsing fix (grischka)
63 version 0.9.22:
65 - simple memory optimisations: kernel compilation is 30% faster
66 - linker symbol definitions fixes
67 - gcc 3.4 fixes
68 - fixed value stack full error
69 - 'packed' attribute support for variables and structure fields
70 - ignore 'const' and 'volatile' in function prototypes
71 - allow '_Bool' in bit fields
73 version 0.9.21:
75 - ARM target support (Daniel Glöckner)
76 - added '-funsigned-char, '-fsigned-char' and
77   '-Wimplicit-function-declaration'
78 - fixed assignment of const struct in struct
79 - line comment fix (reported by Bertram Felgenhauer)
80 - initial TMS320C67xx target support (TK)
81 - win32 configure
82 - regparm() attribute
83 - many built-in assembler fixes
84 - added '.org', '.fill' and '.previous' assembler directives
85 - '-fno-common' option
86 - '-Ttext' linker option
87 - section alignment fixes
88 - bit fields fixes
89 - do not generate code for unused inline functions
90 - '-oformat' linker option. 
91 - added 'binary' output format.
93 version 0.9.20:
95 - added '-w' option
96 - added '.gnu.linkonce' ELF sections support
97 - fixed libc linking when running in memory (avoid 'stat' function
98   errors).
99 - extended '-run' option to be able to give several arguments to a C
100   script.
102 version 0.9.19:
104 - "alacarte" linking (Dave Long)
105 - simpler function call
106 - more strict type checks
107 - added 'const' and 'volatile' support and associated warnings
108 - added -Werror, -Wunsupported, -Wwrite-strings, -Wall.
109 - added __builtin_types_compatible_p() and __builtin_constant_p()
110 - chars support in assembler (Dave Long)
111 - .string, .globl, .section, .text, .data and .bss asm directive
112   support (Dave Long)
113 - man page generated from tcc-doc.texi
114 - fixed macro argument substitution
115 - fixed zero argument macro parsing
116 - changed license to LGPL
117 - added -rdynamic option support
119 version 0.9.18:
121 - header fix (time.h)
122 - fixed inline asm without operand case
123 - fixed 'default:' or 'case x:' with '}' after (incorrect C construct accepted
124   by gcc)
125 - added 'A' inline asm constraint.
127 version 0.9.17:
129 - PLT generation fix
130 - tcc doc fixes (Peter Lund)
131 - struct parse fix (signaled by Pedro A. Aranda Gutierrez)
132 - better _Bool lvalue support (signaled by Alex Measday)
133 - function parameters must be converted to pointers (signaled by Neil Brown)
134 - sanitized string and character constant parsing
135 - fixed comment parse (signaled by Damian M Gryski)
136 - fixed macro function bug (signaled by Philippe Ribet)
137 - added configure (initial patch by Mitchell N Charity)
138 - added '-run' and '-v' options (initial patch by vlindos)
139 - added real date report in __DATE__ and __TIME__ macros
141 version 0.9.16:
143 - added assembler language support
144 - added GCC inline asm() support
145 - fixed multiple variable definitions : uninitialized variables are
146   created as COMMON symbols.
147 - optimized macro processing
148 - added GCC statement expressions support
149 - added GCC local labels support
150 - fixed array declaration in old style function parameters
151 - support casts in static structure initializations
152 - added various __xxx[__] keywords for GCC compatibility
153 - ignore __extension__ GCC in an expression or in a type (still not perfect)
154 - added '? :' GCC extension support
156 version 0.9.15:
158 - compilation fixes for glibc 2.2, gcc 2.95.3 and gcc 3.2.
159 - FreeBSD compile fixes. Makefile patches still missing (Carl Drougge).
160 - fixed file type guessing if '.' is in the path.
161 - fixed tcc_compile_string()
162 - add a dummy page in ELF files to fix RX/RW accesses (pageexec at
163   freemail dot hu).
165 version 0.9.14:
167 - added #warning. error message if invalid preprocessing directive.
168 - added CType structure to ease typing (faster parse).
169 - suppressed secondary hash tables (faster parse).
170 - rewrote parser by optimizing common cases (faster parse).
171 - fixed signed long long comparisons.
172 - fixed 'int a(), b();' declaration case.
173 - fixed structure init without '{}'.
174 - correct alignment support in structures.
175 - empty structures support.
176 - gcc testsuite now supported.
177 - output only warning if implicit integer/pointer conversions.
178 - added static bitfield init.
180 version 0.9.13:
182 - correct preprocessing token pasting (## operator) in all cases (added
183   preprocessing number token).
184 - fixed long long register spill.
185 - fixed signed long long '>>'.
186 - removed memory leaks.
187 - better error handling : processing can continue on link errors. A
188   custom callback can be added to display error messages. Most
189   errors do not call exit() now.
190 - ignore -O, -W, -m and -f options
191 - added old style function declarations
192 - added GCC __alignof__ support.
193 - added GCC typeof support.
194 - added GCC computed gotos support.
195 - added stack backtrace in runtime error message. Improved runtime
196   error position display.
198 version 0.9.12:
200 - more fixes for || and && handling.
201 - improved '? :' type handling.
202 - fixed bound checking generation with structures
203 - force '#endif' to be in same file as matching '#if'
204 - #include file optimization with '#ifndef #endif' construct detection
205 - macro handling optimization
206 - added tcc_relocate() and tcc_get_symbol() in libtcc.
208 version 0.9.11:
210 - stdarg.h fix for double type (thanks to Philippe Ribet).
211 - correct white space characters and added MSDOS newline support.
212 - fixed invalid implicit function call type declaration.
213 - special macros such as __LINE__ are defined if tested with defined().
214 - fixed '!' operator with relocated address.
215 - added symbol + offset relocation (fixes some static variable initializers)
216 - '-l' option can be specified anywhere. '-c' option yields default
217   output name. added '-r' option for relocatable output.
218 - fixed '\nnn' octal parsing.
219 - fixed local extern variables declarations.
221 version 0.9.10:
223 - fixed lvalue type when saved in local stack.
224 - fixed '#include' syntax when using macros.
225 - fixed '#line' bug.
226 - removed size limit on strings. Unified string constants handling
227   with variable declarations.
228 - added correct support for '\xX' in wchar_t strings.
229 - added support for bound checking in generated executables
230 - fixed -I include order.
231 - fixed incorrect function displayed in runtime error.
233 version 0.9.9:
235 - fixed preprocessor expression parsing for #if/#elif.
236 - relocated debug info (.stab section).
237 - relocated bounds info (.bounds section).
238 - fixed cast to char of char constants ('\377' is -1 instead of 255)
239 - fixed implicit cast for unary plus.
240 - strings and '__func__' have now 'char[]' type instead of 'char *'
241   (fixes sizeof() return value).
242 - added __start_xxx and __stop_xxx symbols in linker.
243 - better DLL creation support (option -shared begins to work).
244 - ELF sections and hash tables are resized dynamically.
245 - executables and DLLs are stripped by default.
247 version 0.9.8:
249 - First version of full ELF linking support (generate objects, static
250   executable, dynamic executable, dynamic libraries). Dynamic library
251   support is not finished (need PIC support in compiler and some
252   patches in symbol exporting).
253 - First version of ELF loader for object (.o) and archive (.a) files.
254 - Support of simple GNU ld scripts (GROUP and FILE commands)
255 - Separated runtime library and bound check code from TCC (smaller
256   compiler core).
257 - fixed register reload in float compare.
258 - fixed implicit char/short to int casting.
259 - allow array type for address of ('&') operator.
260 - fixed unused || or && result.
261 - added GCC style variadic macro support.
262 - optimized bound checking code for array access.
263 - tcc includes are now in $(prefix)/lib/tcc/include.
264 - more command line options - more consistent handling of multiple
265   input files.
266 - added tcc man page (thanks to Cyril Bouthors).
267 - uClibc Makefile update
268 - converted documentation to texinfo format.
269 - added developper's guide in documentation.
271 version 0.9.7:
273 - added library API for easy dynamic compilation (see libtcc.h - first
274   draft).
275 - fixed long long register spill bug.
276 - fixed '? :' register spill bug.
278 version 0.9.6:
280 - added floating point constant propagation (fixes negative floating
281   point constants bug).
283 version 0.9.5:
285  - uClibc patches (submitted by Alfonso Martone).
286  - error reporting fix
287  - added CONFIG_TCC_BCHECK to get smaller code if needed.
289 version 0.9.4:
291  - windows port (currently cannot use -g, -b and dll functions).
292  - faster and simpler I/O handling.
293  - '-D' option works in all cases.
294  - preprocessor fixes (#elif and empty macro args)
295  - floating point fixes
296  - first code for CIL generation (does not work yet)
298 version 0.9.3:
300  - better and smaller code generator.
301  - full ISOC99 64 bit 'long long' support.
302  - full 32 bit 'float', 64 bit 'double' and 96 bit 'long double' support.
303  - added '-U' option.
304  - added assembly sections support. 
305  - even faster startup time by mmaping sections instead of mallocing them.
306  - added GNUC __attribute__ keyword support (currently supports
307     'section' and 'aligned' attributes).
308  - added ELF file output (only usable for debugging now)
309  - added debug symbol generation (STAB format).
310  - added integrated runtime error analysis ('-g' option: print clear
311    run time error messages instead of "Segmentation fault").
312  - added first version of tiny memory and bound checker ('-b' option).
314 version 0.9.2:
316  - even faster parsing.
317  - various syntax parsing fixes.
318  - fixed external relocation handling for variables or functions pointers.
319  - better function pointers type handling.
320  - can compile multiple files (-i option).
321  - ANSI C bit fields are supported.
322  - beginning of float/double/long double support.
323  - beginning of long long support.
325 version 0.9.1:
327  - full ISOC99 initializers handling.
328  - compound literals.
329  - structures handle in assignments and as function param or return value.
330  - wide chars and strings.
331  - macro bug fix
333 version 0.9:
334  - initial version.