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:
pierre 2016-07-02 15:12:18 +00:00
parent ef6a8009cf
commit 16477c598d

View File

@ -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