1
0
mirror of https://github.com/mirror/tinycc.git synced 2025-04-11 13:10:21 +08:00

Commit Graph

  • 33257c6439 *BSD: protect against incompatible redefinitions of int64_t/uint64_t. Christian Jullien 2021-01-01 08:50:13 +0100
  • 8db839cc85 FreeBSD32 struct return herman ten brugge 2020-12-31 06:48:14 +0100
  • 9d49883895 update clang warning herman ten brugge 2020-12-31 06:39:56 +0100
  • ea82d0826d tccpp: cleanup target-os defines grischka 2020-12-22 21:10:22 +0100
  • d784b28877 No need for sm_table.size entry Michael Matz 2020-12-31 01:21:52 +0100
  • b117088a91 Explain some reloc hackery Michael Matz 2020-12-31 00:46:23 +0100
  • 60eac659d4 fix cross compiler compilation Michael Matz 2020-12-31 00:16:23 +0100
  • cf10c1db66 Fix clang warnings herman ten brugge 2020-12-30 19:12:05 +0100
  • 85b6efbf0c Real fix include SHT_NOTE sections everywhere herman ten brugge 2020-12-30 18:23:43 +0100
  • 766bd82032 Fix include SHT_NOTE sections everywhere herman ten brugge 2020-12-30 16:24:15 +0100
  • 0821940e26 text relocation for netbsd herman ten brugge 2020-12-30 14:08:06 +0100
  • c13c434383 Fix warnings detected by clang when compiling c2str. Christian Jullien 2020-12-30 08:57:30 +0100
  • cc40305a12 Fix errors with parallel make Michael Matz 2020-12-25 02:10:43 +0100
  • 16ed67537c NetBSD: longjmp(jmp_buf, 0) is not supported. Christian Jullien 2020-12-24 09:29:25 +0100
  • b9db7c90ee NetBSD: arm64 prevent use of __asm. Christian Jullien 2020-12-24 07:31:52 +0100
  • 1032e7175a ELF: include SHT_NOTE sections everywhere Michael Matz 2020-12-24 06:56:46 +0100
  • b56099aeb4 NetBSD: arm64 fix int64_t/uint64_t definitions. Christian Jullien 2020-12-24 06:50:48 +0100
  • 63e29113ab NetBSD: arm64 requires at least gcc 4.1 to work Christian Jullien 2020-12-23 20:52:25 +0100
  • ba61c7bb37 NetBSD: arm64 is curiously detected as evbarm. Struct uc_mcontext is once again different. Christian Jullien 2020-12-23 20:08:26 +0100
  • f7d2d04d96 Fix include/tccdefs.h herman ten brugge 2020-12-22 18:53:29 +0100
  • 0352c41a07 add R_ARM_GOT_PREL for clang herman ten brugge 2020-12-22 14:31:09 +0100
  • 9f6b65230a include/tccdefs.h: moved and use it grischka 2020-12-18 00:33:44 +0100
  • 8f8abcc756 more bsd updates herman ten brugge 2020-12-22 07:02:47 +0100
  • 888f4fd982 FreeBSD (aarch64): fix relocation error. Christian Jullien 2020-12-22 05:52:45 +0100
  • 6cc87629b4 NetBSD: define __amd64__ which is sometimes used in headers. Christian Jullien 2020-12-20 14:19:55 +0100
  • a493fbb1fa *BSD: mention all BSD ports in README. Christian Jullien 2020-12-20 10:50:07 +0100
  • d4a4ee798b FreeBSD: Fix multiple ctype inline definitions Christian Jullien 2020-12-20 09:45:16 +0100
  • ac470a49d5 *BSD: Add few __builtin_ math missing definitions. Christian Jullien 2020-12-20 07:26:04 +0100
  • 7eea5306e9 rename testcase 106 herman ten brugge 2020-12-19 21:02:44 +0100
  • 7f898abb82 bsd update herman ten brugge 2020-12-19 20:55:52 +0100
  • a87dee588b dlltest_arm herman ten brugge 2020-12-19 20:33:36 +0100
  • 50b4f320dc lazy binding herman ten brugge 2020-12-18 15:24:32 +0100
  • e2e62fcb8b replace native platform macros in the compiler grischka 2020-12-16 20:08:43 +0100
  • 02f61d5b49 riscv64: mention this supported cpu in README. Christian Jullien 2020-12-17 09:10:00 +0100
  • d5519c929c OpenBSD: mention this port on README Christian Jullien 2020-12-17 06:22:10 +0100
  • 6eef0e35b4 OpenBSD: testcases herman ten brugge 2020-12-16 17:52:59 +0100
  • f48a9ed001 FreeBSD (on arm64): partial support, only -run works - WIP Christian Jullien 2020-12-13 11:08:44 +0100
  • eab324a7cf NetBSD (on arm64): reorder cpu detection to detect aarch64 target when cpu is arm64 Christian Jullien 2020-12-13 10:22:15 +0100
  • c32cfc1113 NetBSD: predefine __ELF__ macro which is tested by some standard headers Christian Jullien 2020-12-13 07:24:01 +0100
  • f233cb182c NetBSD: reintroduce NetBSD support. Currently, -run works but executable has an incorrect format. Christian Jullien 2020-12-11 14:26:26 +0100
  • 8ff705554d tcc_enter/exit_state(): do not use! grischka 2020-12-07 19:02:42 +0100
  • a06fef3b11 FreeBSD: little better support that targets FreeBSD 12.2 on amd64 but still not working - WIP Christian Jullien 2020-12-08 09:13:29 +0100
  • f9c580b8a0 FreeBSD: start to reintroduce support - WIP Christian Jullien 2020-12-08 06:55:50 +0100
  • 591feda103 OpenBSD: disable some tests herman ten brugge 2020-12-07 12:06:17 +0100
  • 72250bece2 riscv64 relocation fix herman ten brugge 2020-12-07 11:36:54 +0100
  • baacb0f52a OpenBSD: runtime fixes herman ten brugge 2020-12-07 08:27:10 +0100
  • 19d287aae3 OpenBSD: fix typo in _ANSI_LIBRARY defined symbol Christian Jullien 2020-12-07 07:57:01 +0100
  • a3d5e4aa43 OpenBSD: define more internal symbols to support tcc on OpenBSD. Christian Jullien 2020-12-07 07:15:56 +0100
  • 170be79a42 duplicate member herman ten brugge 2020-12-03 07:53:44 +0100
  • 6f2659c230 OpenBSD: SYS_gettid syscall is named SYS_getthrid - WIP Christian Jullien 2020-12-02 08:05:34 +0100
  • 38dea90b2f OpenBSD: workaround missing SYS_gettid - WIP Christian Jullien 2020-11-29 08:54:55 +0100
  • dfe031caa6 OpenBSD: Fix crt startup names - WIP Christian Jullien 2020-11-29 08:47:27 +0100
  • 4e12c2a6dc OpenBSD: improve partial support for x86_64 - WIP Christian Jullien 2020-11-27 11:24:19 +0100
  • cf8d9cf072 win64: fix pe_isafunc() grischka 2020-11-25 11:23:01 +0100
  • 13a18906ef win32 tcc_libm.h: Implemented overrides for msvcrt.dll's frexp(), ldexp(), and fabs() with speedups 4.5X, 7.3X and 6.3X correspondingly. This is the last commit on this for now. Tyge Løvset 2020-11-25 14:29:42 +0100
  • 4a42b0d95e tidy support for helper function such as memmove grischka 2020-11-23 20:15:16 +0100
  • 2f78f54924 win32 libm: Final optimizations and added nan*() function. Tyge Løvset 2020-11-23 20:42:36 +0100
  • 3709f8de14 Treat func pointers with different return types as not compatible Arthur Williams 2020-11-22 00:02:09 -0600
  • 3b1a42e734 Cleanup and minor fixes in win32/tcc/tcc_libm.h: truncf(), cbrtf(), exp2f(), log2f(), scalbln*() Tyge Løvset 2020-11-21 14:45:35 +0100
  • b11144d69c Overhauled WIN32 math and added missing functions: 1) Cleanup: moved function implementations from win32/include/math.h to win32/include/tcc/tcc_libm.h 2) Added missing math functions: MUSL: asinh(), acosh(), atanh(), scalbn(). My impl: log1p(), expm1(), ilogb(), scalbln(), nexttoward() - now only a few are missing: remquo(), remainder(), fma(), nan(), erf(), erfc(), nearbyint(). 3) Added/defined all missing *f() and *l() math functions. 4) Added functions have short but accurate/fast implementations. 5) Added <tgmath.h> for all platforms. (not too useful, IMO, but is C99 standard). Tyge Løvset 2020-11-20 23:34:35 +0100
  • 82611f5e6d Fix char limits Wirtos_new 2020-11-17 09:06:48 +0200
  • 1073b379c8 WIN32/64 only: Added C99 math functions: tgamma(), tgammaf(), lgamma(), lgammaf(), cbrt(), cbrtf(), log2(), log2f(), exp2(), exp2f(). The gamma() functions are accurate to 13 digits over the full range. Returns INFINITY / NAN identical to other compiler's math libs. Tyge Løvset 2020-11-14 00:02:58 +0100
  • 08d8015750 Fix fork problem 114_bound_signal herman ten brugge 2020-11-10 10:08:30 +0100
  • 54b4aa3cd6 Disable signals in bcheck.c pthread_create herman ten brugge 2020-11-09 10:57:14 +0100
  • 8b69059f66 three small fixes & three reverts grischka 2020-10-23 21:38:53 +0200
  • 2b7aa2a1e1 libtcc: no need to undef Kyryl Melekhin 2020-11-01 15:51:50 +0000
  • 985d963745 tcc.h libtcc.c: remove unused defines pretty sure that functions with use_* do not exist and attempts to use the macros will fail to link I could rename them to be more up to date like tcc_malloc, but to me overloading the std calls with macros is probably taking away control from the programmer, so for the best is to just get rid of them. Kyryl Melekhin 2020-11-01 15:24:45 +0000
  • 53587ee415
    tcc_internal_error: print function with __func__. John Scott 2020-10-18 17:54:01 -0400
  • 558c6f56e2
    tcc_mallocz: clear with memset only if nonzero size John Scott 2020-10-16 21:20:33 -0400
  • 72b520e709 tccgen: flex arrays etc. grischka 2020-09-23 12:03:59 +0200
  • 40395511d7 Revert "function pointer compare" grischka 2020-10-03 09:26:12 +0200
  • cdc3df949b tcc -bench: show text/data/bss binary output sizes grischka 2020-09-25 18:03:23 +0200
  • ae1796fc34 Fix testcase 114 for arm and apple herman ten brugge 2020-10-02 17:50:31 +0200
  • 78da4586a0 Fix tests2/120_alias.c on macos Michael Matz 2020-10-01 17:52:16 +0200
  • 0da93838c1 Init range wth symbols herman ten brugge 2020-10-01 17:50:20 +0200
  • afc0917f88 Bound checking fixes herman ten brugge 2020-10-01 17:09:09 +0200
  • 352e1d0fc4 Reinstate attribute alias handling Michael Matz 2020-09-30 17:46:01 +0200
  • 727e24cb0a Add typedef debug info herman ten brugge 2020-09-27 11:13:37 +0200
  • 8fd7a384e2 Fix bitfields init : tiny solution herman ten brugge 2020-09-25 12:23:48 +0200
  • 89ea62481d clang7 does not support zero sized structs herman ten brugge 2020-09-21 15:55:58 +0200
  • 8f9bf3f223 function pointer compare herman ten brugge 2020-09-21 09:18:48 +0200
  • ffac4e7688 Herman proposed patch seems to fix clang issue on x64 Debian Christian Jullien 2020-09-19 08:04:20 +0200
  • 8cb3e5368f bitfields init : tiny solution grischka 2020-09-18 22:53:41 +0200
  • 5c6356ff8e default-initialization of bitfields herman ten brugge 2020-09-18 19:20:57 +0200
  • 6d819d7267 Indentation was missing after empty string check was added by wanjochan. Christian Jullien 2020-09-18 06:39:30 +0200
  • bea7dcde86 check strlen(TCC_LIBTCC1) before tcc_add_support(s1, TCC_LIBTCC1) wanjochan 2020-09-18 06:57:56 +0800
  • aed5cd0ce9 revert 'no-libtcc1' feature grischka 2020-09-17 10:32:48 +0200
  • 4cd6298f9d libtcc1.c: cleanup fp2ull grischka 2020-09-11 01:18:21 +0200
  • 55b4754e84 Revert "add tests for float conversions to u64" Kyryl Melekhin 2020-09-17 07:12:49 +0000
  • c9bbd4e707 Allow strings in __builtin_constant_p herman ten brugge 2020-09-17 09:11:10 +0200
  • 4a16bebfab Struct va_arg fix herman ten brugge 2020-09-17 08:42:28 +0200
  • 757a97466f Fix testcase 114 for macos herman ten brugge 2020-09-17 08:22:53 +0200
  • 13c66526ed Fix wanjochan commit 'when tcc1 omit: use main()' when tcc is bootstrapped by tcc on Windows. Variable must be NULL initialized Christian Jullien 2020-09-17 06:52:39 +0200
  • 15182d7fdd Don't mix code and declaration Christian Jullien 2020-09-17 06:51:59 +0200
  • a3578379fb when tcc1 omit: use main() directly wanjochan 2020-09-17 10:26:16 +0800
  • 7eebf614dc tcc c-tyle-compliance: space between if and ( wanjochan 2020-09-17 06:54:13 +0800
  • 89935229a7 tcc_add_support(): void return for win wanjochan 2020-09-17 00:53:50 +0800
  • 43ae350390 tcc_add_support(): skip when filename is empty wanjochan 2020-09-17 00:47:32 +0800
  • 55eafa66b7 test 114: skip bcheck for osx (tcc -run not support fork with -b) wanjochan 2020-09-17 00:43:19 +0800
  • d55e586bc6 Fix boundschecking fork for macos/SELINUX herman ten brugge 2020-09-14 19:31:56 +0200