mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 16:19:35 +02:00
Fix huge memory model failure by adding nostackframe modifier needed to avoid DS reloading at proc entry
git-svn-id: trunk@34049 -
This commit is contained in:
parent
ef6a8009cf
commit
16477c598d
@ -6,7 +6,12 @@
|
||||
|
||||
program tprcdat1;
|
||||
|
||||
procedure TestProc; far; assembler;
|
||||
{$ifdef FPC}
|
||||
{$ifdef FPC_MM_HUGE}
|
||||
{$warning This test only works if TestProc uses NoStackFrame modifier}
|
||||
{$endif}
|
||||
{$endif}
|
||||
procedure TestProc; far; assembler; {$ifdef FPC_MM_HUGE} nostackframe;{$endif}
|
||||
asm
|
||||
dw $1234
|
||||
dw $4321
|
||||
|
Loading…
Reference in New Issue
Block a user