Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 2835f72c | 2025-08-22 11:24:57 | arm: Fix compilation for Windows ARM targets (#936) The .arch directive is only relevant for ELF targets, it is unsupported for COFF and MachO targets. Before 170bab47c90626a33cd08f2169034600cfd9589c, this was not an issue as the directive was filtered out by the ifndef __clang__. | ||
| 170bab47 | 2025-08-21 11:36:06 | Fix compilation for Cortex-A53 (#934) When cross-compiling with clang and flags "--target=armv7-linux-gnueabihf -mcpu=cortex-a53" compilation failed on instructions, used coprocessor. | ||
| c3a2b657 | 2025-08-21 11:34:22 | Fix test compilation for some Android platforms (#935) | ||
| c9b2a8a4 | 2025-08-07 06:40:35 | riscv: Add static trampoline support (#931) (#933) Add static trampoline support to riscv32 and riscv64 Linux ABIs. The implementation follows the s390x and powerpc implementations which does not introduce a ffi_closure_*_alt function, but rather jumps directly to the ffi_closure_asm function itself. | ||
| e2eda0cf | 2025-08-02 08:56:01 | feat: Update libffi version to 3.5.2 with wasm64 and DragonFly BSD support | ||
| b53b0042 | 2025-08-02 08:52:25 | Fix for systems without O_CLOEXEC | ||
| 20eacb22 | 2025-08-02 15:28:46 | Emscripten: Add wasm64 target (#927) * src/wasm32: Allow building with Emscripten with 64bit support MEMORY64 enables 64bit pointers so this commit updates the accessors for the libffi data structures accordingly. Each JS functions in ffi.c receives pointers as BigInt (i64) values and with casts them to Numer (i53) using bigintToI53Checked. While memory64 supports 64bit addressing, the maximum memory size is currently limited to 16GiB [1]. Therefore, we can assume that the passed pointers are within the Number's range. [1] https://webassembly.github.io/memory64/js-api/#limits Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> * Add wasm64 target to the build scripts This commit adds support for the wasm64 target via the configure script. Emscripten supports two modes of the -sMEMORY64 flag[1] so the script allows users specifying the value through a configuration variable. Additionally, "src/wasm32" directory has been renamed to the more generic "src/wasm" because it's now shared between both 32bit and 64bit builds. [1] https://emscripten.org/docs/tools_reference/settings_reference.html#memory64 Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> * GitHub Actions: Add wasm64 tests This commit adds a test matrix for wasm32, wasm64 and wasm64 with the -sMEMORY64=2 flag, using the latest version of Emscripten. -Wno-main is added to suppress the following warning in unwindtest.cc and unwindtest_ffi_call.cc. > FAIL: libffi.closures/unwindtest_ffi_call.cc -W -Wall -O2 (test for excess errors) > Excess errors: > ./libffi.closures/unwindtest_ffi_call.cc:20:5: warning: 'main' should not be 'extern "C"' [-Wmain] > 20 | int main (void) > | ^ > 1 warning generated. Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> * testsuite: Fix types of main function test_libffi.py calls each test's main function without arguments, but some tests define the main function with parameters. This signature mismatch causes a runtime error with the recent version of Emscripten. This commit resolves this issue by updating the function signatures to match the way they are called. Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> * README: Add document about WASM64 Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> --------- Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> | ||
| b7885ace | 2025-08-02 14:27:51 | fix: enable FFI_MMAP_EXEC_WRIT for DragonFly BSD (#930) Similar to PR #265 [1], we need to enable FFI_MMAP_EXEC_WRIT to use explicit write+exec mapping on DragonFly BSD. Without this fix, we were having segfaults with Meld [2]; it would crash with SIGSEGV after 5 diff operations. The crash was caused by it attempting to execute code from non-execute memory region. Moreover, if we set the `machdep.pmap_nx_enable=2` tunable (i.e., strict NX mode), Meld would crash upon the first diff operation. Fix the `configure.ac` script to enable `FFI_MMAP_EXEC_WRIT` for DragonFly BSD. In addition, add it to the supported platforms table. [1] https://github.com/libffi/libffi/pull/265 [2] https://meldmerge.org/ | ||
| 60671187 | 2025-07-11 03:17:18 | fix(tramp): ensure file descriptor is closed on exec. Thanks to Florian Weimer. c# Please enter the commit message for your changes. Lines starting | ||
| d0f831bc | 2025-06-21 16:05:31 | feat: add QUESTION to .gail-labels |