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