blob: 3c359eeb790258a911a53fff532b8c484dd07dcd [file] [log] [blame]
Guillaume Ranquet6ff0c752014-02-10 13:11:29 +01001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
Dan Albertbc9f9f22014-08-08 15:19:20 -07005 .hidden __set_errno
6
Guillaume Ranquet6ff0c752014-02-10 13:11:29 +01007ENTRY(sendmmsg)
8 pushl %ebx
Guillaume Ranquet6ff0c752014-02-10 13:11:29 +01009 .cfi_def_cfa_offset 8
10 .cfi_rel_offset ebx, 0
Christopher Ferris15b91e92014-05-29 18:17:09 -070011 pushl %ecx
12 .cfi_adjust_cfa_offset 4
13 .cfi_rel_offset ecx, 0
Guillaume Ranquet6ff0c752014-02-10 13:11:29 +010014 mov $20, %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
Dan Albert3726f9c2014-08-08 15:15:29 -070023 call __set_errno
Guillaume Ranquet6ff0c752014-02-10 13:11:29 +010024 addl $4, %esp
Guillaume Ranquet6ff0c752014-02-10 13:11:29 +0100251:
26 popl %ecx
27 popl %ebx
28 ret
29END(sendmmsg)