about summary refs log tree commit diff
path: root/sysdeps/m68k/setjmp.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2001-10-16 20:21:57 +0000
committerAndreas Schwab <schwab@suse.de>2001-10-16 20:21:57 +0000
commit692acf3723401e90aebf8e6665ffaa3f52fd0bec (patch)
treeaedae073d789d47d8c9a0e177d94856d81810a1d /sysdeps/m68k/setjmp.c
parent9963f6ff00c24233ee1eb0e561617fe2c61e960a (diff)
downloadglibc-692acf3723401e90aebf8e6665ffaa3f52fd0bec.tar.gz
glibc-692acf3723401e90aebf8e6665ffaa3f52fd0bec.tar.xz
glibc-692acf3723401e90aebf8e6665ffaa3f52fd0bec.zip
* sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
	implementation.
Diffstat (limited to 'sysdeps/m68k/setjmp.c')
-rw-r--r--sysdeps/m68k/setjmp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/m68k/setjmp.c b/sysdeps/m68k/setjmp.c
index 80672ad4db..19aa131a45 100644
--- a/sysdeps/m68k/setjmp.c
+++ b/sysdeps/m68k/setjmp.c
@@ -22,9 +22,11 @@
 int
 #if defined BSD_SETJMP
 # undef setjmp
+# define savemask 1
 setjmp (jmp_buf env)
 #elif defined BSD__SETJMP
 # undef _setjmp
+# define savemask 0
 _setjmp (jmp_buf env)
 #else
 __sigsetjmp (jmp_buf env, int savemask)
@@ -53,10 +55,6 @@ __sigsetjmp (jmp_buf env, int savemask)
 		: : "m" (env[0].__jmpbuf[0].__fpregs[0]));
 #endif
 
-#if defined BSD_SETJMP || defined BSD__SETJMP
-  return 0;
-#else
   /* Save the signal mask if requested.  */
   return __sigjmp_save (env, savemask);
-#endif
 }