Use correct signal number for floating point exceptions.

Sponsored by:	DARPA, AFRL
Sponsored by:	HEIF5
This commit is contained in:
Ruslan Bukin 2016-10-31 15:49:41 +00:00
parent 5bca221511
commit a2aa0aae07
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308132

View File

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