Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Post a SIGFPE rather than SIGILL on float...



details:   https://anonhg.NetBSD.org/src/rev/26f4267bc34a
branches:  trunk
changeset: 487612:26f4267bc34a
user:      soren <soren%NetBSD.org@localhost>
date:      Sat Jun 10 02:43:49 2000 +0000

description:
Post a SIGFPE rather than SIGILL on floating point exceptions.

diffstat:

 sys/arch/mips/mips/locore.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9017c1bbfc2f -r 26f4267bc34a sys/arch/mips/mips/locore.S
--- a/sys/arch/mips/mips/locore.S       Sat Jun 10 02:33:59 2000 +0000
+++ b/sys/arch/mips/mips/locore.S       Sat Jun 10 02:43:49 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.103 2000/05/31 05:09:18 thorpej Exp $     */
+/*     $NetBSD: locore.S,v 1.104 2000/06/10 02:43:49 soren Exp $       */
 
 /*
  * Copyright (c) 1992, 1993
@@ -1149,7 +1149,7 @@
 #endif
 
 /*
- * Send a illegal instruction signal to the current process.
+ * Send a floating point exception signal to the current process.
  */
 3:
        li      t0, 0xFFFFFF00
@@ -1162,7 +1162,7 @@
        move    a2, a0                          # code = instruction
        lw      a0, _C_LABEL(curproc)           # get current process
        jal     _C_LABEL(trapsignal)
-       li      a1, SIGILL
+       li      a1, SIGFPE
 
        b       FPReturn
        nop



Home | Main Index | Thread Index | Old Index