mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 01:39:27 +02:00
* fixed test for Linux/AArch64 (patch by Edmund Grimley Evans)
git-svn-id: trunk@30898 -
This commit is contained in:
parent
6185ca8f3c
commit
528b0832c6
@ -9,6 +9,9 @@ program ExecStack;
|
||||
{$if defined(cpupowerpc) or defined(cpupowerpc64)}
|
||||
ret: longint;
|
||||
{$endif}
|
||||
{$if defined(cpuaarch64)}
|
||||
ret: longint;
|
||||
{$endif}
|
||||
{$if defined(cpui386) or defined(cpux86_64)}
|
||||
ret: Byte;
|
||||
{$endif}
|
||||
@ -40,6 +43,11 @@ program ExecStack;
|
||||
DoNothing;
|
||||
{$endif}
|
||||
{$endif}
|
||||
{$if defined(cpuaarch64)}
|
||||
ret := $d65f03c0;
|
||||
DoNothing := proc(@ret);
|
||||
DoNothing;
|
||||
{$endif}
|
||||
{$if defined(cpui386) or defined(cpux86_64)}
|
||||
ret := $C3;
|
||||
DoNothing := proc(@ret);
|
||||
|
Loading…
Reference in New Issue
Block a user