summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/syscalls
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2010-02-25 13:27:46 +0000
committerAndrei Popescu <andreip@google.com>2010-03-02 11:43:24 +0000
commiteb9d5ed3477ef8cd9ccfa424ea585541ea3af84a (patch)
tree57860bc44d54d743b05f8a7680267170af3f3069 /libc/arch-arm/syscalls
parent8f8b5310d2c3fe8782377bd66b65ed14dc6511a4 (diff)
downloadbionic-eb9d5ed3477ef8cd9ccfa424ea585541ea3af84a.zip
bionic-eb9d5ed3477ef8cd9ccfa424ea585541ea3af84a.tar.gz
bionic-eb9d5ed3477ef8cd9ccfa424ea585541ea3af84a.tar.bz2
add sigaltstack syscall
Diffstat (limited to 'libc/arch-arm/syscalls')
-rw-r--r--libc/arch-arm/syscalls/sigaltstack.S19
1 files changed, 19 insertions, 0 deletions
diff --git a/libc/arch-arm/syscalls/sigaltstack.S b/libc/arch-arm/syscalls/sigaltstack.S
new file mode 100644
index 0000000..3625d0b
--- /dev/null
+++ b/libc/arch-arm/syscalls/sigaltstack.S
@@ -0,0 +1,19 @@
+/* autogenerated by gensyscalls.py */
+#include <sys/linux-syscalls.h>
+
+ .text
+ .type sigaltstack, #function
+ .globl sigaltstack
+ .align 4
+ .fnstart
+
+sigaltstack:
+ .save {r4, r7}
+ stmfd sp!, {r4, r7}
+ ldr r7, =__NR_sigaltstack
+ swi #0
+ ldmfd sp!, {r4, r7}
+ movs r0, r0
+ bxpl lr
+ b __set_syscall_errno
+ .fnend