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