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