| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add input files/libs and reloc_output switch to TCCState | Kirill Smelkov | 2010-06-20 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | 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... | ||||
| * | tcc: Fix typo in error (it's '%s', not '%s) | Kirill Smelkov | 2010-06-16 | 1 | -1/+1 |
| | | |||||
| * | libtcc: Detect (but ignore) -init and -fini for -Wl | Detlef Riekenberg | 2010-04-05 | 1 | -1/+1 |
| | | | | | | -- By by ... Detlef | ||||
| * | libtcc: Allow multiple options for -Wl separated with ',' | Detlef Riekenberg | 2010-04-05 | 1 | -83/+2 |
| | | | | | | | | I moved the code to libtcc to prepare for a later tiny_ld -- By by ... Detlef | ||||
| * | Add support for --help | Detlef Riekenberg | 2010-01-26 | 1 | -0/+1 |
| | | |||||
| * | Recognize -Wl,-Bsymbolic | Detlef Riekenberg | 2010-01-26 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | 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 | ||||
| * | allow tcc be build from separate objects | grischka | 2009-12-20 | 1 | -16/+16 |
| | | | | | If you want that, run: make NOTALLINONE=1 | ||||
| * | tcc: add "-Wl,-rpath=path" option (library search path) | grischka | 2009-12-19 | 1 | -0/+2 |
| | | |||||
| * | ARM: first support for arm-pe target | Frederic Feret | 2009-11-13 | 1 | -0/+3 |
| | | |||||
| * | various fixes and new options for PE format | Frederic Feret | 2009-11-13 | 1 | -0/+39 |
| | | |||||
| * | tcc: optionally build using libtcc | grischka | 2009-07-18 | 1 | -0/+4 |
| | | |||||
| * | tccpe: set tcc_lib_path from DLL | grischka | 2009-07-18 | 1 | -3/+1 |
| | | |||||
| * | bcheck: restore malloc hooks when done | grischka | 2009-07-18 | 1 | -16/+12 |
| | | |||||
| * | accept option -x <lang> | grischka | 2009-06-17 | 1 | -0/+4 |
| | | |||||
| * | enable making tcc using libtcc | grischka | 2009-05-11 | 1 | -6/+4 |
| | | |||||
| * | move static prototypes to libtcc.c | grischka | 2009-05-11 | 1 | -1/+1 |
| | | |||||
| * | move some global variables into TCCState | grischka | 2009-05-11 | 1 | -20/+10 |
| | | |||||
| * | make tcc from tcc.c and libtcc from libtcc.c | grischka | 2009-05-05 | 1 | -3/+0 |
| | | |||||
| * | move minor things from libtcc.c to other files | grischka | 2009-05-05 | 1 | -21/+38 |
| | | |||||
| * | move libtcc interface and helper functions to libtcc.c | grischka | 2009-05-05 | 1 | -2281/+1 |
| | | |||||
| * | move parser/generator to tccgen.c | grischka | 2009-05-05 | 1 | -5102/+1 |
| | | |||||
| * | move preprocessor to tccpp.c | grischka | 2009-05-05 | 1 | -2642/+1 |
| | | |||||
| * | move declarations to tcc.h | grischka | 2009-05-05 | 1 | -935/+1 |
| | | |||||
| * | enable backtrace only when it's supported | grischka | 2009-04-18 | 1 | -8/+15 |
| | | |||||
| * | libtcc: new api tcc_set_lib_path | grischka | 2009-04-18 | 1 | -6/+11 |
| | | |||||
| * | tcc_relocate: return error and remove unused code | grischka | 2009-04-18 | 1 | -18/+5 |
| | | |||||
| * | Call relocate_sym() before we return the offset, so user doesn't need to ↵ | Shinichiro Hamaji | 2009-04-18 | 1 | -5/+5 |
| | | | | | check the return value twice. | ||||
| * | tcc -E: fix pasting empty tokens | grischka | 2009-04-18 | 1 | -23/+13 |
| | | | | | | | | | | | | /* test case */ #define t(x,y,z) x ## y ## z int j[] = { t(1,2,3), t(,4,5), t(6,,7), t(8,9,), t(10,,), t(,11,), t(,,12), t(,,) }; tcc -E: xpected result: int j[] = { 123, 45, 67, 89, 10, 11, 12, }; | ||||
| * | tcc -E: preserve spaces, alternative solution | grischka | 2009-04-18 | 1 | -43/+73 |
| | | | | | | | | | | | | | /* test case */ #define STR(x) #x #define MKSTR(x) STR(x) MKSTR(-A-) MKSTR(+ B +) tcc -E: expected result: "-A-" "+ B +" | ||||
| * | CONFIG_TCC_STATIC: add dummy for dlclose | grischka | 2009-04-18 | 1 | -0/+4 |
| | | |||||
| * | avoid warning uninitialized | grischka | 2009-04-18 | 1 | -1/+1 |
| | | |||||
| * | x86-64: Fix tcc -run. We need extra memory for PLT and GOT. | Shinichiro Hamaji | 2009-04-18 | 1 | -9/+22 |
| | | | | | Size of the extra buffer is too large for now. | ||||
| * | get rid of 8 bytes memory leak | grischka | 2009-04-18 | 1 | -0/+1 |
| | | |||||
| * | change tcc_add/get_symbol to use void* | grischka | 2009-04-18 | 1 | -4/+3 |
| | | |||||
| * | alternative int tcc_relocate(TCCState *s1, void *ptr); | grischka | 2009-04-18 | 1 | -69/+60 |
| | | |||||
| * | TOK_builtin_malloc: alternative solution | grischka | 2009-04-18 | 1 | -14/+4 |
| | | |||||
| * | x86-64: Fix cast from integers to pointers. | Shinichiro Hamaji | 2009-04-18 | 1 | -3/+9 |
| | | | | | | | | | Now, ./tcc -run -DTCC_TARGET_X86_64 tcc.c -run tcctest.c works! | ||||
| * | Fixes for issues I've just found/introduced to x86 TCC. | Shinichiro Hamaji | 2009-04-18 | 1 | -0/+5 |
| | | | | | | - Cast from pointer to long long makes TCC output an error. Use cast to int before we apply shift operation for a pointer value. - Removed test cases for casts from pointer to char/short because they produce warning. | ||||
| * | x86-64: Cast from 64bit pointer to long long must not generate movslq. | Shinichiro Hamaji | 2009-04-18 | 1 | -1/+1 |
| | | |||||
| * | win32: accept uppercase filename suffixes | grischka | 2009-04-18 | 1 | -3/+5 |
| | | |||||
| * | x86-64: There can be valid addresses which is greater than 0xc0000000. | Shinichiro Hamaji | 2009-04-18 | 1 | -1/+1 |
| | | |||||
| * | Fix for x86-64: The first and second arguments of memcpy must be pointers. | Shinichiro Hamaji | 2009-04-18 | 1 | -2/+2 |
| | | |||||
| * | Fix silly typos in the previous change. | Shinichiro Hamaji | 2009-04-18 | 1 | -2/+2 |
| | | |||||
| * | x86-64: Make ABI for long double compatible with GCC. | Shinichiro Hamaji | 2009-04-18 | 1 | -3/+25 |
| | | | | | | | - Now we use x87's stack top the long double return values. - Add rc_fret and reg_fret, wrapper functions for RC_FRET and REG_FRET. - Add a test case to check if strto* works OK. | ||||
| * | x86-64: Combine buffers of sections before we call tcc_run(). | Shinichiro Hamaji | 2009-04-18 | 1 | -19/+52 |
| | | | | | | | | - Now we can run tcc -run tcc.c successfully, though there are some bugs. - Remove jmp_table and got_table and use text_section for got and plt entries. - Combine buffers in tcc_relocate(). - Use R_X86_64_64 instead of R_X86_64_32 for R_DATA_32 (now the name R_DATA_32 is inappropriate...). | ||||
| * | Generate PIC code so that we can create shared objects properly. | Shinichiro Hamaji | 2009-04-18 | 1 | -1/+6 |
| | | | | | | | - Add got_table in TCCState. This approach is naive and the distance between executable code and GOT can be longer than 32bit. - Handle R_X86_64_GOTPCREL properly. We use got_table for TCC_OUTPUT_MEMORY case for now. - Fix load() and store() so that they access global variables via GOT. | ||||
| * | check for absolute include paths | grischka | 2009-04-18 | 1 | -6/+16 |
| | | | | | Suggested by Sandor Zsolt <narkoskatona@yahoo.com> | ||||
| * | get rid of "free_section problem" with private sections | grischka | 2009-04-18 | 1 | -13/+14 |
| | | |||||
| * | accept "restrict" in array-decl (STDC 199901) | grischka | 2009-04-18 | 1 | -0/+2 |
| | | |||||
| * | i386: apply "align=8 for doubles ..." for PE only | grischka | 2009-04-18 | 1 | -0/+4 |
| | | |||||
