diff options
Diffstat (limited to 'libc/arch-arm64/syscalls/renameat.S')
-rw-r--r-- | libc/arch-arm64/syscalls/renameat.S | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libc/arch-arm64/syscalls/renameat.S b/libc/arch-arm64/syscalls/renameat.S index 3f6e4d4..96025df 100644 --- a/libc/arch-arm64/syscalls/renameat.S +++ b/libc/arch-arm64/syscalls/renameat.S @@ -3,19 +3,12 @@ #include <private/bionic_asm.h> ENTRY(renameat) - stp x29, x30, [sp, #-16]! - mov x29, sp - str x8, [sp, #-16]! - mov x8, __NR_renameat 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(renameat) |