2009-03-03 19:28:35 -08:00
|
|
|
/* autogenerated by gensyscalls.py */
|
2011-02-17 10:47:44 -08:00
|
|
|
#include <machine/asm.h>
|
2009-03-03 19:28:35 -08:00
|
|
|
#include <sys/linux-syscalls.h>
|
|
|
|
|
2011-02-17 10:47:44 -08:00
|
|
|
ENTRY(getsockname)
|
2013-01-16 14:02:50 +01:00
|
|
|
mov ip, r7
|
2009-03-03 19:28:35 -08:00
|
|
|
ldr r7, =__NR_getsockname
|
|
|
|
swi #0
|
2013-01-16 14:02:50 +01:00
|
|
|
mov r7, ip
|
2009-03-03 19:28:35 -08:00
|
|
|
movs r0, r0
|
|
|
|
bxpl lr
|
|
|
|
b __set_syscall_errno
|
2011-02-17 10:47:44 -08:00
|
|
|
END(getsockname)
|