libffi: fix mips{,el}-musl build (soft float)
This commit is contained in:
parent
21e253f2d1
commit
8bc5db5017
|
@ -0,0 +1,15 @@
|
|||
--- src/mips/o32.S 2019-10-31 15:49:54.000000000 +0100
|
||||
+++ src/mips/o32.S 2020-03-24 19:38:35.794316204 +0100
|
||||
@@ -281,10 +281,11 @@
|
||||
|
||||
li $13, 1 # FFI_O32
|
||||
bne $16, $13, 1f # Skip fp save if FFI_O32_SOFT_FLOAT
|
||||
-
|
||||
+#ifndef __mips_soft_float
|
||||
# Store all possible float/double registers.
|
||||
s.d $f12, FA_0_0_OFF2($fp)
|
||||
s.d $f14, FA_1_0_OFF2($fp)
|
||||
+#endif
|
||||
1:
|
||||
# prepare arguments for ffi_closure_mips_inner_O32
|
||||
REG_L a0, 4($15) # cif
|
Loading…
Reference in New Issue