| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix gv for long longs | Daniel Glöckner | 2008-09-12 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | long long a(); long long b() { return a(); } At the end of b there will be some useless register shuffling. This is because return wants to have the result of a in REG_IRET. gv checks if this is the case for BOTH registers of the long long. After this test it uses REG_LRET for the second register if the first is supposed to be REG_IRET. In other cases it uses RC_INT. The patch compares the second register against the class it will have in the end instead of the register class the first register will have. At this point I would like to remind those who pick up the patches that there are two other mails by me with uncommitted fixes: http://lists.gnu.org/archive/html/tinycc-devel/2003-10/msg00044.html http://lists.gnu.org/archive/html/tinycc-devel/2008-08/msg00007.html Daniel | ||||
| * | Allow to use libgcc instead of libtcc1 | Daniel Glöckner | 2008-09-12 | 3 | -4/+28 |
| | | | | | | | | | | | | | | | | This patch adds a switch --with-libgcc to configure. When passed it prevents libtcc1.a from being built and links to /lib/libgcc_s.so.1 instead of PREFIX/lib/tcc/libtcc1.a. It will work on ARM when using libgcc from GCC >= 4.2.0. Prior versions don't have the __floatun[sd]i[sdx]f functions. It won't work on i386 because of two missing symbols emitted when floats are cast to integers, but users can provide those symbols (global short constants) in their code if needed. Daniel | ||||
| * | A prefix for default library/include search paths | Daniel Glöckner | 2008-09-12 | 2 | -6/+12 |
| | | | | | | | | | | This patch is useful for cross compilers. Without this patch tcc tries to use the host's libraries, crt*.o and include files. The patch prepends a string to all default paths. The string can be passed to configure with --sysroot=string. Daniel | ||||
| * | ARM related Makefile changes | Daniel Glöckner | 2008-09-12 | 1 | -4/+16 |
| | | | | | | | | | | | | | | | - Builds all four possible ARM targets when cross compiling - Adds some auto detection to select the target for native ARM builds The auto detection will select EABI if it finds /lib/ld-linux.so.3. It will select VFP floating point support when /proc/cpuinfo lists a VFP or iWMMXt coprocessor. Intel Wireless MMX does not imply VFP, but it conflicts with FPA, so VFP is the only choice (apart from yet unsupported soft-float). Daniel | ||||
| * | Runtime lib functions | Daniel Glöckner | 2008-09-12 | 4 | -94/+140 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Yesterday I felt the urge to change a few things in TinyCC. This is the first and biggest change of all of them. - use __aeabi_*divmod functions in ARM EABI to make binaries depend solely on standardized library functions - refactor ARM floating point <-> integer conversion a bit - rename long long->float and shift library functions to correspond to the names used by GCC - compile more tokens conditionally to reduce the size of TinyCC The intention is primarily to allow users of the ARM target to use libgcc (which is usually available as a shared library) instead of libtcc1 (which can't be compiled for ARM due to lack of an inline assembler). Changing the EABI target to use the divmod functions in theory allows to use it without libtcc1 on any (not necessarily GCC based) ARM EABI system. Daniel | ||||
| * | Set VT_LVAL_xxx flags for function arguments in gfunc_prolog (Daniel Glöckner) | Daniel Glöckner | 2008-09-12 | 4 | -4/+4 |
| | | |||||
| * | Patch for DESTDIR installation (Adam Sampson) | Adam Sampson | 2008-09-12 | 1 | -19/+19 |
| | | |||||
| * | fix isidnum_table for CH_EOF (-1) | grischka | 2008-09-12 | 1 | -5/+5 |
| | | |||||
| * | free_section bugfix | grischka | 2008-09-12 | 1 | -2/+2 |
| | | |||||
| * | release loaded dlls cleanly (Sam K) | grischka | 2008-05-05 | 3 | -9/+24 |
| | | |||||
| * | enable pe-output from libtcc (Shmuel Zeigerman) | grischka | 2008-05-05 | 2 | -8/+15 |
| | | |||||
| * | fix options in C scripts after -run | grischka | 2008-04-27 | 1 | -17/+14 |
| | | |||||
| * | fix stabstr with linked objects | grischka | 2008-04-27 | 2 | -1/+33 |
| | | |||||
| * | fix bogus relocations with TCC_OUTPUT_DLL | grischka | 2008-04-27 | 1 | -2/+17 |
| | | |||||
| * | enable multiple states and fix minor memory leaks | grischka | 2008-04-27 | 1 | -16/+48 |
| | | |||||
| * | update manual, changelog | grischka | 2008-03-31 | 5 | -15/+27 |
| | | |||||
| * | added verbosity levels (-vv -vvv) | grischka | 2008-03-31 | 3 | -14/+27 |
| | | |||||
| * | Accept standard input as an inputstream (Hanzac Chen) | grischka | 2008-03-31 | 2 | -12/+21 |
| | | |||||
| * | get rid of a warning and fix .bat | grischka | 2008-03-25 | 2 | -9/+8 |
| | | |||||
| * | Add -soname linker option (Marc Andre Tanner) | grischka | 2008-03-25 | 2 | -5/+69 |
| | | |||||
| * | Comply to c89 compilers other than gcc (Hanzac Chen) | grischka | 2008-03-25 | 1 | -0/+3 |
| | | |||||
| * | Enable -B option for library path on win32 | grischka | 2008-03-08 | 1 | -9/+9 |
| | | |||||
| * | Fix 'tcc -static' with recent glibc | grischka | 2008-03-08 | 1 | -6/+10 |
| | | |||||
| * | Get rid of one warning | grischka | 2008-03-08 | 1 | -1/+1 |
| | | |||||
| * | Checkin tiny_libmaker (ar replacement) by Timovj Lahde | grischka | 2008-03-08 | 7 | -72/+393 |
| | | |||||
| * | Udated and cleaned up TODO. | grischka | 2008-01-16 | 2 | -33/+45 |
| | | |||||
| * | Just warn about unknown directives, define __STDC_VERSION__=199901L | grischka | 2008-01-16 | 5 | -17/+39 |
| | | |||||
| * | Switch to newer tccpe.c (includes support for resources) | grischka | 2007-12-19 | 6 | -977/+1332 |
| | | |||||
| * | Handle backslashes within #include, #error, #warning | grischka | 2007-12-17 | 2 | -11/+22 |
| | | |||||
| * | Import changesets (part 4) 428,457,460,467: defines for openbsd etc. | grischka | 2007-12-16 | 5 | -16/+40 |
| | | |||||
| * | Disable singnedness warnings with newer gcc. | grischka | 2007-12-13 | 1 | -0/+1 |
| | | |||||
| * | Use _WIN32 for a windows hosted tcc and define it for the PE target. | grischka | 2007-12-13 | 4 | -1496/+1500 |
| | | |||||
| * | tiny_impdef.c - converted to LF line-endings (and slight cleanup) | grischka | 2007-12-09 | 1 | -372/+393 |
| | | |||||
| * | Import 409,410: ARM EABI by Daniel Glöckner | grischka | 2007-12-04 | 7 | -79/+517 |
| | | |||||
| * | Some in-between fixes (See Changelog for details). | grischka | 2007-11-25 | 2 | -66/+98 |
| | | |||||
| * | Fixed: | grischka | 2007-11-25 | 1 | -0/+10 |
| | | | | | | | | | | - Hanging tcc -E - Crashes witn global 'int g_i = 1LL;' - include & lib search paths on win32 Added quick build batch file for mingw Reverted case label optimization (See Changelog for details). | ||||
| * | New files: alloca86.S alloca86-bt.S | grischka | 2007-11-23 | 2 | -0/+69 |
| | | |||||
| * | Import more changesets from Rob Landley's fork (part 2) | grischka | 2007-11-21 | 10 | -79/+157 |
| | | |||||
| * | Import some changesets from Rob Landley's fork (part 1) | grischka | 2007-11-14 | 5 | -84/+136 |
| | | |||||
| * | Fix 'invalid relocation entry' problem on ubuntu - from Bernhard Fischer | grischka | 2007-10-30 | 2 | -3/+8 |
| | | |||||
| * | typos | bellard | 2006-10-28 | 1 | -2/+2 |
| | | |||||
| * | fixed help | bellard | 2006-10-28 | 1 | -1/+1 |
| | | |||||
| * | added va_copy() | bellard | 2006-10-28 | 1 | -0/+1 |
| | | |||||
| * | update | bellard | 2006-10-28 | 2 | -1/+9 |
| | | |||||
| * | fixed sign extension in some type conversions (Dave Dodge) | bellard | 2006-10-28 | 1 | -0/+4 |
| | | |||||
| * | conversion test | bellard | 2006-10-28 | 1 | -1/+11 |
| | | |||||
| * | multiple typedef test | bellard | 2006-10-28 | 1 | -0/+7 |
| | | |||||
| * | fixed multiple typedef specifiers handling | bellard | 2006-10-28 | 1 | -0/+1 |
| | | |||||
| * | workaround for function pointers in conditional expressions (Dave Dodge) | bellard | 2006-10-28 | 1 | -0/+3 |
| | | |||||
| * | discard type qualifiers when comparing function parameters (Dave Dodge) | bellard | 2006-10-28 | 1 | -4/+26 |
| | | |||||
