Commit graph

  • 2596ba135d sync repo main d0p1 2025-03-01 10:28:53 +0100
  • 5a54c79520 WIP replace ELF part with COFF d0p1 2025-02-21 15:10:26 +0100
  • c5d1e40ebe Further strip down tcc d0p1 2025-02-14 17:47:45 +0100
  • 94b74d446f Remove _WIN32 bullshit (msys2 exist uU) d0p1 2025-02-11 20:40:33 +0100
  • ef94f0cf60 Remove support for threaded use of libtcc.a, It's out of scope d0p1 2025-02-11 20:26:13 +0100
  • 9eb10536b0 Further split tcc into multiple file d0p1 2025-02-11 20:16:44 +0100
  • ca1e24c395 Further refactor code d0p1 2025-02-11 13:07:04 +0100
  • db4e043cd9 Move arguments parsing to option.c d0p1 2025-02-08 18:38:14 +0100
  • 6318a909ff Strip down further TCC (removing unused function, unused parameter...). Split source in multiple files (WIP) d0p1 2025-02-08 15:45:16 +0100
  • f08ef63153 Refactor and remove code (tccdbg, tccmacho, ...) d0p1 2025-02-07 17:17:17 +0100
  • 05611e2658 Strip down TCC source code by removing useless targets d0p1 2025-02-06 11:42:10 +0100
  • f6385c0530 Use TOK_PPNUM/TOK_PPSTR instead of TOK_CINT/TOK_STR herman ten brugge 2025-01-06 19:46:04 +0100
  • 999ec460a6 Allow macro in #line directive herman ten brugge 2025-01-05 20:10:06 +0100
  • 68000c01ae Print correct values for testcase 134 on all targets herman ten brugge 2024-12-30 07:31:16 +0100
  • eef2db71a9 revert commit b8b6a5fd7b kbkpbot 2024-12-30 12:19:01 +0800
  • c6afdff7ab Aligb section at end in tcc_load_object_file herman ten brugge 2024-12-27 09:19:03 +0100
  • 90ae383f62 x86_64/i386: Add missing fetch CPU flag kbkpbot 2024-12-26 12:30:07 +0800
  • af1cfd9e82 fix x86_64/i386 gfunc_call, when arg is VT_STRUCT, need fetch cpu flag before generating any code kbkpbot 2024-12-26 12:30:07 +0800
  • 34b7b2cef5 Add lib/builtin.c to win32/build-tcc.bat Scott Graham 2024-12-15 12:49:16 -0800
  • 8620a312b2 tcc -run file.c : pass original exit code from file.c again grischka 2024-12-13 09:51:32 +0100
  • b776bfaa53 Define LDBL_MAX_10_EXP for aarch64, riscv Keith Thompson 2024-12-11 15:16:31 -0800
  • ea75d5cf39 Add symver support for FreeBSD >= 14 herman ten brugge 2024-12-12 20:59:50 +0100
  • 0ce0533854 add AddVectoredContinueHandler and AddVectoredExceptionHandler to kernel32.def Scott Graham 2024-12-12 11:55:34 -0800
  • 68c8c352fd Avoid Invalid relocation and section conflict on bsd. herman ten brugge 2024-12-12 20:46:00 +0100
  • d440ed819c lib/Makefile: fix out-of-tree build of lib/bt-exe.c Avi Halachmi (:avih) 2024-12-06 23:52:32 +0200
  • a522213cc8 tccpe.c: never assume static system libtaries grischka 2024-12-04 19:48:21 +0100
  • 315828720d configure: --config-mingw32: clarify values, simplify code Avi Halachmi (:avih) 2024-12-02 15:40:40 +0200
  • 126b1ffd10 configure: win32: error only once about 'ln failed' Avi Halachmi (:avih) 2024-12-04 11:20:53 +0200
  • c45559e124 configure: handle spaces correctly in $source_path Avi Halachmi (:avih) 2024-12-04 16:52:19 +0200
  • 9289c6c5e0 configure: confvars: warn/error on bad key or value Avi Halachmi (:avih) 2024-12-04 13:59:33 +0200
  • ab6e750bd5 configure: avoid boilerplate: confvars="$confvars ..." Avi Halachmi (:avih) 2024-12-02 15:10:02 +0200
  • 2127206790 configure: avoid boilerplate: var=echo $opt | ... Avi Halachmi (:avih) 2024-12-02 12:21:41 +0200
  • 6f4b384e79 configure: avoid non-POSIX: local var=... Avi Halachmi (:avih) 2024-12-02 10:22:23 +0200
  • 05ebe494dd configure: avoid non-POSIX: test ... -a/-o ... Avi Halachmi (:avih) 2024-12-03 02:04:46 +0200
  • cea857bf73 configure: win32: don't fail when building using tcc Avi Halachmi (:avih) 2024-12-03 01:13:03 +0200
  • 729918ef35 make: make shorter command lines grischka 2024-11-21 12:03:32 +0100
  • 4b0402825e tccgen: C2x 'enum <tag> : <type> ...' grischka 2024-11-21 11:43:22 +0100
  • 249a0b6b60 win32: add minimal mingw header shellapi.h Avi Halachmi (:avih) 2024-11-30 14:45:42 +0200
  • 085e029f08 fix typos in comments Avi Halachmi (:avih) 2024-11-22 15:33:12 +0200
  • 1cf33feb0f w32: improve quoting when spawning cross-compiler Avi Halachmi (:avih) 2024-11-20 15:30:00 +0200
  • a6ef31823b tcc -ar options: use strchr, strpbrk (trivial, no-op) Avi Halachmi (:avih) 2024-11-21 18:03:53 +0200
  • ef7e84454e Fixing preprocessor edge case preventing building with meson https://github.com/KaruroChori/tcc-vs checkroom 2024-11-20 01:39:04 +0000
  • cff81434a5 win32: 32 bit: allow 64 bit time via __MINGW_USE_VC2005_COMPAT Avi Halachmi (:avih) 2024-11-17 15:49:02 +0200
  • 00b29f49a9 win32: mingw headers: mainly add LOAD_LIBRARY* values Avi Halachmi (:avih) 2024-11-02 01:13:38 +0200
  • dd2e5f8b06 tccelf: cleanup sort_sections() & etc. fixes grischka 2024-11-17 21:39:38 +0100
  • 3eb6352c52 tcc -fgnu89-inline -fno-asynchronous-unwind-tables grischka 2024-11-17 21:10:20 +0100
  • f24727b6bb tcc -freverse-funcargs (reverse evaluation) grischka 2024-11-17 21:04:29 +0100
  • c717bac6e3 tccgen: show useful line number with duplicate switch-case grischka 2024-11-17 20:56:12 +0100
  • f0cd0fbe1b Print bound region when bound checking error occurs herman ten brugge 2024-11-09 08:34:10 +0100
  • 233e22f23d Fix compile problem on windows herman ten brugge 2024-11-09 08:24:58 +0100
  • 322c4dc275 Add support for backtrace() herman ten brugge 2024-11-09 08:04:45 +0100
  • a21b5f1fd7
    x86_64-asm: support endbr64 instruction John Nunley 2024-10-27 15:33:23 -0700
  • 6acf301e77
    x86_64-asm.h: support callq for better compat John Nunley 2024-10-27 15:27:00 -0700
  • 50cfe1141b fix -section-alignment smaller than ELF header size tuxcrafting 2024-10-24 13:02:28 +0300
  • d9f1836124 win32: tcc-win32.txt: fixup 2 mingw includes note Avi Halachmi (:avih) 2024-10-23 16:32:47 +0300
  • c7bf40b958 win32: tcc-win32.txt: fixup mingw includes note Avi Halachmi (:avih) 2024-10-23 16:21:05 +0300
  • 4f7b8304df win32: tcc-win32.txt: add note about mingw includes Avi Halachmi (:avih) 2024-10-23 16:14:40 +0300
  • 45788e91ca win32: make #include <unistd.h> work Avi Halachmi (:avih) 2024-10-23 14:58:27 +0300
  • e1c8d3a1e6 win32: include/sys/types.h: add useconds_t Avi Halachmi (:avih) 2024-10-23 14:39:23 +0300
  • 9fb89c23d0 tcc -ar: pad archive member position to even grischka 2024-10-14 12:40:52 +0200
  • d7f9166ab5 Fix last commit. herman ten brugge 2024-10-20 11:05:10 +0200
  • 5a467ddc98 Move sort_syms to avoid linker error herman ten brugge 2024-10-20 10:57:50 +0200
  • 7a6f3fded4 include/tccdefs.h: has_atttribute -> attribute (fixes 45cff8f03f) Steffen Nurpmeso 2024-10-20 04:41:04 +0200
  • 45cff8f03f tccelf.c: write section headers before sections grischka 2024-10-09 23:15:05 +0200
  • c21576f8a3 Emit better x86_64 asm for constant loads Ben Noordhuis 2024-10-10 22:46:14 +0200
  • b668b72b06 recognize -std=gnu11 and treat it the same as -std=c11 Petr Skocik 2024-10-09 08:22:53 +0200
  • 3110f69e4e update Github action runner macOS to 12 Meng Zhuo 2024-10-08 17:51:34 +0800
  • 3ead10dd94 fix: respect CFLAGS from environment, or set defaults Boian Berberov 2024-09-27 12:26:21 -0600
  • b8b6a5fd7b fix UB in constant folding of double -> signed integer conversion Guest0x0 2024-09-14 06:09:26 +0000
  • 12acbf3e92 tccdbg.c: DW_AT_language now matches the -std option Maxim Logaev 2024-08-20 17:51:12 +0300
  • 3d963aebcd
    Relicensing TinyCC noneofyourbusiness 2024-08-11 15:18:36 +0200
  • 3415dec979
    riscv64-tok.h: don't export internal macros noneofyourbusiness 2024-08-11 00:41:21 +0200
  • 3d65c596a2
    tcc -dumpmachine: output -musl instead of -gnu when TCC_MUSL is defined noneofyourbusiness 2024-08-11 00:17:58 +0200
  • 1cee0908d2 fix: tests broken by use of assembly Jonathan M. Wilbur 2024-07-31 04:31:48 -0400
  • f15008da05 fix: previous two commits Jonathan M. Wilbur 2024-07-31 04:15:45 -0400
  • e4d874d88a fix: code in non-executable ELF sections Jonathan M. Wilbur 2024-07-30 10:33:44 -0400
  • c85eface68 feat: treat unknown macros with arguments as undefined Jonathan M. Wilbur 2024-07-30 08:54:00 -0400
  • 08a4c52de3 tccpp: tcc_warning("extra tokens after directive") grischka 2024-03-22 01:02:30 +0100
  • 6b78e561c8 div fixes grischka 2024-06-11 13:57:22 +0200
  • 3b943bec5d implemented thiscall by copying logic from fastcall Gynt 2024-06-03 13:52:34 +0200
  • 8cd21e91cc Address of solved for riscv64 herman ten brugge 2024-06-01 07:29:28 +0200
  • da5aa7d7a8 win32: wincon.h: support more console mode flags Avi Halachmi (:avih) 2024-05-12 10:51:20 +0300
  • 0aca861194 fixup! riscv: Implement large addend for global address Ekaitz Zarraga 2024-04-28 00:13:01 +0200
  • 8baadb3b55 riscv: asm: implement j offset Ekaitz Zarraga 2024-04-25 15:00:12 +0200
  • 159776304f riscv: asm: Add branch to label Ekaitz Zarraga 2024-04-24 00:37:46 +0200
  • 671d03f944 riscv: Add full fence instruction support Ekaitz Zarraga 2024-04-23 15:01:05 +0200
  • c994068175 riscv: asm: Add load-reserved and store-conditional Ekaitz Zarraga 2024-04-23 12:05:05 +0200
  • 0703df1a6a Fix Extended Asm ignored constraints Ekaitz Zarraga 2024-04-15 16:21:39 +0200
  • 4944f509c3 riscv: Avoid some compiler warnings herman ten brugge 2024-04-13 16:26:12 +0200
  • 6b3cfdd025 riscv: Add extended assembly support Ekaitz Zarraga 2024-03-17 16:07:04 +0100
  • e02eec6bde riscv: fix jal: fix reloc and parsing Ekaitz Zarraga 2024-03-27 00:50:09 +0100
  • 0239133488 fixup! riscv: Add .option assembly directive (unimp) Ekaitz Zarraga 2024-03-23 12:32:32 +0100
  • cbe70fa629 riscv: Add .option assembly directive (unimp) Ekaitz Zarraga 2024-03-20 17:53:41 +0100
  • 618c173421 riscv: libtcc1.c support some builtins for __riscv Ekaitz Zarraga 2024-03-21 01:32:23 +0100
  • 3782da8d0c riscv: Support $ in identifiers in extended asm. Ekaitz Zarraga 2024-03-21 01:29:49 +0100
  • e2d8eb3d1c riscv: jal: Add pseudo instruction support Ekaitz Zarraga 2024-03-20 15:27:06 +0100
  • 409007c9d5 riscv: jalr: implement pseudo and parse like GAS Ekaitz Zarraga 2024-03-20 15:08:18 +0100
  • 8bfef6ab18 riscv: Add pseudoinstructions Ekaitz Zarraga 2024-03-19 23:27:58 +0100
  • 8cbbd2b88a riscv: Use GAS syntax for loads/stores: Ekaitz Zarraga 2024-03-19 11:11:25 +0100
  • 019d10fc12 riscv: Move operand parsing to a separate function Ekaitz Zarraga 2024-03-19 09:45:48 +0100