diff options
| author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2014-03-26 15:50:01 +0200 |
|---|---|---|
| committer | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2014-03-26 15:50:01 +0200 |
| commit | 8f2a30a92ab6981cccbc1a9e17b738f7542ae33f (patch) | |
| tree | a0ec364f2362051c4d06569ee5706c3165808b78 /libc/arch-mips/syscalls | |
| parent | c8fc4ddc183060aa979185d5a6845f26beb1a733 (diff) | |
| download | bionic-8f2a30a92ab6981cccbc1a9e17b738f7542ae33f.zip bionic-8f2a30a92ab6981cccbc1a9e17b738f7542ae33f.tar.gz bionic-8f2a30a92ab6981cccbc1a9e17b738f7542ae33f.tar.bz2 | |
Add accept4() syscall
Add accept4() using SYSCALLS.TXT and gensyscall
Change-Id: I6f19f29144186d15d46423e10f2cc4b4223719c6
Diffstat (limited to 'libc/arch-mips/syscalls')
| -rw-r--r-- | libc/arch-mips/syscalls/accept4.S | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libc/arch-mips/syscalls/accept4.S b/libc/arch-mips/syscalls/accept4.S new file mode 100644 index 0000000..ea1dc60 --- /dev/null +++ b/libc/arch-mips/syscalls/accept4.S @@ -0,0 +1,19 @@ +/* Generated by gensyscalls.py. Do not edit. */ + +#include <private/bionic_asm.h> + +ENTRY(accept4) + .set noreorder + .cpload t9 + li v0, __NR_accept4 + syscall + bnez a3, 1f + move a0, v0 + j ra + nop +1: + la t9,__set_errno + j t9 + nop + .set reorder +END(accept4) |
