diff options
author | Elliott Hughes <enh@google.com> | 2013-10-16 01:15:59 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-10-16 01:16:00 +0000 |
commit | 608c65f6955213179db4140cc57c40a2a88d5846 (patch) | |
tree | ec2188086f5ed45089a46e2e36ecf442f477bb69 /libc/arch-arm/syscalls/__rt_sigsuspend.S | |
parent | c100a10069a16eca57f5f9ab838ff98d7db6eb03 (diff) | |
parent | 1f5af926fa626734981d6b4dcc0ab54e520032a9 (diff) | |
download | bionic-608c65f6955213179db4140cc57c40a2a88d5846.zip bionic-608c65f6955213179db4140cc57c40a2a88d5846.tar.gz bionic-608c65f6955213179db4140cc57c40a2a88d5846.tar.bz2 |
Merge "Fix sigsuspend to use rt_sigsuspend on all platforms."
Diffstat (limited to 'libc/arch-arm/syscalls/__rt_sigsuspend.S')
-rw-r--r-- | libc/arch-arm/syscalls/__rt_sigsuspend.S | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/arch-arm/syscalls/__rt_sigsuspend.S b/libc/arch-arm/syscalls/__rt_sigsuspend.S new file mode 100644 index 0000000..2e63e89 --- /dev/null +++ b/libc/arch-arm/syscalls/__rt_sigsuspend.S @@ -0,0 +1,15 @@ +/* autogenerated by gensyscalls.py */ +#include <asm/unistd.h> +#include <linux/err.h> +#include <machine/asm.h> + +ENTRY(__rt_sigsuspend) + mov ip, r7 + ldr r7, =__NR_rt_sigsuspend + swi #0 + mov r7, ip + cmn r0, #(MAX_ERRNO + 1) + bxls lr + neg r0, r0 + b __set_errno +END(__rt_sigsuspend) |