|
@@ -376,13 +376,13 @@ begin
|
|
StackLength := CheckInitialStkLen(InitialStkLen);
|
|
StackLength := CheckInitialStkLen(InitialStkLen);
|
|
StackBottom := Sptr - StackLength;
|
|
StackBottom := Sptr - StackLength;
|
|
|
|
|
|
- SysResetFPU;
|
|
|
|
- if not(IsLibrary) then
|
|
|
|
- SysInitFPU;
|
|
|
|
-
|
|
|
|
{ Set up signals handlers (may be needed by init code to test cpu features) }
|
|
{ Set up signals handlers (may be needed by init code to test cpu features) }
|
|
InstallSignals;
|
|
InstallSignals;
|
|
|
|
|
|
|
|
+{$ifdef cpui386}
|
|
|
|
+ fpc_cpucodeinit;
|
|
|
|
+{$endif}
|
|
|
|
+
|
|
{ Setup heap }
|
|
{ Setup heap }
|
|
myheapsize:=4096*1;// $ 20000;
|
|
myheapsize:=4096*1;// $ 20000;
|
|
myheaprealsize:=4096*1;// $ 20000;
|
|
myheaprealsize:=4096*1;// $ 20000;
|