Browse Source

Forgot one more #ifdef related to MIPS soft floating point.

"Steven J. Hill" 23 years ago
parent
commit
8119e54af0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libc/sysdeps/linux/mips/setjmp_aux.c

+ 2 - 0
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);