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