mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 15:29:26 +01:00
set stack top to 801FFFF0 as in system.cnf
This commit is contained in:
parent
f6726b6a87
commit
c3ad885277
@ -114,7 +114,7 @@ const
|
||||
var
|
||||
MaxStack: SizeInt;
|
||||
begin
|
||||
MaxStack:=SizeInt(PtrUInt($80200000)-PtrUInt(@bss_end))-MinHeap;
|
||||
MaxStack:=SizeInt(PtrUInt($801FFFF0)-PtrUInt(@bss_end))-MinHeap;
|
||||
if stklen<MaxStack then
|
||||
result:= stklen
|
||||
else
|
||||
@ -139,7 +139,7 @@ end;
|
||||
|
||||
begin
|
||||
StackLength:=CheckInitialStkLen(stklen);
|
||||
StackBottom:=Pointer(PtrUInt($80200000)-PtrUInt(StackLength));
|
||||
StackBottom:=Pointer(PtrUInt($801FFFF0)-PtrUInt(StackLength));
|
||||
|
||||
{ Debug printing via writeln (visible in emulator logs) is possible, so
|
||||
pretend to be a console application. }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user