]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/custom/__sigaltstack.s
xnu-4903.270.47.tar.gz
[apple/xnu.git] / libsyscall / custom / __sigaltstack.s
index 514822ba27455b865480ebcf410402580e75d534..7c4fceaf571c99c6ffaf5a666d288ecd32eed694 100644 (file)
 
 #include "SYS.h"
 
 
 #include "SYS.h"
 
-#if defined(__ppc__) || defined(__ppc64__) || defined(__x86_64__)
+#if defined(__x86_64__)
 
 
-__SYSCALL(__sigaltstack, sigaltstack, 3)
+__SYSCALL(___sigaltstack, sigaltstack, 3)
 
 #elif defined(__i386__)
 
 
 #elif defined(__i386__)
 
-__SYSCALL_INT(__sigaltstack, sigaltstack, 3)
+__SYSCALL_INT(___sigaltstack, sigaltstack, 3)
+
+#elif defined(__arm__)
+
+__SYSCALL(___sigaltstack, sigaltstack, 3)
+
+#elif defined(__arm64__)
+
+__SYSCALL(___sigaltstack, sigaltstack, 3)
 
 #else
 #error Unsupported architecture
 
 #else
 #error Unsupported architecture