Fix handling of uint32_t arguments on the MIPS N32 ABI. Patch by Mark H Weaver . --- libffi/src/mips/ffi.c.orig 2013-03-16 07:19:39.000000000 -0400 +++ libffi/src/mips/ffi.c 2013-10-22 01:11:03.111985247 -0400 @@ -170,7 +170,14 @@ break; case FFI_TYPE_UINT32: +#ifdef FFI_MIPS_N32 + /* The N32 ABI requires that 32-bit integers + be sign-extended to 64-bits, regardless of + whether they are signed or unsigned. */ + *(ffi_arg *)argp = *(SINT32 *)(* p_argv); +#else *(ffi_arg *)argp = *(UINT32 *)(* p_argv); +#endif break; /* This can only happen with 64bit slots. */ 340ff751f27dfa62dbaac122a9b7e1ac6958'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/pack.scm
AgeCommit message (Expand)Author
2021-06-29pack: Add support for the deb format....Maxim Cournoyer
2021-06-29tests: pack: Fix compressor extension....Maxim Cournoyer
2020-07-20pack: Build the store database under a UTF-8 locale....Ludovic Courtès
2020-07-20pack: 'self-contained-tarball' runs derivation in a UTF-8local....Ludovic Courtès
2019-12-26gnu: Remove squashfs-tools-next....Ricardo Wurmus
2019-08-27pack: Create /tmp in Docker images....Ludovic Courtès