Commit Graph

  • ed0d315ebb Support basic libc function meesbs Marko Semet 2020-05-23 01:35:11 +0200
  • 785af9373a TCC tools don't run exec command. Marko Semet 2020-05-21 04:27:31 +0200
  • d5bd2531b0 Implemenations for the cstring header. Marko Semet 2020-05-21 04:19:56 +0200
  • 15ec4e90f2 Add basic bootstrap code. Marko Semet 2020-05-16 19:15:10 +0200
  • 4429cef9f6 tccgen.c: merge more function attributes mob grischka 2020-05-13 11:14:53 +0200
  • 7bb5454ef3 make SILENT=yes grischka 2020-04-12 17:34:01 +0200
  • 92236bfe1d Rework help messages: split --version -v and -vv, display -m32/64 only when available on current plateform. Christian Jullien 2020-05-11 16:23:48 +0200
  • 9c28349757 tccgen.c: cleanup debug support grischka 2020-05-05 14:47:00 +0200
  • 5bc1720776 tccgen.c: move 'alloca_used' complication to *-gen files grischka 2020-05-05 14:36:35 +0200
  • 8de7c092f0 Support --version cmdline arg Michael Matz 2020-05-10 22:47:53 +0200
  • 29ba50da29 Fix some printf like functions herman ten brugge 2020-05-05 09:00:24 +0200
  • 8370bc03a1 Allow signal handlers when bound checking herman ten brugge 2020-05-05 08:31:57 +0200
  • 973a14bb2f Fix symbolic debugging for -g -dt -run herman ten brugge 2020-05-04 08:13:41 +0200
  • 3e731e3a78 Add symbolic debug support herman ten brugge 2020-05-03 11:59:57 +0200
  • fb1fb8219c riscv64: fcvt.d.s doesn't need a rounding mode Michael Matz 2020-04-16 00:00:13 +0200
  • 2f94390223 musl: disable boundcheck tests Michael Matz 2020-04-15 22:06:02 +0200
  • 245f6a0d13 stdarg: always have the __builtin_va_* available Michael Matz 2017-12-25 21:32:27 +0100
  • 8c6143d86f Fix stdarg on x86-64 Michael Matz 2020-04-15 04:13:05 +0200
  • 1803762e3f Make tcclib1.a compile on macOS again Robert Hoelzl 2020-04-12 00:39:47 +0200
  • 38ab621b55 Factor out common type combination Michael Matz 2020-01-18 02:36:29 +0100
  • c085645f98 Expect c99 support in tcctest.c Michael Matz 2020-04-15 02:06:44 +0200
  • 00fbf65524 Move type_incompatibility_error earlier Michael Matz 2020-04-15 02:08:09 +0200
  • 096c93c0c6 Fix interaction of (local) labels and stmt exprs Michael Matz 2020-04-14 22:35:58 +0200
  • 6696da2f61 win32: long double as distinct C-type grischka 2020-02-23 00:11:03 +0100
  • d019586378 win32/include/math.h: rint/trunc: pop fp stack grischka 2020-02-24 15:48:01 +0100
  • 024214af2d Finalizing math.h fixes: - Updated msvcrt.def with symbols from 64bit version of dll - it contains the float math functions missing in the 32bit dll. - Made sure this patch only apply to to WIN32 and WIN64. For WIN32 float functions calls the double variants, on 64bit they are called natively. Tyge 2020-04-11 02:29:51 +0200
  • df67d8617b Minimum changes to make all float variants of math.h functions work, by calling the double functions and removing unsupported __asm implementations using "=t". This patch also enables the double version of logb(double). Tyge 2020-04-07 20:18:51 +0200
  • c386ca91c6 OSX: libtcc.dylib Makefile fix wanjochan 2020-03-22 20:36:14 +0800
  • 5ade19c421 Add a test function which verifies we can pass a struct ptr to va_arg for all supported architectures. The bug has been identify by trying to compile FFTW-3.3.8. Christian Jullien 2020-03-22 08:40:35 +0100
  • ec0e93616f Fix arm64-gen.c when passing a struct ptr to va_arg. Christian Jullien 2020-03-22 08:26:03 +0100
  • 6fa78a3635 OSX: make libtcc.dylib wanjochan 2020-03-21 23:57:00 +0800
  • 4caa9a4cc7 relocate_syms() should using !(nostdlib) for parameter "int do_resolve" wanjochan 2020-03-14 16:17:39 +0800
  • 704b602184 instruduce C2x _Static_assert syntaxe matthias 2020-02-29 01:55:11 +0100
  • cb041f11f6 improve _Static_assert matthias 2020-02-29 01:24:35 +0100
  • e050ae845e win32/build-tcc.bat: clean .o in win32/lib Sizhe Zhao 2020-02-11 12:57:12 +0800
  • 923100c498 Better follow spacing style. (only changed formatting) Udo 2020-02-18 21:11:49 +0100
  • 9272fac7c4 rework type coercion in ternary expr (a bit) and uncomment previously failing test. Be more explicit in diagnostic messages. Udo 2020-02-17 18:25:43 +0100
  • a9e7fe19c7 extend test 03_struct for attr. __cleanup__ Udo 2020-02-09 18:31:19 +0100
  • 89b3cf0b87 warn if attr. __cleanup__ is given in type decl. (Allow this as an extension?) Udo 2020-02-09 18:21:59 +0100
  • c092f2ed61 Check if symbol given for attr. cleanup is actually a function Udo 2020-02-07 23:23:31 +0100
  • 7e901299bf Rework expr_infix grischka 2020-01-21 14:23:57 +0100
  • aeac24de98 Rework expr_landor Michael Matz 2020-01-13 01:06:25 +0100
  • 23a8bac7b5 Use precedence parser for expressions Michael Matz 2017-01-17 03:56:42 +0100
  • fdeeb62e28 Fix symbol versions with shared libs Michael Matz 2020-01-20 05:31:09 +0100
  • d79e1dee8c backtrace: test with DLLs grischka 2020-01-19 11:15:12 +0100
  • a5f6e6189e Make 112_backtrace/bcheck_123 more robust Michael Matz 2020-01-18 03:06:44 +0100
  • 2b7cffac74 fixes for previous commit grischka 2020-01-18 01:22:28 +0100
  • ef42295fe8 tccrun.c: standalone backtraces with -bt[N] or -b gr 2020-01-17 22:58:39 +0100
  • 4092b05068 Exclude ellipsis functions from bounds checking. This fails on i386. herman ten brugge 2020-01-16 09:40:33 +0100
  • c2976962da Merge branch 'mob' of git://repo.or.cz/tinycc into mypatch Christian Jullien 2020-01-16 09:00:26 +0100
  • c7e3d5d7a3 Add _ISOCxx_SOURCE glibc compatible macros. Christian Jullien 2020-01-16 08:58:43 +0100
  • 0d7c40b948 Call pop_local_syms before gfunc_epilog herman ten brugge 2020-01-16 08:24:17 +0100
  • 65f2fe390c Cleanup new bound checking code Michael Matz 2020-01-16 01:19:59 +0100
  • 4a70b2bc2d Fix handling of unevaluated subexpression of const Michael Matz 2020-01-15 23:32:40 +0100
  • 3877618785 Update bound checking code. herman ten brugge 2020-01-15 08:53:19 +0100
  • 0d6801b130 C11, section 7.2: The macro static_assert expands to _Static_assert. This macro was missing on Windows Christian Jullien 2020-01-14 07:41:58 +0100
  • 269042503e Fix sellinux pointer code in tccrun. Free all memory on exit in __bound_exit. herman ten brugge 2019-12-23 20:23:18 +0100
  • f150f93854 Fix the get_asm_string fail on i386 in another way Michael Matz 2019-12-17 17:54:54 +0100
  • 43fb5a72e7
    tcctest: explain why i386 is not tested Giovanni Mascellani 2019-12-17 12:36:02 +0100
  • 1d4d74d6d0 Use explicit signed char in char_short_test Michael Matz 2019-12-17 04:56:54 +0100
  • c8ca64d28b Adjust return value promotion for some archs Michael Matz 2019-12-17 01:46:06 +0100
  • 2d17e5a6c4 riscv64: adjust for cast changes Michael Matz 2019-12-17 00:48:57 +0100
  • d30d68d738 #pragma comment(option, "file.c") grischka 2019-12-16 22:34:47 +0100
  • a64353ce71 tccgen.c: generic char/short promotion for function return values grischka 2019-09-23 17:45:39 +0200
  • 89372dc482 update gen_cast grischka 2019-12-16 18:51:28 +0100
  • 35475b5423 remove VT_LVAL_BYTE etc. grischka 2019-12-16 18:48:31 +0100
  • 5914f4d57d tccgen.c: cleanup reg classes grischka 2019-12-16 18:44:35 +0100
  • ff3b5ee91c -bench fix grischka 2019-12-14 12:31:03 +0100
  • b476a5f478 Readd lost error on local static function decls Michael Matz 2019-12-16 06:54:18 +0100
  • 6cb68c3a17 arm64: fix some casts Michael Matz 2019-12-15 00:05:30 +0100
  • 2fb79a6326 Fix some races Michael Matz 2019-12-14 23:58:45 +0100
  • 65f74a4df0 tccrun.c: better stab debug support grischka 2019-12-14 12:36:12 +0100
  • 56db092ab7 bcheck cleanup grischka 2019-12-12 15:45:45 +0100
  • a86f47889c Fix debug info herman ten brugge 2019-12-13 15:07:02 +0100
  • 87639aae7c Add linenumber filename support for bounds checking. herman ten brugge 2019-12-13 13:45:09 +0100
  • 56e70bfa31 Fix bounds checking new functions. herman ten brugge 2019-12-13 10:02:20 +0100
  • 39c0ff311d Add new bounds checking functions. herman ten brugge 2019-12-12 20:49:35 +0100
  • 35512be1ee Fix typo with -ba option herman ten brugge 2019-12-12 14:21:07 +0100
  • 75145ddc1a Add -ba option for bounds_checking herman ten brugge 2019-12-12 13:29:45 +0100
  • 4a2e33d160 Update bounds checking. herman ten brugge 2019-12-12 12:56:06 +0100
  • ce4eafb34f Include some headers in new multi-thread test Michael Matz 2019-12-12 03:31:21 +0100
  • 11fc58fa13 Fix parallel make targets Michael Matz 2019-12-12 02:00:13 +0100
  • 90e09ed75f Disable thumb code generation on tcctest.gcc Michael Matz 2019-12-12 01:52:50 +0100
  • 83f822d0cd Also parse -Dfoo in libtcc_test_mt Michael Matz 2019-12-12 01:39:58 +0100
  • 8b23662d53 Fix libtcc_test_mt with lib64 Michael Matz 2019-12-11 17:57:43 +0100
  • b3893baa45 Fix3 alloca on x86_64 windows herman ten brugge 2019-12-11 14:26:27 +0100
  • b45a8d456d Fix2 alloca on x86_64 windows herman ten brugge 2019-12-11 14:22:01 +0100
  • 426d32af23 Fix alloca on x86_64 windows herman ten brugge 2019-12-11 14:06:15 +0100
  • a0bc149b0c Fix bounds checking after concurrently commit herman ten brugge 2019-12-11 12:07:48 +0100
  • 72729d8e36 allow libtcc states to be used concurrently grischka 2019-12-11 00:37:18 +0100
  • 6082dd62bb tcc -vv ... : show objects loaded from archives grischka 2019-12-10 20:50:45 +0100
  • df349ddc43 versym cleanup grischka 2019-12-09 20:32:13 +0100
  • 4d297d354c Add bound checking print heap herman ten brugge 2019-12-10 19:47:33 +0100
  • fb22e0c12d Fix type/r/r2 confusion differently Michael Matz 2019-12-10 17:49:04 +0100
  • ac2a61d1b3 Add dependency on libtccb1.a Michael Matz 2019-12-10 17:48:23 +0100
  • 353db307ed Fix compile warning with cross compilers Michael Matz 2019-12-10 16:56:10 +0100
  • 88dd577302 Disable bounds_check1_test on arm herman ten brugge 2019-12-10 09:39:45 +0100
  • 17850a51f5 Fix bounds checking on targets with no bcheck.c herman ten brugge 2019-12-10 08:44:44 +0100
  • 4461f38a9e Fix bounds checking for linux/windows herman ten brugge 2019-12-10 08:07:25 +0100
  • 474f95dda8 Fix setting of options Michael Matz 2019-12-05 17:04:04 +0100