Use correct signal number for floating point exceptions.
Sponsored by: DARPA, AFRL Sponsored by: HEIF5
This commit is contained in:
parent
5bca221511
commit
a2aa0aae07
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308132
@ -1033,7 +1033,7 @@ trap(struct trapframe *trapframe)
|
||||
|
||||
case T_FPE + T_USER:
|
||||
if (!emulate_fp) {
|
||||
i = SIGILL;
|
||||
i = SIGFPE;
|
||||
addr = trapframe->pc;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user