From 69c97f3ac659761b9576635a8c0424c7ff6957cf Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sat, 15 Dec 2007 15:15:28 +0000 Subject: [PATCH] + call SysResetFPU and SysInitFPU like for other platforms git-svn-id: trunk@9458 - --- rtl/bsd/system.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rtl/bsd/system.pp b/rtl/bsd/system.pp index 9ef0dd2122..8d758b4c0e 100644 --- a/rtl/bsd/system.pp +++ b/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}