summaryrefslogtreecommitdiffstats
path: root/libc/arch-mips/syscalls
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-10-15 11:23:57 -0700
committerElliott Hughes <enh@google.com>2013-10-15 11:23:57 -0700
commit19e62325c268a668692e2b65fde2284079f369aa (patch)
tree364b827a4b7504b5f00c18a2f1bafc5b7d1d83b8 /libc/arch-mips/syscalls
parentabeafbd6d5e11044dd305e48134bc3d84319a3da (diff)
downloadbionic-19e62325c268a668692e2b65fde2284079f369aa.zip
bionic-19e62325c268a668692e2b65fde2284079f369aa.tar.gz
bionic-19e62325c268a668692e2b65fde2284079f369aa.tar.bz2
Clean up the sigprocmask/pthread_sigmask implementation.
Let's have both use rt_sigprocmask, like in glibc. The 64-bit ABIs can share the same code as the 32-bit ABIs. Also, let's test the return side of these calls, not just the setting. Bug: 11069919 Change-Id: I11da99f85b5b481870943c520d05ec929b15eddb
Diffstat (limited to 'libc/arch-mips/syscalls')
-rw-r--r--libc/arch-mips/syscalls/sigprocmask.S22
1 files changed, 0 insertions, 22 deletions
diff --git a/libc/arch-mips/syscalls/sigprocmask.S b/libc/arch-mips/syscalls/sigprocmask.S
deleted file mode 100644
index a4049bb..0000000
--- a/libc/arch-mips/syscalls/sigprocmask.S
+++ /dev/null
@@ -1,22 +0,0 @@
-/* autogenerated by gensyscalls.py */
-#include <asm/unistd.h>
- .text
- .globl sigprocmask
- .align 4
- .ent sigprocmask
-
-sigprocmask:
- .set noreorder
- .cpload $t9
- li $v0, __NR_sigprocmask
- syscall
- bnez $a3, 1f
- move $a0, $v0
- j $ra
- nop
-1:
- la $t9,__set_errno
- j $t9
- nop
- .set reorder
- .end sigprocmask