diff options
author | Arne Coucheron <arco68@gmail.com> | 2016-10-27 09:47:10 +0200 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2016-10-27 20:13:17 +0200 |
commit | 6b9dac8b7f047fed67a608ae777877facf20f0fe (patch) | |
tree | 014be30c00191ca1cbc19671a74f54dc884fe26b /libc/arch-mips/syscalls/writev.S | |
parent | 0d0b7a99e1baea5875467325829e0dafabb270b1 (diff) | |
download | android_bionic-cm-14.0.tar.gz android_bionic-cm-14.0.tar.bz2 android_bionic-cm-14.0.zip |
Revert "bionic: Registration of trapping calls during libc initialization"cm-14.0
* Breaks camera on some devices.
This reverts commit 0ca32a954f09c5eca1afd9b009389e10a88d3537.
Change-Id: Id8652cf0e35ecf1ff4bb00899e1342ce04ebc409
Diffstat (limited to 'libc/arch-mips/syscalls/writev.S')
-rw-r--r-- | libc/arch-mips/syscalls/writev.S | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libc/arch-mips/syscalls/writev.S b/libc/arch-mips/syscalls/writev.S new file mode 100644 index 000000000..d8d661659 --- /dev/null +++ b/libc/arch-mips/syscalls/writev.S @@ -0,0 +1,19 @@ +/* Generated by gensyscalls.py. Do not edit. */ + +#include <private/bionic_asm.h> + +ENTRY(writev) + .set noreorder + .cpload t9 + li v0, __NR_writev + syscall + bnez a3, 1f + move a0, v0 + j ra + nop +1: + la t9,__set_errno_internal + j t9 + nop + .set reorder +END(writev) |