blob: 7a6f651e4dc1f2eb607ef34e6599949292c5b6c3 [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(chdir)
movl $__NR_chdir, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
1:
ret
END(chdir)