Skip to content

Commit

Permalink
Fixed missed #ifndef for __mips_soft_float
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Upstream-Status: Submitted [libffi#442]
  • Loading branch information
Carl Hurd authored and madvenka786 committed Aug 8, 2022
1 parent 00e9ad4 commit 7409a61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mips/o32.S
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,11 @@ $LCFI12:
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
Expand Down

0 comments on commit 7409a61

Please sign in to comment.