summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libffi/libffi/0001-Fixed-missed-ifndef-for-__mips_soft_float.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libffi/libffi/0001-Fixed-missed-ifndef-for-__mips_soft_float.patch')
-rw-r--r--meta/recipes-support/libffi/libffi/0001-Fixed-missed-ifndef-for-__mips_soft_float.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-support/libffi/libffi/0001-Fixed-missed-ifndef-for-__mips_soft_float.patch b/meta/recipes-support/libffi/libffi/0001-Fixed-missed-ifndef-for-__mips_soft_float.patch
deleted file mode 100644
index 397194bc93..0000000000
--- a/meta/recipes-support/libffi/libffi/0001-Fixed-missed-ifndef-for-__mips_soft_float.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From 14e2e74682db3bfcf057688f738fdd842a02ff2d Mon Sep 17 00:00:00 2001
2From: Carl Hurd <carl@Carls-MacBook-Pro.local>
3Date: Wed, 18 Jul 2018 09:04:32 -0400
4Subject: [PATCH] Fixed missed #ifndef for __mips_soft_float
5
6Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
7Upstream-Status: Submitted [https://github.com/libffi/libffi/pull/442]
8---
9 src/mips/o32.S | 2 ++
10 1 file changed, 2 insertions(+)
11
12diff --git a/src/mips/o32.S b/src/mips/o32.S
13index 44e74cb..799139b 100644
14--- a/src/mips/o32.S
15+++ b/src/mips/o32.S
16@@ -282,9 +282,11 @@ $LCFI12:
17 li $13, 1 # FFI_O32
18 bne $16, $13, 1f # Skip fp save if FFI_O32_SOFT_FLOAT
19
20+#ifndef __mips_soft_float
21 # Store all possible float/double registers.
22 s.d $f12, FA_0_0_OFF2($fp)
23 s.d $f14, FA_1_0_OFF2($fp)
24+#endif
25 1:
26 # prepare arguments for ffi_closure_mips_inner_O32
27 REG_L a0, 4($15) # cif