listxattr.S revision e4bc7561219ddb7cfb7b33f731caa92a7766b9ca
1/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(listxattr)
6    pushl   %ebx
7    pushl   %ecx
8    pushl   %edx
9    .cfi_def_cfa_offset 12
10    .cfi_rel_offset ebx, 0
11    .cfi_rel_offset ecx, 4
12    .cfi_rel_offset edx, 8
13    mov     16(%esp), %ebx
14    mov     20(%esp), %ecx
15    mov     24(%esp), %edx
16    movl    $__NR_listxattr, %eax
17    int     $0x80
18    cmpl    $-MAX_ERRNO, %eax
19    jb      1f
20    negl    %eax
21    pushl   %eax
22    call    __set_errno
23    addl    $4, %esp
24    orl     $-1, %eax
251:
26    popl    %edx
27    popl    %ecx
28    popl    %ebx
29    ret
30END(listxattr)
31