From 4f61a813a07817dd6739e0b3e5332a1e181fee86 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 10 Sep 2002 21:01:59 +0000 Subject: Don't run floating point opcodes when code is compiled -msoft-float -Erik --- libc/sysdeps/linux/arm/__longjmp.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/arm/__longjmp.S') diff --git a/libc/sysdeps/linux/arm/__longjmp.S b/libc/sysdeps/linux/arm/__longjmp.S index 4c12a748c..5a8f84b25 100644 --- a/libc/sysdeps/linux/arm/__longjmp.S +++ b/libc/sysdeps/linux/arm/__longjmp.S @@ -32,7 +32,7 @@ __longjmp: movs r0, r1 /* get the return value in place */ moveq r0, #1 /* can't let setjmp() return zero! */ -#ifdef __UCLIBC_HAS_FLOATS__ +#if defined __UCLIBC_HAS_FLOATS__ && ! defined __SOFTFP__ lfmfd f4, 4, [ip] ! /* load the floating point regs */ #endif -- cgit v1.2.3