From 1dc9e472e19acfe6dc7f41e429236e7eef7ceda1 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 3 Mar 2009 19:28:35 -0800 Subject: auto import from //depot/cupcake/@135843 --- libc/arch-arm/syscalls/getpeername.S | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libc/arch-arm/syscalls/getpeername.S (limited to 'libc/arch-arm/syscalls/getpeername.S') diff --git a/libc/arch-arm/syscalls/getpeername.S b/libc/arch-arm/syscalls/getpeername.S new file mode 100644 index 0000000..f04ec32 --- /dev/null +++ b/libc/arch-arm/syscalls/getpeername.S @@ -0,0 +1,19 @@ +/* autogenerated by gensyscalls.py */ +#include + + .text + .type getpeername, #function + .globl getpeername + .align 4 + .fnstart + +getpeername: + .save {r4, r7} + stmfd sp!, {r4, r7} + ldr r7, =__NR_getpeername + swi #0 + ldmfd sp!, {r4, r7} + movs r0, r0 + bxpl lr + b __set_syscall_errno + .fnend -- cgit v1.1