void-packages/srcpkgs/libffi/patches/mipsen-r6.diff
Jürgen Buchmüller a369f4e48d
libffi: import (some) Debian patches
The Debian team has some patches which we were missing.
This set does not address the ppc64* failing tests, though.
I did not include patches for alpha or riscv becase we
do not (yet) support these target architectures.

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-05-08 15:33:50 +02:00

17 lines
309 B
Diff

Description: fixes issue with aarch64
Author: Debian packagers
Origin: libffi_3.2.1-9.debian.tar.xz
--- src/mips/n32.S
+++ src/mips/n32.S
@@ -47,7 +47,9 @@
#ifdef __GNUC__
.abicalls
#endif
+#if !defined(__mips_isa_rev) || (__mips_isa_rev<6)
.set mips4
+#endif
.text
.align 2
.globl ffi_call_N32