summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authordcs <dcs@FreeBSD.org>1999-02-12 17:22:30 +0000
committerdcs <dcs@FreeBSD.org>1999-02-12 17:22:30 +0000
commitf0e98b9519815803567849988a2e3dff18be4084 (patch)
tree390b570f428aadab227bbf58c66ae4bc814bc9d4 /lib/libstand
parent6e51bd9735916a8d7ee30426a92bfd95a444ec8e (diff)
downloadFreeBSD-src-f0e98b9519815803567849988a2e3dff18be4084.zip
FreeBSD-src-f0e98b9519815803567849988a2e3dff18be4084.tar.gz
Remove float-point dependency from i386's version of setjmp()/longjmp().
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/i386/_setjmp.S7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libstand/i386/_setjmp.S b/lib/libstand/i386/_setjmp.S
index ba9cc2e..d3b168c 100644
--- a/lib/libstand/i386/_setjmp.S
+++ b/lib/libstand/i386/_setjmp.S
@@ -33,12 +33,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: _setjmp.S,v 1.7 1998/04/29 09:14:35 jb Exp $
+ * $Id: _setjmp.S,v 1.1 1999/02/12 17:20:19 dcs Exp $
*/
#if defined(LIBC_RCS) && !defined(lint)
.text
- .asciz "$Id: _setjmp.S,v 1.7 1998/04/29 09:14:35 jb Exp $"
+ .asciz "$Id: _setjmp.S,v 1.1 1999/02/12 17:20:19 dcs Exp $"
#endif /* LIBC_RCS and not lint */
/*
@@ -62,7 +62,6 @@ ENTRY(_setjmp)
movl %ebp,12(%eax)
movl %esi,16(%eax)
movl %edi,20(%eax)
- fnstcw 28(%eax)
xorl %eax,%eax
ret
@@ -75,8 +74,6 @@ ENTRY(_longjmp)
movl 12(%edx),%ebp
movl 16(%edx),%esi
movl 20(%edx),%edi
- fninit
- fldcw 28(%edx)
testl %eax,%eax
jnz 1f
incl %eax
OpenPOWER on IntegriCloud