2013-10-11 00:05:06 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 19:31:05 +01:00
|
|
|
#include <private/bionic_asm.h>
|
2013-10-11 00:05:06 +02:00
|
|
|
|
|
|
|
ENTRY(sendmsg)
|
|
|
|
stp x29, x30, [sp, #-16]!
|
2014-05-22 01:00:13 +02:00
|
|
|
.cfi_def_cfa_offset 16
|
|
|
|
.cfi_rel_offset x29, 0
|
|
|
|
.cfi_rel_offset x30, 8
|
2013-10-11 00:05:06 +02:00
|
|
|
mov x29, sp
|
|
|
|
|
|
|
|
mov x8, __NR_sendmsg
|
|
|
|
svc #0
|
|
|
|
|
|
|
|
ldp x29, x30, [sp], #16
|
2014-05-22 01:00:13 +02:00
|
|
|
.cfi_def_cfa_offset 0
|
|
|
|
.cfi_restore x29
|
|
|
|
.cfi_restore x30
|
2013-10-11 00:05:06 +02:00
|
|
|
|
|
|
|
cmn x0, #(MAX_ERRNO + 1)
|
|
|
|
cneg x0, x0, hi
|
|
|
|
b.hi __set_errno
|
|
|
|
|
|
|
|
ret
|
|
|
|
END(sendmsg)
|