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