소스 검색

+ call SysResetFPU and SysInitFPU like for other platforms

git-svn-id: trunk@9458 -
Jonas Maebe 17 년 전
부모
커밋
69c97f3ac6
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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}