mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 08:28:09 +02:00
* fixed clearing fpscr "exception happened" flags
git-svn-id: trunk@14313 -
This commit is contained in:
parent
3bd7f55f92
commit
36ebb6a980
@ -33,7 +33,8 @@ begin
|
||||
Else
|
||||
Res:=207; {coprocessor error}
|
||||
end;
|
||||
SigContext^.uc_mcontext^.__fs.__fpscr := SigContext^.uc_mcontext^.__fs.__fpscr and not($1fff);
|
||||
{ clear "exception happened" flags }
|
||||
SigContext^.uc_mcontext^.__fs.__fpscr := SigContext^.uc_mcontext^.__fs.__fpscr and not($df);
|
||||
end;
|
||||
SIGBUS:
|
||||
res:=214;
|
||||
|
Loading…
Reference in New Issue
Block a user