Use correct signal number for floating point exceptions.

Sponsored by:	DARPA, AFRL
Sponsored by:	HEIF5
This commit is contained in:
br 2016-10-31 15:49:41 +00:00
parent fbeb8fc5ac
commit 8b00dcebee

View File

@ -1033,7 +1033,7 @@ dofault:
case T_FPE + T_USER:
if (!emulate_fp) {
i = SIGILL;
i = SIGFPE;
addr = trapframe->pc;
break;
}