mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-26 02:02:30 +02:00
Set default stack size for i8086-embedded target: 16384 for far data model, and 2048 for other memory models
git-svn-id: trunk@43604 -
This commit is contained in:
parent
47b9ef4dc2
commit
3db08d28e9
@ -126,6 +126,16 @@ implementation
|
|||||||
system_x86_64_aros:
|
system_x86_64_aros:
|
||||||
include(supported_calling_conventions,pocall_syscall);
|
include(supported_calling_conventions,pocall_syscall);
|
||||||
{$ifdef i8086}
|
{$ifdef i8086}
|
||||||
|
system_i8086_embedded:
|
||||||
|
begin
|
||||||
|
if stacksize=0 then
|
||||||
|
begin
|
||||||
|
if init_settings.x86memorymodel in x86_far_data_models then
|
||||||
|
stacksize:=16384
|
||||||
|
else
|
||||||
|
stacksize:=2048;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
system_i8086_msdos:
|
system_i8086_msdos:
|
||||||
begin
|
begin
|
||||||
if stacksize=0 then
|
if stacksize=0 then
|
||||||
|
Loading…
Reference in New Issue
Block a user