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}