Browse Source

* x86_64-android requires sigreturn for proper signal handling.

git-svn-id: trunk@39960 -
yury 6 years ago
parent
commit
d1b1655441
1 changed files with 9 additions and 1 deletions
  1. 9 1
      rtl/linux/ossysc.inc

+ 9 - 1
rtl/linux/ossysc.inc

@@ -253,13 +253,21 @@ asm
 end;
 {$endif cpusparc or cpusparc64}
 
-{$ifndef android}
+{$if defined(android)}
+
+{$if defined(cpux86_64)}
+  {$define NEED_USER_TRAMPOLINE}
+{$endif}
+
+{$else not android}
+
 {$if defined(cpui386) or defined(cpuarm) or defined(cpux86_64)}
   {$define NEED_USER_TRAMPOLINE}
 {$endif}
 {$if defined(cpui386) or defined(cpuarm)}
   {$define NEED_USER_TRAMPOLINE_RT_DIFFERENT}
 {$endif}
+
 {$endif android}
 
 {$ifdef NEED_USER_TRAMPOLINE}