tinycc/lib
grischka 30afb50e64 arm64-win32 review: fix problems and pass tests
tccpe.c:
- fix arm64 unwind codes (to make native set/longjmp() work)
  sizeof(RUNTIME_FUNCTION) is 8 on arm64 in the first place
  no need to note stack slots if we don't save any registers anyway

arm64-gen.c:
- fix long double reg-move
- fix arm64_hfa() for structs with float arrays
- gfunc_prolog(): setup stackframe eariler (simplifies unwind codes)
- new function gv_addr(RC);

win32/include/setjmp.h:
- provide correct definition for setjmo() (frameoffset = 224)

tccasm.c:
- support ".quad" with symbol & relocation
- support ".size"
- fix ". - symbol" arithmetic

win32/lib/crt1.c and win32/include/stdlib.h:
- do not write to __argc/__argv which reside in msvcrt.dll
  (msvcrt.dll on arm64 does not like that, crashes on unload)

tcc.c,libtcc.c:
- new functions tcc_fopen/fclose to avoid different stdio unstances
  in tcc.exe & libtcc.dll

tests & github workflow:
- add test-win32.bat to run tests with a tcc compiled by build-tcc.bat
- add msvcrt_start.c for gcc/clang to use the same runtime as tcc

  the problem is that newer gcc as well as clang and cl are
  linking to newer runtimes (such as UCRT) that have partially
  different printf format behavior which makes tcctest fail.

  the solution here is to force these compilers to link with
  msvcrt.dll just like tcc.

  Also, there is no gcc on arm64-win32 currently at all.

  Anyway, this approach to running the github CI tests
  does not require msys2.  But It does rely on gnumake
  as well as on some 'sh' shell though which seems to be
  installed somewhere (maybe it is the one from git).
2026-05-04 12:51:10 +02:00
..
alloca-bt.S Add bound check support for alloca on all targets 2025-11-29 07:54:28 +01:00
alloca.S Add bound check support for alloca on all targets 2025-11-29 07:54:28 +01:00
armeabi.c arm double to (unsigned) long long conversion 2025-08-17 08:49:29 +02:00
armflush.c arm64-win32 review: fix problems and pass tests 2026-05-04 12:51:10 +02:00
atomic.S lib/atomic.S: add GNU libatomic copyright notice 2025-07-19 00:30:12 +02:00
bcheck.c x86_64 bound checking failure 2025-08-10 21:55:48 +02:00
bt-dll.c arm64-win32 review: fix problems and pass tests 2026-05-04 12:51:10 +02:00
bt-exe.c arm64-win32 support : runtime 2026-05-04 12:49:53 +02:00
bt-log.c tccrun: review last changes 2024-02-19 17:45:44 +01:00
builtin.c Allow building lib with gcc/clang 2022-12-17 09:37:37 +01:00
dsohandle.c Define __dso_handle in libtcc1.a 2019-06-22 01:38:43 +02:00
lib-arm64.c arm64-win32 review: fix problems and pass tests 2026-05-04 12:51:10 +02:00
libtcc1.c arm64-win32 review: fix problems and pass tests 2026-05-04 12:51:10 +02:00
Makefile arm64-win32 review: fix problems and pass tests 2026-05-04 12:51:10 +02:00
pic86.S some reverts & fixes 2026-01-10 13:46:23 +01:00
runmain.c Fix win64 noreturn problem 2024-02-28 07:37:09 +01:00
stdatomic.c Use asm implements some atomic functions 2025-06-24 22:40:07 +08:00
tcov.c Add tcov support in Makefile 2023-08-31 11:09:49 +02:00
va_list.c reverts (11/2025 - 04/2026) 2026-05-03 11:09:45 +02:00