Release 3.8.1 testsuite: add new tests to EXTRA_DIST so they ship in the release testsuite: add the new tests to EXTRA_DIST so they ship in the release README: tighten the TBD changelog and fold in the security fixes ci(emscripten): get the browser test job green (pytest 9.x + closure_mmap_failure) testsuite: guard closure_mmap_failure for non-glibc harnesses ci(emscripten): bump pytest-pyodide 0.59.2 -> 0.59.4 for pytest 9.x testsuite: guard closure_raw on !FFI_NO_RAW_API (fix Emscripten CI) ci: xfail x86_64 Android ld-struct return; drop dead macos-14 runner CI: make dist PDF best-effort (Android) and xfail closure_raw on i686 MSVC testsuite: xfail closure_raw on i686 MSVC (libffi #1074) build: make the dist-hook PDF manual truly best-effort CI: fix regressions from new tests + complete the dist-hook docs guard testsuite: xfail more mips N64 complex/fp-return tests (libffi #1071) build: only build the PDF manual in dist-hook when texi2pdf is present testsuite: fix closure_raw user_data cast for LLP64 (Windows) README: complete and consolidate the TBD changelog CI: fix make dist doc build and closure_mmap_failure on Android README: complete and consolidate the TBD changelog for the release testsuite: xfail mips N64 complex/fp-return tests (libffi #1071) testsuite: restrict closure_mmap_failure to glibc Linux build: only build docs in dist-hook when docs are enabled configure: keep assembler defaults in sync with final CFLAGS mips: Use CFI directives in N32/N64 assembly Fix WASM heap view indexing at 2 GiB and above x86-64: return a struct with one long double member in %st0 Fix raw-API closures under static trampolines (GHSA-w6j9-w53f-2857) x86: support static trampolines in the i386 native raw closure path raw API: pass the closure, not codeloc, as the translate-args user_data s390x: pass 128-bit integer arguments to closures by reference (GHSA- wf8m-qr3x-cch4) Merge remote-tracking branch 'origin/master' into wf8m-merge aarch64: fix large-struct pointer offset and HFA/HVA detection (GHSA-h52h-3759-xqm4) Merge remote-tracking branch 'origin/master' into h52h-merge Harden static-trampoline code-table lookup against path attacks (GHSA- fq46-69xf-x5gf) s390x: pass 128-bit integer arguments to closures by reference aarch64: fix homogeneous-aggregate detection (HFA/HVA) aarch64: place spilled large-struct pointer at an 8-byte-aligned slot Harden static-trampoline code-table lookup against path attacks Fix heap use-after-free in Darwin trampoline-table closure allocator (GHSA-23hx-9rxv-9qfp) Merge remote-tracking branch 'origin/master' into fix/ghsa-23hx-9rxv-9qfp- trampoline-uaf Reject x86-64 vector types with an undefined calling convention (GHSA-5pc3-hr6f-q3mm) Reject x86-64 vector types with an undefined calling convention Fix heap use-after-free in Darwin trampoline-table closure allocator Fix WASM heap view indexing at 2 GiB and above mips: Use CFI directives in N32/N64 assembly configure: keep assembler defaults in sync with final CFLAGS x86-64: return a struct with one long double member in %st0 Fix unbounded executable mmap retries configure: honor explicit --enable-docs closures: keep the dlmalloc 2.8.6 additions static x86-64: copy the upper half of 16-byte vector arguments in call plans riscv: ignore return buffer for void calls x86-64: fix build with missing CFI configure: respect every explicit libdir spelling mips: bound small complex return stores mips: fix O32 complex call and closure returns ci: name the QEMU binfmt package correctly aarch64: fix small composite stack slots on Darwin aarch64: match Darwin stack slots to compiler ABI testsuite: check a small struct passed on the stack aarch64: give small composites full stack slots on Darwin sparc64: fix small integer complex ABI handling ci: fix QEMU package provisioning on Ubuntu 26.04 ci: keep MIPS64EL cross build on Ubuntu 24.04 ci: fix qemu package provisioning on Ubuntu 26.04 x86-64: fix build with missing CFI configure: respect every explicit libdir spelling NetBSD: handle sysconf failure in ffi_closure_alloc README: note cross-architecture ABI improvements arm: fix struct return argument space and small complex values arm: pass sub-word complex arguments to big-endian closures in place arm: lay out the arguments behind the hidden struct return pointer loongarch: add support for complex types riscv: add support for complex types mips: fix N32/N64 soft-float returns of floating-point structs mips: fix big-endian N32/N64 closure returns of small integers powerpc: add complex type support for 32-bit SYSV powerpc: fix big-endian closure returns of small structs x86: pass complex arguments of up to 4 bytes like structs on i386 testsuite: complex arguments near register exhaustion, small integer complex testsuite: use register-sized struct return storage x86: leave complex arguments out of native raw calls testsuite: use register-sized complex return storage mips: fix big-endian N32/N64 closure returns of small integers powerpc: fix big-endian SVR4 closure returns of 1- and 2-byte structs mips: fix N32/N64 soft-float returns of floating-point structs x86: pass complex arguments of up to 4 bytes like structs on i386 powerpc64: fix big-endian ELFv2 closure returns of 1- to 4-byte structs testsuite: check return values of structs with one or two floating-point fields testsuite: check integer complex types smaller than a register testsuite: check complex arguments when argument registers run low testsuite: check closures.o keeps dlmalloc symbols private closures: keep the dlmalloc 2.8.6 additions static x86-64: copy the upper half of 16-byte vector arguments in call plans riscv: ignore return buffer for void calls NetBSD: handle sysconf failure in ffi_closure_alloc closures: check calloc return values in ffi_trampoline_table_alloc Fix typos closures: check calloc return values in ffi_trampoline_table_alloc README: note the ppc64 complex long double, closure, wasm and Apple fixes powerpc64: keep _Complex long double in step with the abi's long double testsuite: pin -mlong-double-128 by compiler, not by target triplet CI: test ppc64le with a 64-bit long double powerpc64: fix _Complex long double when long double is 64 bits Emscripten: Make closures work with wasm stack switching build: check linker family before GNU ld version CI: Update Emscripten, Node version, and pytest-pyodide to most recent versions build: check linker family before GNU ld version closures: handle page size lookup failure testsuite: propagate tsan worker failures Added `subsections_via_symbols` for Apple platforms closures: handle page size lookup failure testsuite: propagate tsan worker failures README: start TBD notes with aarch64/arm big-endian fix aarch64, arm: fix big-endian sub-word argument/return offsets arm: fix big-endian sub-word argument offsets in closures aarch64: fix big-endian argument and return offsets in closures release: verify README Status line matches the tag README: update Status line to 3.8.0