2013-10-16 23:27:59 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2014-02-19 23:54:31 +01:00
|
|
|
#include <private/bionic_asm.h>
|
2012-01-28 02:51:42 +01:00
|
|
|
|
2014-02-19 23:54:31 +01:00
|
|
|
ENTRY(getpeername)
|
2012-01-28 02:51:42 +01:00
|
|
|
.set noreorder
|
2014-02-19 21:20:00 +01:00
|
|
|
.cpload t9
|
|
|
|
li v0, __NR_getpeername
|
2012-01-28 02:51:42 +01:00
|
|
|
syscall
|
2014-02-19 21:20:00 +01:00
|
|
|
bnez a3, 1f
|
|
|
|
move a0, v0
|
|
|
|
j ra
|
2012-01-28 02:51:42 +01:00
|
|
|
nop
|
|
|
|
1:
|
2014-09-09 00:25:01 +02:00
|
|
|
la t9,__set_errno_internal
|
2014-02-19 21:20:00 +01:00
|
|
|
j t9
|
2012-01-28 02:51:42 +01:00
|
|
|
nop
|
|
|
|
.set reorder
|
2014-02-19 23:54:31 +01:00
|
|
|
END(getpeername)
|