summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/setjmp.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-09-10 21:01:59 +0000
committerEric Andersen <andersen@codepoet.org>2002-09-10 21:01:59 +0000
commit4f61a813a07817dd6739e0b3e5332a1e181fee86 (patch)
tree93fd9389ee6a6ca69caece76918036a36eb10e62 /libc/sysdeps/linux/arm/setjmp.S
parentba7f440e196c36a3a7b0a36893b1c0465b1ec94d (diff)
Don't run floating point opcodes when code is compiled -msoft-float
-Erik
Diffstat (limited to 'libc/sysdeps/linux/arm/setjmp.S')
-rw-r--r--libc/sysdeps/linux/arm/setjmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/arm/setjmp.S b/libc/sysdeps/linux/arm/setjmp.S
index 166e4efab..d73723708 100644
--- a/libc/sysdeps/linux/arm/setjmp.S
+++ b/libc/sysdeps/linux/arm/setjmp.S
@@ -27,7 +27,7 @@
.align 4;
__sigsetjmp:
/* Save registers */
-#ifdef __UCLIBC_HAS_FLOATS__
+#if defined __UCLIBC_HAS_FLOATS__ && ! defined __SOFTFP__
sfmea f4, 4, [r0]!
#endif
stmia r0, {v1-v6, sl, fp, sp, lr}