aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix gv for long longsDaniel Glöckner2008-09-121-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 libtcc1Daniel Glöckner2008-09-123-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 pathsDaniel Glöckner2008-09-122-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 changesDaniel Glöckner2008-09-121-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 functionsDaniel Glöckner2008-09-124-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öckner2008-09-124-4/+4
|
* Patch for DESTDIR installation (Adam Sampson)Adam Sampson2008-09-121-19/+19
|
* fix isidnum_table for CH_EOF (-1)grischka2008-09-121-5/+5
|
* free_section bugfixgrischka2008-09-121-2/+2
|
* release loaded dlls cleanly (Sam K)grischka2008-05-053-9/+24
|
* enable pe-output from libtcc (Shmuel Zeigerman)grischka2008-05-052-8/+15
|
* fix options in C scripts after -rungrischka2008-04-271-17/+14
|
* fix stabstr with linked objectsgrischka2008-04-272-1/+33
|
* fix bogus relocations with TCC_OUTPUT_DLLgrischka2008-04-271-2/+17
|
* enable multiple states and fix minor memory leaksgrischka2008-04-271-16/+48
|
* update manual, changeloggrischka2008-03-315-15/+27
|
* added verbosity levels (-vv -vvv)grischka2008-03-313-14/+27
|
* Accept standard input as an inputstream (Hanzac Chen)grischka2008-03-312-12/+21
|
* get rid of a warning and fix .batgrischka2008-03-252-9/+8
|
* Add -soname linker option (Marc Andre Tanner)grischka2008-03-252-5/+69
|
* Comply to c89 compilers other than gcc (Hanzac Chen)grischka2008-03-251-0/+3
|
* Enable -B option for library path on win32grischka2008-03-081-9/+9
|
* Fix 'tcc -static' with recent glibcgrischka2008-03-081-6/+10
|
* Get rid of one warninggrischka2008-03-081-1/+1
|
* Checkin tiny_libmaker (ar replacement) by Timovj Lahdegrischka2008-03-087-72/+393
|
* Udated and cleaned up TODO.grischka2008-01-162-33/+45
|
* Just warn about unknown directives, define __STDC_VERSION__=199901Lgrischka2008-01-165-17/+39
|
* Switch to newer tccpe.c (includes support for resources)grischka2007-12-196-977/+1332
|
* Handle backslashes within #include, #error, #warninggrischka2007-12-172-11/+22
|
* Import changesets (part 4) 428,457,460,467: defines for openbsd etc.grischka2007-12-165-16/+40
|
* Disable singnedness warnings with newer gcc.grischka2007-12-131-0/+1
|
* Use _WIN32 for a windows hosted tcc and define it for the PE target.grischka2007-12-134-1496/+1500
|
* tiny_impdef.c - converted to LF line-endings (and slight cleanup)grischka2007-12-091-372/+393
|
* Import 409,410: ARM EABI by Daniel Glöcknergrischka2007-12-047-79/+517
|
* Some in-between fixes (See Changelog for details).grischka2007-11-252-66/+98
|
* Fixed:grischka2007-11-251-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.Sgrischka2007-11-232-0/+69
|
* Import more changesets from Rob Landley's fork (part 2)grischka2007-11-2110-79/+157
|
* Import some changesets from Rob Landley's fork (part 1)grischka2007-11-145-84/+136
|
* Fix 'invalid relocation entry' problem on ubuntu - from Bernhard Fischergrischka2007-10-302-3/+8
|
* typosbellard2006-10-281-2/+2
|
* fixed helpbellard2006-10-281-1/+1
|
* added va_copy()bellard2006-10-281-0/+1
|
* updatebellard2006-10-282-1/+9
|
* fixed sign extension in some type conversions (Dave Dodge)bellard2006-10-281-0/+4
|
* conversion testbellard2006-10-281-1/+11
|
* multiple typedef testbellard2006-10-281-0/+7
|
* fixed multiple typedef specifiers handlingbellard2006-10-281-0/+1
|
* workaround for function pointers in conditional expressions (Dave Dodge)bellard2006-10-281-0/+3
|
* discard type qualifiers when comparing function parameters (Dave Dodge)bellard2006-10-281-4/+26
|