mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-20 03:44:19 +08:00
The fallback CONTEXT struct for ARM64 (used when __aarch64__ is defined but _ARM64_CONTEXT_DECLARED is not set) incorrectly defined V[32] as DWORD64 (64-bit) instead of ARM64_NT_NEON128 (128-bit). This caused register corruption when RtlRestoreContext restores NEON/VFP registers, as the struct size was 256 bytes instead of the correct 512 bytes. Fixes potential corruption on toolchains that define __aarch64__ but not _ARM64_ (e.g., clang on macOS or certain cross-compilation scenarios). |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| lib | ||
| build-tcc.bat | ||
| tcc-win32.txt | ||
| test_arm64_backtrace.c | ||
| test_arm64_inline_asm.c | ||
| test_arm64_libtcc_context.c | ||
| test_arm64_libtcc_context.S | ||
| test_arm64.c | ||
| test_pe_field_alignment.c | ||
| test_pe_field_alignment.ref | ||
| test_rstdin.c | ||
| test_run_argv.c | ||
| test_run_argv.ref | ||
| test_run_exit.c | ||
| test_run_stdin.c | ||
| test_run_stdin.ref | ||