Commit Graph

  • e301a0ba8d Removed __bound_exit_dll from lib/bt-dll.c herman ten brugge 2022-05-19 09:42:41 +02:00
  • aaec564a82 Fix bound checking dlcose problem herman ten brugge 2022-05-19 07:40:14 +02:00
  • 4c82b00342 Update for elflint problems herman ten brugge 2022-05-17 07:34:10 +02:00
  • a4f9e3cf4c configure: Use the environment variable CC when compiling tcc (resend) Detlef Riekenberg 2022-05-15 23:18:41 +02:00
  • 0e47167cbe New dwarf update herman ten brugge 2022-05-14 15:58:40 +02:00
  • 53dd065daf Fix unicode compiler warning again herman ten brugge 2022-05-14 15:55:27 +02:00
  • 19cc80788d Fix unicode compiler warning herman ten brugge 2022-05-12 11:18:37 +02:00
  • e7396c99b0 Dwarf update herman ten brugge 2022-05-12 08:15:28 +02:00
  • 748e38ad99 Fix stupid typo. herman ten brugge 2022-05-10 07:21:49 +02:00
  • 9a81e6366b Fix vla type bug for stabs/dwarf herman ten brugge 2022-05-10 07:16:38 +02:00
  • 2caaff20fb tccdbg.c: new file grischka 2022-05-09 17:02:09 +02:00
  • 56481d554f bored... grischka 2022-05-07 23:16:13 +02:00
  • 1cd7998905 tccmacho: avoid warnings with strncpy and always terminate the target string Detlef Riekenberg 2022-05-09 12:49:48 +02:00
  • 0241120b54 Dwarf update for readelf herman ten brugge 2022-05-09 08:04:37 +02:00
  • 499cf2305b Add dwarf clang support herman ten brugge 2022-05-07 18:10:59 +02:00
  • 18808e325f Update dwarf2 support herman ten brugge 2022-05-07 06:54:13 +02:00
  • f0df48fcdd Fix dwarf on 32 bits targets herman ten brugge 2022-05-05 09:23:29 +02:00
  • 2f2708a769 Add dwarf support herman ten brugge 2022-05-05 09:10:37 +02:00
  • d3e940c71c include/float.h: Define DECIMAL_DIG illiliti 2022-04-28 21:41:44 +03:00
  • fa9c31c3db tcc.h: Extend search path for include, lib and crt. Detlef Riekenberg 2022-04-28 17:36:10 +02:00
  • 9ac128c0bd Makefile: Add a comment with an option to debug the Makefile Detlef Riekenberg 2022-04-27 20:25:23 +02:00
  • 5a3d1024d9 Update global help to tell that obj files are now optional with -ar driver Christian Jullien 2022-04-19 07:53:19 +02:00
  • 39ea340a31 Add option -e for setting ELF file's entry Ziyao 2022-04-18 14:26:15 +08:00
  • 0366924047 Add support of ldmxcsr and stmxcsr instructions on x86_64 and i386 Ziyao 2022-04-18 14:25:11 +08:00
  • 8777ae984c Allowing 'tcc -ar' to create empty archives Ziyao 2022-04-18 14:23:03 +08:00
  • d3e4664629 Optimize prolog code on arm64 herman ten brugge 2022-04-15 20:11:18 +02:00
  • e86aae4f6d Add default case to relocate function for x86_64 herman ten brugge 2022-04-12 07:11:52 +02:00
  • c1725a8f6e Only define alloca on i386/x86_64 herman ten brugge 2022-04-12 07:07:40 +02:00
  • a5588501ab Fix vla support for arrays with no size herman ten brugge 2022-04-12 07:03:33 +02:00
  • aea68dbb40 arm-asm, arm64-link: Silence warnings for unused functions Detlef Riekenberg 2022-04-12 02:11:06 +02:00
  • ac42d6826b tccgen: Avoid warnings in callers of the type_size() function. Detlef Riekenberg 2022-04-12 01:30:44 +02:00
  • ecf8e5a00e tccelf: Avoid a compiler warning with snprintf Detlef Riekenberg 2022-04-12 01:06:10 +02:00
  • fe6b5c08dc configure: Use the environment variable CC when compiling tcc Detlef Riekenberg 2022-04-12 00:33:35 +02:00
  • 6bb41a05d7 Update for gcc12 on x86_64 herman ten brugge 2022-04-11 08:21:34 +02:00
  • 5fb582ab7f libtcc: Accept "-g0" to disable debug in addition to "-g", "-g1", "-g2" and "-g3" Detlef Riekenberg 2022-04-10 18:26:14 +02:00
  • 3ce7bc6efc Accept option "-Os" and define "__OPTIMIZE_SIZE__" Detlef Riekenberg 2022-04-10 17:32:38 +02:00
  • b3bebdb20a libtcc: Allow more values for the -std= option Detlef Riekenberg 2022-04-10 00:55:11 +02:00
  • 8759b2581d Makefile: Use the .exe extension only on Windows for the c2str helper program Detlef Riekenberg 2022-04-07 02:18:19 +02:00
  • e2e5377e7b Makefile: Add a doc target. Detlef Riekenberg 2022-04-01 21:26:55 +02:00
  • 4a03f1fb20 Fix bounds checking struct return on arm/arm64 herman ten brugge 2022-03-28 09:07:09 +02:00
  • 0244320b88 Add vla support for arrays with no size herman ten brugge 2022-03-24 10:16:37 +01:00
  • 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 +01:00
  • 313855c232 Fix multi dimensional vla arrays on stack herman ten brugge 2022-03-21 11:40:43 +01:00
  • 8a3d0a0557 Fix multidimensional arrays on stack herman ten brugge 2022-03-18 07:26:07 +01:00
  • 4efcada291 Fix when bound checking and test coverage is used at the same time herman ten brugge 2022-03-17 18:06:02 +01:00
  • 184d845838 Fix riscv64 test 90 after struct init commit herman ten brugge 2022-03-17 17:16:24 +01:00
  • 291eccc154 Vla fix for 64 bits targets herman ten brugge 2022-03-17 10:06:24 +01:00
  • 719d96665e tccgen: Allow struct init from struct grischka 2021-05-15 18:40:16 +02:00
  • 0c6adcbe53 tccgen: multi-dimensional vla: bug fixes grischka 2021-12-08 10:49:28 +01:00
  • ec5d94291c tccgen: accept array-size expressions in function paramters grischka 2022-03-01 22:00:42 +01:00
  • 917aad3bcf Add some missing fdopen(3) checks (Domingo Alvarez Duarte) Steffen Nurpmeso 2022-02-28 21:19:41 +01:00
  • 308d8d17dc Fix get thread id in lib/bcheck.c for freebsd herman ten brugge 2022-02-21 09:15:43 +01:00
  • 7225282ea5 Small patch from collective work to better support FreeBSD. Christian Jullien 2022-02-20 15:45:24 +01:00
  • e9f59c804d Update for freebsd 13.0 herman ten brugge 2022-02-08 18:53:16 +01:00
  • 4e0e9b8f21 Add '#define __LITTLE_ENDIAN__ 1' which was missing for macOS port Christian Jullien 2022-01-11 07:06:09 +01:00
  • d33b189427 Fix vla bug herman ten brugge 2021-12-27 11:39:52 +01:00
  • 1692060fb0 Fix cross compiling tcc on freebsd herman ten brugge 2021-12-27 11:32:35 +01:00
  • 6c0e0b998b Fix memcpy1/memcpy2 asm testcode on x86_64 herman ten brugge 2021-12-27 11:24:33 +01:00
  • 027b8fb9b8 Add rpath to the library paths instead of state->rpath Riccardo Schirone 2021-12-15 17:45:16 +01:00
  • d88857b210 If the DLL has a RPATH, use it when looking for NEEDED libraries Riccardo Schirone 2021-12-15 17:30:25 +01:00
  • da11cf6515 Don't skip weak symbols during ar creation Alexander Sosedkin 2021-10-30 16:04:11 +02:00
  • 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 +02:00
  • 2ce2dbcb09 Revert "Fix some errors on arm64-asm.c, rename some variables, fix several code style declarations" mingodad 2021-10-22 07:39:26 +02:00
  • d33f582e25 Revert "Fix missing parameter" mingodad 2021-10-22 07:37:39 +02:00
  • 1a8fb94350 Fix missing parameter mingodad 2021-10-22 07:37:15 +02:00
  • 61537d899a Fix some errors on arm64-asm.c, rename some variables, fix several code style declarations mingodad 2021-10-22 07:20:00 +02:00
  • 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 +02:00
  • ca11849ebb Permit '=' character in configure options Ryan Burns 2021-10-09 17:07:35 -07:00
  • 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 +02:00
  • e97e108d0b tccpe: #pragma pack(push) - support this form grischka 2021-08-19 19:01:23 +02:00
  • 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 +02:00
  • 675046bd59 tcc/lib: reduce number of files grischka 2021-03-30 11:25:58 +02:00
  • e538160a32 Fix netbsd build herman ten brugge 2021-08-03 11:32:54 +02:00
  • e449db5f1d macOS: if used, -arch option must match target Christian Jullien 2021-08-02 14:21:28 +02:00
  • a951dc026f macOS: add -arch option to allow to bootstrap tcc with tcc on macOS. Christian Jullien 2021-08-02 09:22:46 +02:00
  • dda95e9b0b WAIT/POST_SEM(): generalize interface (and more) grischka 2021-08-01 20:04:46 +02:00
  • 4b2c6cf3a4 -W[no-]error...: features by shrinkage grischka 2021-07-31 20:44:51 +02:00
  • 931a146591 tccdef.h additons for riscv64 newlib stdint Sam Ellicott 2021-07-29 22:36:53 -04:00
  • 2709b7ab03 -W[no-]error: fix previous (sigh) Steffen Nurpmeso 2021-07-27 23:19:36 +02:00
  • 49cd6f59b2 -W[no-]error: rid of TCCState.warn_none, too; and adjust -h/-hh output Steffen Nurpmeso 2021-07-27 20:55:24 +02:00
  • 0d59ac4817 -W[no-]error: fix previous Steffen Nurpmeso 2021-07-27 20:00:20 +02:00
  • 0c16762418 -W[no-]error=X: gcc compat: when disabling X again, do not unset the warning Steffen Nurpmeso 2021-07-27 19:48:29 +02:00
  • b1d9de6794 [macOS] fix format warning Christian Jullien 2021-07-27 07:54:46 +02:00
  • a7a13896b3 Add -W[no-]error=OPTION specific abortions Steffen Nurpmeso 2021-07-27 00:36:45 +02:00
  • eadcee6501 macos: yet another tbd adjustment grischka 2021-07-25 20:39:11 +02:00
  • ecb384ac0c Fix 'unused function' warning on non-macOS targets Sushant Pandurangi 2021-07-17 13:42:54 +02:00
  • 46bf3f940c Add register definitions for OpenBSD/riscv64 Brian Callahan 2021-07-09 12:16:18 -04:00
  • 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 +02:00
  • 6e76d894fe Fix macOS memcheck problems herman ten brugge 2021-07-07 10:05:23 +02:00
  • 91a956823e [macOS] Add VT_LDOUBLE special case for Rosetta to handle --cpu=x86_64. Christian Jullien 2021-07-07 09:50:20 +02:00
  • 592cf7fb25 Temporary remove osx cross build which is broken, at least on Windows. Christian Jullien 2021-07-07 09:09:12 +02:00
  • 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 +02:00
  • 588d64c538 (merge) macOS11+ dynamic linker support Sushant Pandurangi 2021-07-06 22:54:28 +02:00
  • cca4ece0a8 macOS: get active SDK path from xcode-select Sushant Pandurangi 2021-07-06 22:48:38 +02:00
  • d5e4b258e1 Minor fixes for gnu90 compatibility Sushant Pandurangi 2021-07-06 15:59:12 +02:00
  • c4a2c52411 Added __faststorefence() MSVC intrinsic (required e.g. by sqlite3). Tyge Løvset 2021-07-04 13:32:55 +02:00
  • 33fa3a4d41 macOS 11: tcc -run using dyld shared cache Sushant Pandurangi 2021-07-04 11:07:48 +02:00
  • f6fb4d0cf1 macOS 11: link using dyld shared cache Sushant Pandurangi 2021-07-04 11:06:55 +02:00
  • e3a0eb5089 Minor change, help message starts with lowercase as other help strings. Christian Jullien 2021-07-02 07:01:13 +02:00
  • ee75521dd5 Support -M, -MM, and -MMD Arthur Williams 2021-06-28 00:27:39 -05:00