diff options
Diffstat (limited to 'libc/arch-arm64/syscalls/linkat.S')
-rw-r--r-- | libc/arch-arm64/syscalls/linkat.S | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libc/arch-arm64/syscalls/linkat.S b/libc/arch-arm64/syscalls/linkat.S index 999c007..62aea3a 100644 --- a/libc/arch-arm64/syscalls/linkat.S +++ b/libc/arch-arm64/syscalls/linkat.S @@ -3,19 +3,12 @@ #include <private/bionic_asm.h> ENTRY(linkat) - stp x29, x30, [sp, #-16]! - mov x29, sp - str x8, [sp, #-16]! - mov x8, __NR_linkat svc #0 - ldr x8, [sp], #16 - ldp x29, x30, [sp], #16 - cmn x0, #(MAX_ERRNO + 1) cneg x0, x0, hi - b.hi __set_errno + b.hi __set_errno_internal ret END(linkat) |