getxattr.S revision e35fd48a832cddbedcf84773fd1922f735ae7829
1/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5    .hidden __set_errno
6
7ENTRY(getxattr)
8    movq    %rcx, %r10
9    movl    $__NR_getxattr, %eax
10    syscall
11    cmpq    $-MAX_ERRNO, %rax
12    jb      1f
13    negl    %eax
14    movl    %eax, %edi
15    call    __set_errno
161:
17    ret
18END(getxattr)
19