Commit graph

  • fe6b5c08dc configure: Use the environment variable CC when compiling tcc Detlef Riekenberg 2022-04-12 00:33:35 +0200
  • 6bb41a05d7 Update for gcc12 on x86_64 herman ten brugge 2022-04-11 08:21:34 +0200
  • 5fb582ab7f libtcc: Accept "-g0" to disable debug in addition to "-g", "-g1", "-g2" and "-g3" Detlef Riekenberg 2022-04-10 18:26:14 +0200
  • 3ce7bc6efc Accept option "-Os" and define "__OPTIMIZE_SIZE__" Detlef Riekenberg 2022-04-10 17:32:38 +0200
  • b3bebdb20a libtcc: Allow more values for the -std= option Detlef Riekenberg 2022-04-10 00:55:11 +0200
  • 8759b2581d Makefile: Use the .exe extension only on Windows for the c2str helper program Detlef Riekenberg 2022-04-07 02:18:19 +0200
  • e2e5377e7b Makefile: Add a doc target. Detlef Riekenberg 2022-04-01 21:26:55 +0200
  • 4a03f1fb20 Fix bounds checking struct return on arm/arm64 herman ten brugge 2022-03-28 09:07:09 +0200
  • 0244320b88 Add vla support for arrays with no size herman ten brugge 2022-03-24 10:16:37 +0100
  • 750f0a3e3f As suggested by Herman, move comment to the next line otherwise it incorrectly handles --config-bcheck=no --config-backtrace=no Christian Jullien 2022-03-23 09:03:54 +0100
  • 313855c232 Fix multi dimensional vla arrays on stack herman ten brugge 2022-03-21 11:40:43 +0100
  • 8a3d0a0557 Fix multidimensional arrays on stack herman ten brugge 2022-03-18 07:26:07 +0100
  • 4efcada291 Fix when bound checking and test coverage is used at the same time herman ten brugge 2022-03-17 18:06:02 +0100
  • 184d845838 Fix riscv64 test 90 after struct init commit herman ten brugge 2022-03-17 17:16:24 +0100
  • 291eccc154 Vla fix for 64 bits targets herman ten brugge 2022-03-17 10:06:24 +0100
  • 719d96665e tccgen: Allow struct init from struct grischka 2021-05-15 18:40:16 +0200
  • 0c6adcbe53 tccgen: multi-dimensional vla: bug fixes grischka 2021-12-08 10:49:28 +0100
  • ec5d94291c tccgen: accept array-size expressions in function paramters grischka 2022-03-01 22:00:42 +0100
  • 917aad3bcf Add some missing fdopen(3) checks (Domingo Alvarez Duarte) Steffen Nurpmeso 2022-02-28 21:19:41 +0100
  • 308d8d17dc Fix get thread id in lib/bcheck.c for freebsd herman ten brugge 2022-02-21 09:15:43 +0100
  • 7225282ea5 Small patch from collective work to better support FreeBSD. Christian Jullien 2022-02-20 15:45:24 +0100
  • e9f59c804d Update for freebsd 13.0 herman ten brugge 2022-02-08 18:53:16 +0100
  • 4e0e9b8f21 Add '#define __LITTLE_ENDIAN__ 1' which was missing for macOS port Christian Jullien 2022-01-11 07:06:09 +0100
  • d33b189427 Fix vla bug herman ten brugge 2021-12-27 11:39:52 +0100
  • 1692060fb0 Fix cross compiling tcc on freebsd herman ten brugge 2021-12-27 11:32:35 +0100
  • 6c0e0b998b Fix memcpy1/memcpy2 asm testcode on x86_64 herman ten brugge 2021-12-27 11:24:33 +0100
  • 027b8fb9b8 Add rpath to the library paths instead of state->rpath Riccardo Schirone 2021-12-15 17:45:16 +0100
  • d88857b210 If the DLL has a RPATH, use it when looking for NEEDED libraries Riccardo Schirone 2021-12-15 17:30:25 +0100
  • da11cf6515 Don't skip weak symbols during ar creation Alexander Sosedkin 2021-10-30 16:04:11 +0200
  • 1645616843 Revert "Move almost all global variables to TCCState, actually all tests pass on Ubuntu 18.04 x86_64" mingodad 2021-10-22 07:39:54 +0200
  • 2ce2dbcb09 Revert "Fix some errors on arm64-asm.c, rename some variables, fix several code style declarations" mingodad 2021-10-22 07:39:26 +0200
  • d33f582e25 Revert "Fix missing parameter" mingodad 2021-10-22 07:37:39 +0200
  • 1a8fb94350 Fix missing parameter mingodad 2021-10-22 07:37:15 +0200
  • 61537d899a Fix some errors on arm64-asm.c, rename some variables, fix several code style declarations mingodad 2021-10-22 07:20:00 +0200
  • af686a796b Move almost all global variables to TCCState, actually all tests pass on Ubuntu 18.04 x86_64 mingodad 2021-10-21 20:09:42 +0200
  • ca11849ebb Permit '=' character in configure options Ryan Burns 2021-10-09 17:07:35 -0700
  • 15e9b7384e Add few Windows API that can be used to detect the exact Windows version we are running on. coltrane 2021-09-16 08:52:35 +0200
  • e97e108d0b tccpe: #pragma pack(push) - support this form grischka 2021-08-19 19:01:23 +0200
  • c7a57bf1fa Prepended branch name to githash (tcc -v). WIN32: added githash support. - E.g. "tcc version 0.9.27 mob:675046b (x86_64 Windows)" - WIN32: Replaced compiler opt -O1 and -Os with -O2 (only 1% larger executable). Tyge Løvset 2021-08-21 09:10:56 +0200
  • 675046bd59 tcc/lib: reduce number of files grischka 2021-03-30 11:25:58 +0200
  • e538160a32 Fix netbsd build herman ten brugge 2021-08-03 11:32:54 +0200
  • e449db5f1d macOS: if used, -arch option must match target Christian Jullien 2021-08-02 14:21:28 +0200
  • a951dc026f macOS: add -arch option to allow to bootstrap tcc with tcc on macOS. Christian Jullien 2021-08-02 09:22:46 +0200
  • dda95e9b0b WAIT/POST_SEM(): generalize interface (and more) grischka 2021-08-01 20:04:46 +0200
  • 4b2c6cf3a4 -W[no-]error...: features by shrinkage grischka 2021-07-31 20:44:51 +0200
  • 931a146591 tccdef.h additons for riscv64 newlib stdint Sam Ellicott 2021-07-29 22:36:53 -0400
  • 2709b7ab03 -W[no-]error: fix previous (sigh) Steffen Nurpmeso 2021-07-27 23:19:36 +0200
  • 49cd6f59b2 -W[no-]error: rid of TCCState.warn_none, too; and adjust -h/-hh output Steffen Nurpmeso 2021-07-27 20:55:24 +0200
  • 0d59ac4817 -W[no-]error: fix previous Steffen Nurpmeso 2021-07-27 20:00:20 +0200
  • 0c16762418 -W[no-]error=X: gcc compat: when disabling X again, do not unset the warning Steffen Nurpmeso 2021-07-27 19:48:29 +0200
  • b1d9de6794 [macOS] fix format warning Christian Jullien 2021-07-27 07:54:46 +0200
  • a7a13896b3 Add -W[no-]error=OPTION specific abortions Steffen Nurpmeso 2021-07-27 00:36:45 +0200
  • eadcee6501 macos: yet another tbd adjustment grischka 2021-07-25 20:39:11 +0200
  • ecb384ac0c Fix 'unused function' warning on non-macOS targets Sushant Pandurangi 2021-07-17 13:42:54 +0200
  • 46bf3f940c Add register definitions for OpenBSD/riscv64 Brian Callahan 2021-07-09 12:16:18 -0400
  • ab13f1a25a On Big Sur M1, force a x86_64 native build and count on Rosetta to make job as arm64 is not yet supported. Christian Jullien 2021-07-08 09:37:37 +0200
  • 6e76d894fe Fix macOS memcheck problems herman ten brugge 2021-07-07 10:05:23 +0200
  • 91a956823e [macOS] Add VT_LDOUBLE special case for Rosetta to handle --cpu=x86_64. Christian Jullien 2021-07-07 09:50:20 +0200
  • 592cf7fb25 Temporary remove osx cross build which is broken, at least on Windows. Christian Jullien 2021-07-07 09:09:12 +0200
  • b964fc6922 dlopen does not exist on Windows, recent macOS adds a dlopen call which is skipped on Windows. Christian Jullien 2021-07-07 09:08:15 +0200
  • 588d64c538 (merge) macOS11+ dynamic linker support Sushant Pandurangi 2021-07-06 22:54:28 +0200
  • cca4ece0a8 macOS: get active SDK path from xcode-select Sushant Pandurangi 2021-07-06 22:48:38 +0200
  • d5e4b258e1 Minor fixes for gnu90 compatibility Sushant Pandurangi 2021-07-06 15:59:12 +0200
  • c4a2c52411 Added __faststorefence() MSVC intrinsic (required e.g. by sqlite3). Tyge Løvset 2021-07-04 13:32:55 +0200
  • 33fa3a4d41 macOS 11: tcc -run using dyld shared cache Sushant Pandurangi 2021-07-04 11:07:48 +0200
  • f6fb4d0cf1 macOS 11: link using dyld shared cache Sushant Pandurangi 2021-07-04 11:06:55 +0200
  • e3a0eb5089 Minor change, help message starts with lowercase as other help strings. Christian Jullien 2021-07-02 07:01:13 +0200
  • ee75521dd5 Support -M, -MM, and -MMD Arthur Williams 2021-06-28 00:27:39 -0500
  • 64d29c942a Have '-MF -' write to stdout Arthur Williams 2021-06-28 00:30:51 -0500
  • 24d35faed2 Use grep -q instead of grep --quiet to be more portable Arthur Williams 2021-06-29 00:46:40 -0500
  • 39d586d7fc gcc compiles .h files as .c source code, tcc now does the same and no longer complains with "unrecognized file type". It is however adviced to use "-x c" option which exists for this purpose in gcc and was supported by tcc. Christian Jullien 2021-06-28 13:07:29 +0200
  • b5d4b908c4 Fix function call on arm64 and riscv herman ten brugge 2021-06-22 07:38:39 +0200
  • 0378168c13 Fix macro processing herman ten brugge 2021-05-04 11:22:11 +0200
  • 3564c47e52 Relicensing TinyCC Tyge Løvset 2021-04-27 11:53:22 +0200
  • 431a74a446 Relicensing TinyCC Danny Milosavljevic 2021-04-26 19:33:34 +0200
  • 9b76a64f96 riscv64-asm: Implement asm_clobber Danny Milosavljevic 2021-04-07 11:56:06 +0200
  • 468f338e23 riscv64-asm: Optimize gen_le32 Danny Milosavljevic 2021-04-06 13:47:34 +0200
  • 99189ea707 riscv64-asm: Implement asm_parse_regvar Danny Milosavljevic 2021-04-06 13:43:48 +0200
  • b28bf50d2b riscv64-asm: Add beq, bne, blt, bge, bltu, bgeu Danny Milosavljevic 2021-04-06 13:36:33 +0200
  • 9c0760a4d4 riscv64-asm: Add lb, lh, lw, lbu, lhu, ld, lwu, sb, sh, sw, sd Danny Milosavljevic 2021-04-06 13:32:29 +0200
  • 1e37ec4917 riscv64-asm: Add add, addi, sub, addw, addd, addiw, addid, subw, subd, xor, xori, or, ori, and, andi, slt, slti, sltu, sltiu Danny Milosavljevic 2021-04-06 13:26:09 +0200
  • 8b1a89fbdf riscv64-asm: Add sll, slli, srl, srli, sra, srai, sllw, slld, slliw, sllid, srlw, srld, srliw, srlid, sraw, srad, sraiw, sraid Danny Milosavljevic 2021-04-06 13:22:08 +0200
  • 0b1cc489e1 riscv64-asm: Add lui, auipc Danny Milosavljevic 2021-04-06 13:13:52 +0200
  • e5a898e510 riscv64-asm: Add rdcycle, rdcycleh, rdtime, rdtimeh, rdinstret, rdinstreth Danny Milosavljevic 2021-04-06 12:51:18 +0200
  • 4891ab71a0 riscv64-asm: Add fence, fence.i, scall, sbreak, ecall, ebreak, wfi Danny Milosavljevic 2021-04-06 12:43:21 +0200
  • 7f3114ebba riscv64-asm: Remove asm_error Danny Milosavljevic 2021-04-06 12:35:59 +0200
  • 1432574b2b Fix make lib/stdatomic.c gcc compatible herman ten brugge 2021-04-14 12:22:18 +0200
  • f8e50d23f5 Make lib/stdatomic.c gcc compatible herman ten brugge 2021-04-14 11:59:57 +0200
  • 0f0f701212 Fix va_arg fox x86_64 herman ten brugge 2021-04-13 09:23:13 +0200
  • d64923c7b4 Fix testcase 125 fox x86_64 herman ten brugge 2021-04-13 09:13:25 +0200
  • 035ae7d735 Fix Makefile as suggested by Urs Janßen Christian Jullien 2021-04-09 14:21:36 +0200
  • 48df89e10e stdatomics: tidy & cleanup grischka 2021-03-30 09:26:26 +0200
  • 4bb3b3cec7 stdatomic: simple counter test Dmitry Selyutin 2021-04-05 20:48:50 +0300
  • aa7727964b plt-reloc fix for macos herman ten brugge 2021-04-02 12:51:38 +0200
  • affd736f19 Add 'modified' before hash when tcc is built from a patched mob version. Christian Jullien 2021-04-02 08:00:31 +0200
  • f68b39b922 Surround hash code with double quotes Christian Jullien 2021-03-31 23:15:47 +0200
  • 65d00b13d5 tcc -v displays short hash to ease detection of source version used to compile tcc Christian Jullien 2021-03-31 22:24:29 +0200
  • 47da8e450e stdatomic: ld/st/xchg/cmpxchg on simple types Dmitry Selyutin 2021-03-19 00:54:24 +0300
  • 82b0af7450 Fix empty initializer compile error on win32 Michael Wilder 2021-03-18 18:45:28 -0400
  • 9ed3de91a2 stdatomic: i386/x86_64 support Dmitry Selyutin 2021-03-16 23:59:48 +0300