X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/36401178fd6817c043cc00b0c00c7f723e58efae..0a7de7458d150b5d4dffc935ba399be265ef0a1a:/libsyscall/custom/__sigaltstack.s?ds=sidebyside diff --git a/libsyscall/custom/__sigaltstack.s b/libsyscall/custom/__sigaltstack.s index 514822ba2..7c4fceaf5 100644 --- a/libsyscall/custom/__sigaltstack.s +++ b/libsyscall/custom/__sigaltstack.s @@ -28,13 +28,21 @@ #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__) -__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