| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | update Changelog, bump version: 0.9.25 | grischka | 2009-05-11 | 3 | -4/+7 |
| | | |||||
| * | fix "cached include" optimization | grischka | 2009-05-11 | 1 | -53/+58 |
| | | | | | | | | comparing the filenames as in the #include statement can be ambiguous if including files are in different directories. Now caches and checks the really opened filename instead. | ||||
| * | ARM: fix big immediate offset construction | Daniel Glöckner | 2009-05-11 | 1 | -6/+6 |
| | | | | | | | | | The loop constructs to iterate over the non-overlapping, even positions of two or three bytes in a word were broken. This patch fixes the loops. It has been verified to generate the 72 combinations for two and the 80 combinations for three bytes. | ||||
| * | fix build with msvc | grischka | 2009-05-11 | 2 | -17/+9 |
| | | |||||
| * | fix unused/uninitalized warnings | grischka | 2009-05-11 | 2 | -0/+4 |
| | | |||||
| * | fix warnings with tcc_add/get_symbol | grischka | 2009-05-11 | 2 | -2/+2 |
| | | |||||
| * | enable making tcc using libtcc | grischka | 2009-05-11 | 3 | -29/+32 |
| | | |||||
| * | move static prototypes to libtcc.c | grischka | 2009-05-11 | 4 | -154/+180 |
| | | |||||
| * | move some global variables into TCCState | grischka | 2009-05-11 | 9 | -86/+91 |
| | | |||||
| * | make tcc from tcc.c and libtcc from libtcc.c | grischka | 2009-05-05 | 4 | -10/+2 |
| | | |||||
| * | move minor things from libtcc.c to other files | grischka | 2009-05-05 | 4 | -307/+314 |
| | | |||||
| * | move global variables to libtcc.c | grischka | 2009-05-05 | 2 | -109/+111 |
| | | |||||
| * | move libtcc interface and helper functions to libtcc.c | grischka | 2009-05-05 | 2 | -2281/+2283 |
| | | |||||
| * | move parser/generator to tccgen.c | grischka | 2009-05-05 | 2 | -5102/+5103 |
| | | |||||
| * | move preprocessor to tccpp.c | grischka | 2009-05-05 | 2 | -2642/+2644 |
| | | |||||
| * | move declarations to tcc.h | grischka | 2009-05-05 | 2 | -935/+938 |
| | | |||||
| * | new files: tcc.h libtcc.c tccpp.c tccgen.c | grischka | 2009-05-05 | 5 | -1/+82 |
| | | |||||
| * | cleanup makefiles | grischka | 2009-04-19 | 2 | -72/+82 |
| | | |||||
| * | enable backtrace only when it's supported | grischka | 2009-04-18 | 1 | -8/+15 |
| | | |||||
| * | Return value of exit should be void. | Shinichiro Hamaji | 2009-04-18 | 1 | -1/+1 |
| | | |||||
| * | Fixes for tests/Makefile. | Shinichiro Hamaji | 2009-04-18 | 1 | -3/+3 |
| | | | | | | - On x86-64, we need $(TARGET) in RUN_TCC. - s/RuN_TCC/RUN_TCC/ | ||||
| * | fix makefiles etc for subdirs | grischka | 2009-04-18 | 13 | -272/+313 |
| | | |||||
| * | new subdirs: include, lib, tests | grischka | 2009-04-18 | 16 | -6/+0 |
| | | |||||
| * | win32: readme.txt->tcc-win32.txt, update tcc-doc | grischka | 2009-04-18 | 5 | -136/+177 |
| | | |||||
| * | mute strange difference in tcctest | grischka | 2009-04-18 | 1 | -0/+3 |
| | | |||||
| * | libtcc: add support to be build as DLL | grischka | 2009-04-18 | 1 | -20/+26 |
| | | |||||
| * | libtcc: new api tcc_set_lib_path | grischka | 2009-04-18 | 4 | -12/+26 |
| | | |||||
| * | 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 | 2 | -12/+27 |
| | | | | | 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 | 4 | -22/+19 |
| | | |||||
| * | alternative int tcc_relocate(TCCState *s1, void *ptr); | grischka | 2009-04-18 | 3 | -74/+80 |
| | | |||||
| * | TOK_builtin_malloc: alternative solution | grischka | 2009-04-18 | 2 | -14/+8 |
| | | |||||
| * | x86-64: Define make variable TARGET so that test2 and test3 use correct flag. | Shinichiro Hamaji | 2009-04-18 | 1 | -7/+5 |
| | | |||||
| * | x86-64: Remove code for debug print. | Shinichiro Hamaji | 2009-04-18 | 1 | -16/+0 |
| | | | | | Now, we concat buffers before relocation. So this only happens when users try creating >2GB binary. | ||||
| * | x86-64: Fix cast from integers to pointers. | Shinichiro Hamaji | 2009-04-18 | 2 | -3/+13 |
| | | | | | | | | | Now, ./tcc -run -DTCC_TARGET_X86_64 tcc.c -run tcctest.c works! | ||||
| * | Work around for the issue TCC doesn't handle -2147483648 properly. | Shinichiro Hamaji | 2009-04-18 | 1 | -1/+1 |
| | | | | | | | | | | TCC produces code which is incompatible with GCC for the following code: printf("%lld\n", (long long)-2147483648); printf("%lld\n", (long long)-2147483649); For now, just avoid using the corner value. | ||||
| * | Fixes for issues I've just found/introduced to x86 TCC. | Shinichiro Hamaji | 2009-04-18 | 2 | -3/+6 |
| | | | | | | - 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 | 2 | -1/+11 |
| | | |||||
| * | 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 | 2 | -3/+31 |
| | | | | | | | - 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. | ||||
| * | Improve the test coverage: !val for float/double/long long f. | Shinichiro Hamaji | 2009-04-18 | 2 | -1/+4 |
| | | |||||
