Fix sigsuspend to use rt_sigsuspend on all platforms.

Change-Id: I981c1a66d35480d4457a0a08a1b042dac94daa5b
This commit is contained in:
Elliott Hughes
2013-10-15 18:01:56 -07:00
parent c100a10069
commit 1f5af926fa
15 changed files with 69 additions and 82 deletions

View File

@@ -0,0 +1,22 @@
/* autogenerated by gensyscalls.py */
#include <asm/unistd.h>
.text
.globl __rt_sigsuspend
.align 4
.ent __rt_sigsuspend
__rt_sigsuspend:
.set noreorder
.cpload $t9
li $v0, __NR_rt_sigsuspend
syscall
bnez $a3, 1f
move $a0, $v0
j $ra
nop
1:
la $t9,__set_errno
j $t9
nop
.set reorder
.end __rt_sigsuspend