Browse Source

* fixed test for Linux/AArch64 (patch by Edmund Grimley Evans)

git-svn-id: trunk@30898 -
Jonas Maebe 10 years ago
parent
commit
528b0832c6
1 changed files with 8 additions and 0 deletions
  1. 8 0
      tests/webtbs/tw11563.pp

+ 8 - 0
tests/webtbs/tw11563.pp

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