svn commit: r308132 - head/sys/mips/mips

Ruslan Bukin br at FreeBSD.org
Mon Oct 31 15:49:42 UTC 2016


Author: br
Date: Mon Oct 31 15:49:41 2016
New Revision: 308132
URL: https://svnweb.freebsd.org/changeset/base/308132

Log:
  Use correct signal number for floating point exceptions.
  
  Sponsored by:	DARPA, AFRL
  Sponsored by:	HEIF5

Modified:
  head/sys/mips/mips/trap.c

Modified: head/sys/mips/mips/trap.c
==============================================================================
--- head/sys/mips/mips/trap.c	Mon Oct 31 15:46:06 2016	(r308131)
+++ head/sys/mips/mips/trap.c	Mon Oct 31 15:49:41 2016	(r308132)
@@ -1033,7 +1033,7 @@ dofault:
 
 	case T_FPE + T_USER:
 		if (!emulate_fp) {
-			i = SIGILL;
+			i = SIGFPE;
 			addr = trapframe->pc;
 			break;
 		}


More information about the svn-src-head mailing list