Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/lib/libm/arch/i387 Pull up revision 1.6 (requested by f...



details:   https://anonhg.NetBSD.org/src/rev/450253ef124a
branches:  netbsd-1-5
changeset: 493031:450253ef124a
user:      he <he%NetBSD.org@localhost>
date:      Sat Mar 30 22:05:47 2002 +0000

description:
Pull up revision 1.6 (requested by fvdl):
  Fix stack usage so that a signal delivered in ceil() or floor()
  no longer corrupts the stack.
  (This corrects an error in the earlier pull-up.)

diffstat:

 lib/libm/arch/i387/s_ceilf.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 1e0f029a6f41 -r 450253ef124a lib/libm/arch/i387/s_ceilf.S
--- a/lib/libm/arch/i387/s_ceilf.S      Fri Mar 29 23:23:41 2002 +0000
+++ b/lib/libm/arch/i387/s_ceilf.S      Sat Mar 30 22:05:47 2002 +0000
@@ -5,7 +5,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: s_ceilf.S,v 1.3.16.1 2002/03/28 22:55:09 he Exp $")
+RCSID("$NetBSD: s_ceilf.S,v 1.3.16.2 2002/03/30 22:05:47 he Exp $")
 
 ENTRY(ceilf)
        pushl   %ebp
@@ -22,7 +22,7 @@
        flds    8(%ebp);                /* round */
        frndint
 
-       fldcw   -8(%ebp)                /* restore original control word */
+       fldcw   -4(%ebp)                /* restore original control word */
 
        leave
        ret



Home | Main Index | Thread Index | Old Index