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