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