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