| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | avoid "decl after statement" please | grischka | 2013-04-30 | 1 | -2/+5 | |
| | | | | | for compiling tcc with msc | |||||
| * | Improved variable length array support. | James Lyon | 2013-04-27 | 1 | -0/+39 | |
| | | | | | | | | | | | | | | | | VLA storage is now freed when it goes out of scope. This makes it possible to use a VLA inside a loop without consuming an unlimited amount of memory. Combining VLAs with alloca() should work as in GCC - when a VLA is freed, memory allocated by alloca() after the VLA was created is also freed. There are some exceptions to this rule when using goto: if a VLA is in scope at the goto, jumping to a label will reset the stack pointer to where it was immediately after the last VLA was created prior to the label, or to what it was before the first VLA was created if the label is outside the scope of any VLA. This means that in some cases combining alloca() and VLAs will free alloca() memory where GCC would not. | |||||
| * | Fixed i386 calling convention issue and CMake build on i386. | James Lyon | 2013-04-26 | 1 | -0/+8 | |
| | | | | | | The i386 calling convention expects the callee to pop 1 word of the stack when performing a struct ret. | |||||
| * | Tests in abitest.c now work on Win32. | James Lyon | 2013-04-18 | 1 | -8/+27 | |
| | | | | | | | | I expect that Linux-x86 is probably fine. All other architectures except ARM are definitely broken since I haven't yet implemented gfunc_sret for these, although replicating the current behaviour should be straightforward. | |||||
| * | add version number to manpage | Urs Janssen | 2013-02-17 | 1 | -1/+1 | |
| | | | | | | | | avoid c++/c99 style comments in preprocessor directives avoid leadings whitespaces in preprocessor directives mention implemented variable length arrays in documentation fixed ambiguous option in texi2html call (Austin English) | |||||
| * | i386: We can change 'lea 0(%ebp),r' to 'mov %ebp,r' | Kirill Smelkov | 2012-11-16 | 1 | -2/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because that mov is 1 byte shorter, look: int *func() { return __builtin_frame_address(0); } before patch: 00000000 <func>: 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 81 ec 00 00 00 00 sub $0x0,%esp 9: 8d 45 00 lea 0x0(%ebp),%eax // <- here c: e9 00 00 00 00 jmp 11 <func+0x11> 11: c9 leave 12: c3 ret after patch: 00000000 <func>: 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 81 ec 00 00 00 00 sub $0x0,%esp 9: 89 e8 mov %ebp,%eax // <- here b: e9 00 00 00 00 jmp 10 <func+0x10> 10: c9 leave 11: c3 ret | |||||
| * | i386: fix loading of LLOCAL floats | Daniel Glöckner | 2012-01-23 | 1 | -1/+3 | |
| | | | | | These loads clobbered ebx as TinyCC wanted to load the address into st0. | |||||
| * | s/derefencing/dereferencing/ in i386-gen.c | Thomas Preud'homme | 2012-01-08 | 1 | -1/+1 | |
| | | ||||||
| * | rename error/warning -> tcc_(error/warning) | grischka | 2011-08-11 | 1 | -1/+1 | |
| | | ||||||
| * | chmod a-x i386-gen.c | Kirill Smelkov | 2010-06-16 | 1 | -0/+0 | |
| | | | | | No need to keep executable bit on plain C source. | |||||
| * | generate inc and dec for smaller code | U-UNIT1\dennis | 2010-04-03 | 1 | -4/+10 | |
| | | ||||||
| * | tccpe: improve dllimport/export and use for tcc_add_symbol | grischka | 2010-01-14 | 1 | -4/+6 | |
| | | ||||||
| * | allow tcc be build from separate objects | grischka | 2009-12-20 | 1 | -34/+44 | |
| | | | | | If you want that, run: make NOTALLINONE=1 | |||||
| * | win32: enable bounds checker & exception handler | grischka | 2009-12-19 | 1 | -1/+5 | |
| | | | | | exception handler borrowed from k1w1. Thanks. | |||||
| * | fix uninitialized warnings with 'type.ref' | grischka | 2009-12-19 | 1 | -0/+1 | |
| | | ||||||
| * | tccpe: improve dllimport | grischka | 2009-12-19 | 1 | -29/+2 | |
| | | ||||||
| * | integrate x86_64-asm.c into i386-asm.c | grischka | 2009-12-19 | 1 | -0/+13 | |
| | | | | | | Also, disable 16bit support for now as it causes bugs in 32bit mode. #define I386_ASM_16 if you want it. | |||||
| * | win32: handle __declspec(dllimport) | grischka | 2009-11-13 | 1 | -0/+34 | |
| | | ||||||
| * | x86-64: Fix stab debug information. | Shinichiro Hamaji | 2009-08-24 | 1 | -0/+1 | |
| | | | | | | We need 32bit relocations for code and 64bit for debug info. Introduce a new macro R_DATA_PTR to distinguish the two usages. | |||||
| * | cleanup: constify some global data | grischka | 2009-07-18 | 1 | -1/+1 | |
| | | ||||||
| * | win32: structure return GCC compatible (ret 4 with cdecl) | grischka | 2009-06-17 | 1 | -0/+11 | |
| | | ||||||
| * | move some global variables into TCCState | grischka | 2009-05-11 | 1 | -2/+3 | |
| | | ||||||
| * | Set VT_LVAL_xxx flags for function arguments in gfunc_prolog (Daniel Glöckner) | Daniel Glöckner | 2008-09-12 | 1 | -1/+1 | |
| | | ||||||
| * | Switch to newer tccpe.c (includes support for resources) | grischka | 2007-12-19 | 1 | -3/+3 | |
| | | ||||||
| * | Bug fix: A long long value used as a test expression ignores the upper 32 ↵ | bellard | 2006-10-28 | 1 | -1/+2 | |
| | | | | | bits at runtime (Dave Dodge) | |||||
| * | windows style fastcall (Filip Navara) | bellard | 2005-09-03 | 1 | -4/+19 | |
| | | ||||||
| * | _Bool type fix | bellard | 2005-04-17 | 1 | -1/+1 | |
| | | ||||||
| * | __chkstk support | bellard | 2005-04-10 | 1 | -5/+32 | |
| | | ||||||
| * | copyright update | bellard | 2004-10-27 | 1 | -1/+1 | |
| | | ||||||
| * | primitive fastcall functions support | bellard | 2004-10-18 | 1 | -9/+46 | |
| | | ||||||
| * | faster (Daniel Glöckner) | bellard | 2004-10-04 | 1 | -2/+2 | |
| | | ||||||
| * | initial TMS320C67xx support (TK) | bellard | 2004-10-04 | 1 | -0/+1 | |
| | | ||||||
| * | ARM target support (Daniel Glockner) - allow unsigned char as default on ↵ | bellard | 2003-10-14 | 1 | -1/+11 | |
| | | | | | ARM (Daniel Glockner) - fixed small ld script support (Daniel Glockner) | |||||
| * | changed license to LGPL | bellard | 2003-05-24 | 1 | -12/+12 | |
| | | ||||||
| * | simpler function call API | bellard | 2003-04-16 | 1 | -70/+58 | |
| | | ||||||
| * | renamed registers | bellard | 2002-12-08 | 1 | -18/+18 | |
| | | ||||||
| * | added MAX_ALIGN | bellard | 2002-11-24 | 1 | -0/+3 | |
| | | ||||||
| * | added CType structure for type storage - supressed define hash table - added ↵ | bellard | 2002-11-18 | 1 | -36/+40 | |
| | | | | | time dump in bench | |||||
| * | handle computed gotos | bellard | 2002-11-03 | 1 | -6/+19 | |
| | | ||||||
| * | trivial jump size optimization | bellard | 2002-09-08 | 1 | -2/+9 | |
| | | ||||||
| * | fixed PC32 relocation if constant address | bellard | 2002-08-31 | 1 | -2/+4 | |
| | | ||||||
| * | added symbol + relocation handling | bellard | 2002-08-29 | 1 | -26/+22 | |
| | | ||||||
| * | realloc text section in code generation | bellard | 2002-08-18 | 1 | -2/+12 | |
| | | ||||||
| * | added size info | bellard | 2002-07-27 | 1 | -1/+1 | |
| | | ||||||
| * | use data_offset in sections instead of pointer to ease section reallocation | bellard | 2002-07-27 | 1 | -29/+29 | |
| | | ||||||
| * | moved bcheck.c outside of tcc - optimized add sp code | bellard | 2002-07-24 | 1 | -13/+44 | |
| | | ||||||
| * | added runtime library - fixed more relocations | bellard | 2002-07-22 | 1 | -15/+26 | |
| | | ||||||
| * | moved relocation handling to elf generator | bellard | 2002-07-22 | 1 | -18/+0 | |
| | | ||||||
| * | added GOT support | bellard | 2002-07-18 | 1 | -0/+5 | |
| | | ||||||
| * | fixed PC32 relocation | bellard | 2002-07-14 | 1 | -2/+2 | |
| | | ||||||
