From 1f5af926fa626734981d6b4dcc0ab54e520032a9 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 15 Oct 2013 18:01:56 -0700 Subject: Fix sigsuspend to use rt_sigsuspend on all platforms. Change-Id: I981c1a66d35480d4457a0a08a1b042dac94daa5b --- libc/arch-arm/syscalls/__rt_sigsuspend.S | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libc/arch-arm/syscalls/__rt_sigsuspend.S (limited to 'libc/arch-arm/syscalls/__rt_sigsuspend.S') 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 +#include +#include + +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) -- cgit v1.1