Răsfoiți Sursa

+ call SysResetFPU and SysInitFPU like for other platforms

git-svn-id: trunk@9458 -
Jonas Maebe 17 ani în urmă
părinte
comite
69c97f3ac6
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  1. 5 0
      rtl/bsd/system.pp

+ 5 - 0
rtl/bsd/system.pp

@@ -277,6 +277,11 @@ Begin
   StackBottom := Sptr - StackLength;
   { Set up signals handlers }
   InstallSignals;
+
+  SysResetFPU;
+  if not(IsLibrary) then
+    SysInitFPU;
+
 {$if defined(cpui386) or defined(cpuarm)}
   fpc_cpucodeinit;
 {$endif cpui386}