summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2002-09-11 17:00:51 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2002-09-11 17:00:51 +0000
commit8119e54af0f3682dfb1b503cc84a74e92229c604 (patch)
tree27ae0e565fa25e1fc1e08b9ea37de7f6da868453 /libc/sysdeps/linux
parent4f61a813a07817dd6739e0b3e5332a1e181fee86 (diff)
Forgot one more #ifdef related to MIPS soft floating point.
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/mips/setjmp_aux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/setjmp_aux.c b/libc/sysdeps/linux/mips/setjmp_aux.c
index 21164dbc8..894d4b7e5 100644
--- a/libc/sysdeps/linux/mips/setjmp_aux.c
+++ b/libc/sysdeps/linux/mips/setjmp_aux.c
@@ -61,8 +61,10 @@ __sigsetjmp_aux (jmp_buf env, int savemask, int sp, int fp)
asm volatile ("sw $22, %0" : : "m" (env[0].__jmpbuf[0].__regs[6]));
asm volatile ("sw $23, %0" : : "m" (env[0].__jmpbuf[0].__regs[7]));
+#ifndef __mips_soft_float
/* .. and finally get and reconstruct the floating point csr. */
asm ("cfc1 %0, $31" : "=r" (env[0].__jmpbuf[0].__fpc_csr));
+#endif
/* Save the signal mask if requested. */
return __sigjmp_save (env, savemask);