| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add input files/libs and reloc_output switch to TCCState | Kirill Smelkov | 2010-06-20 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | files[0], and reloc_outpu will be needed for (upcoming in the next patch) "compute default outfile name" refactored into libtcc function. Also, since for symmetry and from libification point of view, it makes some sense to also put all information about what was given as input to compilation into TCCState, let's not only put files[0], but all files and all libraries given explicitely by user. One point: I've used bitfield for reloc_output & trimmed down output_type to 8 bits so that TCCState stays the same in size, and also access to output_type is (hopefully) is not slower. By the way -- as of today, sizeof(TCCState) on i686-pc-linux-gnu is 2884 bytes... | ||||
| * | ARM: allow jumps > 32MB on -run | Daniel Glöckner | 2010-05-14 | 1 | -1/+1 |
| | | | | | This is needed to reach tinycc's PLT from the compiled program. | ||||
| * | ARM: use uint32_t for opcodes | Daniel Glöckner | 2010-05-13 | 1 | -1/+1 |
| | | | | | fixes cross compiling on x86_64 | ||||
| * | make --with-selinux work with libtcc, too | Henry Kroll III | 2010-04-24 | 1 | -0/+4 |
| | | |||||
| * | Clean changes introduced by 47abdbd | Thomas Preud'homme | 2010-04-20 | 1 | -2/+0 |
| | | | | | | | | | | | | | * Replace the save/load_buffer_state by a dynarray approach: - Filename and libname are added to a dynarray when first encountered - Load repeatedly the files in the dynarray until no new undefined symbol are encountered * Replace snprintf by sprintf in libname_to_filename * Use tcc_fileextension in filename_to_libname * Introduce a tcc_strcpy_part fonction to copy only a subset of a string * Move new_undef_syms declaration from tcc.h to tccelf.c | ||||
| * | libtcc.c: fix compilation failure (inconsistent tcc_add_file_internal) | Sergei Trofimovich | 2010-04-19 | 1 | -0/+1 |
| | | | | | | | | | | gcc -o libtcc1.o -c lib/libtcc1.c -O2 -Wall libtcc.c: At top level: libtcc.c:1063: error: static declaration of 'tcc_add_file_internal' follows non-static declaration tccelf.c:2915: note: previous implicit declaration of 'tcc_add_file_internal' was here Signed-off-by: Sergei Trofimovich <st@anti-virus.by> | ||||
| * | Better handle ld scripts | Thomas Preud'homme | 2010-04-15 | 1 | -0/+2 |
| | | | | | | | | * search file from INPUT and GROUP commands in the library path in addition to the current directory * handle libraries specified by -lfoo options * Search lib in GROUP command repeatedly | ||||
| * | libtcc: Detect (but ignore) -init and -fini for -Wl | Detlef Riekenberg | 2010-04-05 | 1 | -0/+4 |
| | | | | | | -- By by ... Detlef | ||||
| * | weak function symbols | Manuel Simoni | 2010-02-27 | 1 | -1/+3 |
| | | |||||
| * | fill got table for static linking | Ali Gholami Rudi | 2010-02-05 | 1 | -0/+1 |
| | | |||||
| * | Added patch to detect and use the paths for 64bit libraries as | Nikos Mavrogiannopoulos | 2010-01-28 | 1 | -1/+5 |
| | | | | | used by CentOS (affects X86_64 only). | ||||
| * | Add support for the __mode__ attribute | Detlef Riekenberg | 2010-01-26 | 1 | -1/+3 |
| | | | | | | -- By by ... Detlef | ||||
| * | Recognize -Wl,-Bsymbolic | Detlef Riekenberg | 2010-01-26 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | Without -Bsymbolic, a symbol/function in a *.so can be overridden by a symbol/function in the main module. That is the default search order, but not supported by tcc. With -Bsymbolic, the linker tries to resolve a symbol/function in the current module first. The loader in tcc implements this search order. We do not distinguish -Bsymbolic and -Bsymbolic-function -- By by ... Detlef | ||||
| * | tccpp: convert TOK_GET macro into function | grischka | 2010-01-14 | 1 | -3/+3 |
| | | |||||
| * | x86-64: use uplong for symbol values | grischka | 2010-01-14 | 1 | -1/+1 |
| | | |||||
| * | tccpe: improve dllimport/export and use for tcc_add_symbol | grischka | 2010-01-14 | 1 | -4/+6 |
| | | |||||
| * | build from multiple objects: fix other targets | grischka | 2009-12-20 | 1 | -4/+21 |
| | | |||||
| * | use vpushv in some places | grischka | 2009-12-20 | 1 | -0/+1 |
| | | |||||
| * | win64: add tiny unwind data for setjmp/longjmp | grischka | 2009-12-20 | 1 | -0/+7 |
| | | | | | | | | | | This enables native unwind semantics with longjmp on win64 by putting an entry into the .pdata section for each compiled fuction. Also, the function now use a fixed stack and store arguments into X(%rsp) rather than using push. | ||||
| * | allow tcc be build from separate objects | grischka | 2009-12-20 | 1 | -28/+406 |
| | | | | | If you want that, run: make NOTALLINONE=1 | ||||
| * | win32: enable bounds checker & exception handler | grischka | 2009-12-19 | 1 | -7/+4 |
| | | | | | exception handler borrowed from k1w1. Thanks. | ||||
| * | tcc_relocate: revert to 0.9.24 behavior | grischka | 2009-12-19 | 1 | -0/+1 |
| | | |||||
| * | tccpe: improve dllimport | grischka | 2009-12-19 | 1 | -1/+2 |
| | | |||||
| * | integrate x86_64-asm.c into i386-asm.c | grischka | 2009-12-19 | 1 | -9/+15 |
| | | | | | | Also, disable 16bit support for now as it causes bugs in 32bit mode. #define I386_ASM_16 if you want it. | ||||
| * | tcc: add "-Wl,-rpath=path" option (library search path) | grischka | 2009-12-19 | 1 | -0/+2 |
| | | |||||
| * | tccgen: propagate alignment from typedef | grischka | 2009-12-06 | 1 | -26/+15 |
| | | | | | | Store (part of) the AttributeDef structure in the (int)sym-r field of the typedef symbol (kludgy). | ||||
| * | various fixes and new options for PE format | Frederic Feret | 2009-11-13 | 1 | -0/+9 |
| | | |||||
| * | first support of x86_64 assembly | Frederic Feret | 2009-11-13 | 1 | -2/+18 |
| | | |||||
| * | added 16-bit x86 assembly support | Frederic Feret | 2009-11-13 | 1 | -0/+4 |
| | | |||||
| * | win32: handle __declspec(dllimport) | grischka | 2009-11-13 | 1 | -2/+5 |
| | | |||||
| * | tccpe: set tcc_lib_path from DLL | grischka | 2009-07-18 | 1 | -1/+1 |
| | | |||||
| * | tccpe: load dll on the fly | grischka | 2009-07-18 | 1 | -1/+0 |
| | | |||||
| * | win64: align jmp_buf | grischka | 2009-07-18 | 1 | -0/+10 |
| | | |||||
| * | win64: fix pointer <-> unsigned long typecast issues | grischka | 2009-07-18 | 1 | -1/+11 |
| | | |||||
| * | pe32+ target: add in various #define's | grischka | 2009-07-18 | 1 | -0/+2 |
| | | |||||
| * | tccpe: build IAT vector with with -run too | grischka | 2009-07-18 | 1 | -0/+1 |
| | | | | | | This prepares for x86_64 where we need the vector for far jumps. Also, resolve DLL symbols in place | ||||
| * | cleanup: stop abuse of sym->c for #define tokenstreams | grischka | 2009-07-18 | 1 | -1/+4 |
| | | |||||
| * | cleanup: stop abuse of sym->r for inline functions | grischka | 2009-07-18 | 1 | -2/+10 |
| | | |||||
| * | fix build with msvc | grischka | 2009-05-11 | 1 | -2/+3 |
| | | |||||
| * | enable making tcc using libtcc | grischka | 2009-05-11 | 1 | -11/+13 |
| | | |||||
| * | move static prototypes to libtcc.c | grischka | 2009-05-11 | 1 | -146/+44 |
| | | |||||
| * | move some global variables into TCCState | grischka | 2009-05-11 | 1 | -1/+14 |
| | | |||||
| * | move minor things from libtcc.c to other files | grischka | 2009-05-05 | 1 | -9/+13 |
| | | |||||
| * | move global variables to libtcc.c | grischka | 2009-05-05 | 1 | -109/+0 |
| | | |||||
| * | move declarations to tcc.h | grischka | 2009-05-05 | 1 | -0/+937 |
| | | |||||
| * | new files: tcc.h libtcc.c tccpp.c tccgen.c | grischka | 2009-05-05 | 1 | -0/+20 |
