Commit graph

  • e4ae77c7bb tcc_preprocess: add gcc-style include-depth flags grischka 2009-06-17 02:10:42 +02:00
  • 956b4beec1 incompatible function ptr assignment: just warn grischka 2009-06-17 02:10:24 +02:00
  • 6a004ed19f allow redefinition of func_old_type functions grischka 2009-06-17 02:09:52 +02:00
  • c3701df16c trying to fix the bug of unclean FPU st(0) Soloist Deng 2009-06-08 19:26:19 +02:00
  • a342bbadc8 use static declaration from prototype grischka 2009-06-17 02:09:20 +02:00
  • 69fdb57edd unions: initzialize only one field grischka 2009-06-17 02:09:07 +02:00
  • bba515afe5 tccelf: accept BSS symbol with same name from other module grischka 2009-06-17 02:08:54 +02:00
  • e7297581fc pass constness from structs to members Sam Watkins 2009-06-16 04:26:44 +08:00
  • dca2b15df4 x86-64: Align return value of alloca by 16. Shinichiro Hamaji 2009-06-11 08:33:41 +09:00
  • 8ea8305199 x86-64: Add alloca. Shinichiro Hamaji 2009-06-09 03:23:08 +09:00
  • 110a4edc15 drop alloca #define grischka 2009-05-16 22:30:13 +02:00
  • 68310299b6 ulibc: #define TCC_UCLIBC and load elf_interp grischka 2009-05-16 22:29:40 +02:00
  • bf8d8f5f3e update Changelog, bump version: 0.9.25 grischka 2009-05-11 19:01:26 +02:00
  • aed6a7cb60 fix "cached include" optimization grischka 2009-05-11 18:55:16 +02:00
  • 530b77e365 ARM: fix big immediate offset construction Daniel Glöckner 2009-05-07 00:23:06 +02:00
  • ca4b4a52ad fix build with msvc grischka 2009-05-11 18:53:52 +02:00
  • 03c787d6ce fix unused/uninitalized warnings grischka 2009-05-11 18:46:39 +02:00
  • 40f5ce002e fix warnings with tcc_add/get_symbol grischka 2009-05-11 18:46:25 +02:00
  • 67aebdd5b7 enable making tcc using libtcc grischka 2009-05-11 18:46:02 +02:00
  • 0a35f9d66e move static prototypes to libtcc.c grischka 2009-05-11 18:45:56 +02:00
  • f9181416f6 move some global variables into TCCState grischka 2009-05-11 18:45:44 +02:00
  • 5c6509578e make tcc from tcc.c and libtcc from libtcc.c grischka 2009-05-05 20:41:17 +02:00
  • b8f6e1ae30 move minor things from libtcc.c to other files grischka 2009-05-05 20:30:39 +02:00
  • 92204e8818 move global variables to libtcc.c grischka 2009-05-05 20:30:13 +02:00
  • 9dc9cbf319 move libtcc interface and helper functions to libtcc.c grischka 2009-05-05 20:18:53 +02:00
  • 0d1ed74102 move parser/generator to tccgen.c grischka 2009-05-05 20:18:10 +02:00
  • 805990b94e move preprocessor to tccpp.c grischka 2009-05-05 20:17:49 +02:00
  • ae37bd5abc move declarations to tcc.h grischka 2009-05-05 20:17:26 +02:00
  • a93bcdffae new files: tcc.h libtcc.c tccpp.c tccgen.c grischka 2009-05-05 20:17:11 +02:00
  • 15626621fb cleanup makefiles grischka 2009-04-19 21:24:32 +02:00
  • e9e89ad699 enable backtrace only when it's supported grischka 2009-04-18 18:21:38 +02:00
  • 859da934e0 Return value of exit should be void. Shinichiro Hamaji 2009-04-18 23:55:51 +09:00
  • 48ae0c0468 Fixes for tests/Makefile. Shinichiro Hamaji 2009-04-18 23:53:25 +09:00
  • 5829791ffa fix makefiles etc for subdirs grischka 2009-04-18 14:31:35 +02:00
  • ea5e81bd6a new subdirs: include, lib, tests grischka 2009-04-18 14:28:45 +02:00
  • e8a52a8249 win32: readme.txt->tcc-win32.txt, update tcc-doc grischka 2009-04-18 14:20:27 +02:00
  • eca1fbaf92 mute strange difference in tcctest grischka 2009-04-18 13:30:12 +02:00
  • b56f956247 libtcc: add support to be build as DLL grischka 2009-04-18 13:17:38 +02:00
  • d165e87340 libtcc: new api tcc_set_lib_path grischka 2009-04-18 13:17:27 +02:00
  • 73ba078d2f tcc_relocate: return error and remove unused code grischka 2009-04-18 13:14:07 +02:00
  • d36fea34e3 Call relocate_sym() before we return the offset, so user doesn't need to check the return value twice. Shinichiro Hamaji 2009-04-18 17:02:46 +09:00
  • dd5630ff95 tcc -E: fix pasting empty tokens grischka 2009-04-17 22:44:42 +02:00
  • 0f0ed4a8bf tcc -E: preserve spaces, alternative solution grischka 2009-04-17 22:44:08 +02:00
  • 90697c4c56 CONFIG_TCC_STATIC: add dummy for dlclose grischka 2009-04-17 22:32:54 +02:00
  • d62301b050 avoid warning uninitialized grischka 2009-04-17 22:30:49 +02:00
  • 9a7173bf69 x86-64: Fix tcc -run. We need extra memory for PLT and GOT. Shinichiro Hamaji 2009-04-17 10:17:14 +09:00
  • e6ba81b012 get rid of 8 bytes memory leak grischka 2009-04-16 23:25:25 +02:00
  • b1697be691 change tcc_add/get_symbol to use void* grischka 2009-04-16 21:50:43 +02:00
  • 795f67428e alternative int tcc_relocate(TCCState *s1, void *ptr); grischka 2009-04-16 22:03:03 +02:00
  • 9a8b2912ed TOK_builtin_malloc: alternative solution grischka 2009-04-16 19:32:59 +02:00
  • 742cf05875 x86-64: Define make variable TARGET so that test2 and test3 use correct flag. Shinichiro Hamaji 2009-04-17 01:22:34 +09:00
  • 85d016b507 x86-64: Remove code for debug print. Now, we concat buffers before relocation. So this only happens when users try creating >2GB binary. Shinichiro Hamaji 2009-04-17 01:06:21 +09:00
  • 39a4b859d4 x86-64: Fix cast from integers to pointers. Shinichiro Hamaji 2009-04-17 01:01:23 +09:00
  • 51a7f163ad Work around for the issue TCC doesn't handle -2147483648 properly. Shinichiro Hamaji 2009-04-16 02:41:24 +09:00
  • 83fd36333a Fixes for issues I've just found/introduced to x86 TCC. Shinichiro Hamaji 2009-04-16 02:34:59 +09:00
  • be43c8e0ed x86-64: Cast from 64bit pointer to long long must not generate movslq. Shinichiro Hamaji 2009-04-16 01:32:16 +09:00
  • a9c78d04f2 win32: accept uppercase filename suffixes grischka 2009-04-14 22:01:08 +02:00
  • b879ffa193 x86-64: There can be valid addresses which is greater than 0xc0000000. Shinichiro Hamaji 2009-04-15 04:24:03 +09:00
  • de3f0a46fe Fix for x86-64: The first and second arguments of memcpy must be pointers. Shinichiro Hamaji 2009-04-15 04:19:24 +09:00
  • 2e9b57b6d0 Fix silly typos in the previous change. Shinichiro Hamaji 2009-04-14 01:30:39 +09:00
  • 9fe28b610e x86-64: Make ABI for long double compatible with GCC. Shinichiro Hamaji 2009-04-14 01:12:29 +09:00
  • 0e239e2ba5 Improve the test coverage: !val for float/double/long long f. Shinichiro Hamaji 2009-04-13 04:02:52 +09:00
  • fcf2e5981f x86-64: Combine buffers of sections before we call tcc_run(). Shinichiro Hamaji 2009-04-13 03:22:08 +09:00
  • 830b7533c9 Generate PIC code so that we can create shared objects properly. Shinichiro Hamaji 2009-04-13 00:27:04 +09:00
  • 6c10429aa5 check for absolute include paths grischka 2009-04-03 20:54:34 +02:00
  • 29c8e1545a get rid of "free_section problem" with private sections grischka 2009-04-03 20:52:40 +02:00
  • c80f81c199 tiny_libmaker: fix function array overflow grischka 2009-04-03 20:52:24 +02:00
  • 5818945ef6 accept "restrict" in array-decl (STDC 199901) grischka 2009-04-03 20:52:01 +02:00
  • 0e015988cc i386: apply "align=8 for doubles ..." for PE only grischka 2009-04-03 20:51:37 +02:00
  • 97072b3cd7 x86-64: Now TCC can create healthy shared objects from object files generated by GCC Shinichiro Hamaji 2009-04-05 02:07:19 +09:00
  • 754b0beb7d x86-64 bug fix: Fix stab generation for x86-64. Shinichiro Hamaji 2009-04-04 03:09:35 +09:00
  • e6db5f5fb6 x86-64 bug fix: Use stack with alignment just like 32bit environments. Shinichiro Hamaji 2009-04-02 01:46:44 +09:00
  • 06fa15fb99 x86-64: Save RDX and RCX before we use them as function parameters. Shinichiro Hamaji 2009-04-02 01:40:00 +09:00
  • ebb874e216 Remove multiple definition error caused by combination of x86-64 and va_list. Shinichiro Hamaji 2009-04-01 03:45:18 +09:00
  • 6512d9e2ea Add check for invalid numbers. Shinichiro Hamaji 2009-04-01 02:44:49 +09:00
  • af6cbc48d1 Fix overrun in decl_initializer_alloc. Shinichiro Hamaji 2009-04-01 02:22:20 +09:00
  • 040ef000e4 Better DLL support on x86-64. Shinichiro Hamaji 2009-03-31 22:17:36 +09:00
  • fe8f230ab6 First naive DLL support on x86-64. Shinichiro Hamaji 2009-03-21 12:04:35 +09:00
  • b8a32d8d40 Generate PIC for addresses of symbols. Shinichiro Hamaji 2009-03-20 20:34:58 +09:00
  • 7db1e69df2 Suppress noisy pointer signed-ness warnings on x86-64. Shinichiro Hamaji 2009-03-16 02:47:52 +09:00
  • 006c907da7 Code cleaning: utilize vpushll(). Shinichiro Hamaji 2009-03-16 02:27:23 +09:00
  • 4f056031f4 Support long long bitfields for all architectures. Shinichiro Hamaji 2009-03-16 02:24:45 +09:00
  • 62e73da612 A uint64 bug fix on x86-64 Shinichiro Hamaji 2009-03-15 14:50:38 +09:00
  • ae607280c5 Allow long long as a type of bitfields on x86-64. Shinichiro Hamaji 2009-03-14 22:21:58 +09:00
  • 4a8c2229ce win32: allow user segments as writable & executable grischka 2009-02-16 15:13:29 +01:00
  • 3116744bdd i386: align=8 for double and long long grischka 2009-02-16 15:11:45 +01:00
  • b41fc95566 win32: fix for VC8Express compiler grischka 2009-02-11 16:42:04 +01:00
  • 00f0932760 tcc -E: preserve spaces (partial solution) Kirill Smelkov 2009-01-18 16:52:09 +03:00
  • 6213d4b4b6 string_test: we should always use 'unsigned int' for b Kirill Smelkov 2009-01-18 14:22:19 +03:00
  • 5a044b67bb type_size function returned incorrect size Alexander Egorenkov 2009-02-02 15:49:57 +01:00
  • 64147b346b fix constant optimization for unsigneds grischka 2008-12-28 22:43:41 +01:00
  • 7c3f19c079 fix data overflow with init_putv grischka 2008-12-02 02:34:58 +01:00
  • aa8d22e38e Add several test cases. Shinichiro Hamaji 2008-12-02 03:22:57 +09:00
  • 0a9873aa22 Add support of x86-64. Shinichiro Hamaji 2008-12-02 03:19:25 +09:00
  • fb0ac27691 s/int/unsigned/ since GCC 4.3.2 produces code which doesn't stop. Shinichiro Hamaji 2008-12-02 02:41:48 +09:00
  • 1e776b29d3 Suport LDOUBLE_SIZE == 16 environment. Shinichiro Hamaji 2008-12-02 01:29:45 +09:00
  • ba8c95a98d silly bug fix: s/#ifdef PTR_SIZE == 4/#if PTR_SIZE == 4/ Shinichiro Hamaji 2008-12-01 02:57:11 +09:00
  • 27d23342ea Make tccelf.c 64bit ready. Shinichiro Hamaji 2008-12-01 02:52:08 +09:00
  • c92daa02e4 One more s/int/long/ Shinichiro Hamaji 2008-12-01 02:22:59 +09:00
  • ce8d71edbc Use int*2 instead of long*2 to hold double value. Shinichiro Hamaji 2008-12-01 02:10:06 +09:00