From 4acf0056f55c757490dae6c29a65b0321327ea8a Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Sat, 16 Mar 2013 08:18:45 -0400 Subject: Build fix for soft-float power targets --- src/powerpc/ffi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/powerpc') diff --git a/src/powerpc/ffi.c b/src/powerpc/ffi.c index f3a96a1..54f2731 100644 --- a/src/powerpc/ffi.c +++ b/src/powerpc/ffi.c @@ -376,9 +376,9 @@ ffi_prep_args_SYSV (extended_cif *ecif, unsigned *const stack) with the number found in ffi_prep_cif_machdep(). However, intarg_count is incremeneted whenever we place an FP arg on the stack, so account for that before our assert test. */ +#ifndef __NO_FPRS__ if (fparg_count > NUM_FPR_ARG_REGISTERS) intarg_count -= fparg_count - NUM_FPR_ARG_REGISTERS; -#ifndef __NO_FPRS__ FFI_ASSERT (fpr_base.u <= stacktop.u - ASM_NEEDS_REGISTERS - NUM_GPR_ARG_REGISTERS); #endif -- cgit v1.2.1