diff options
author | Andrei Popescu <andreip@google.com> | 2010-02-25 13:27:46 +0000 |
---|---|---|
committer | Andrei Popescu <andreip@google.com> | 2010-03-02 11:43:24 +0000 |
commit | eb9d5ed3477ef8cd9ccfa424ea585541ea3af84a (patch) | |
tree | 57860bc44d54d743b05f8a7680267170af3f3069 /libc/arch-arm/syscalls | |
parent | 8f8b5310d2c3fe8782377bd66b65ed14dc6511a4 (diff) | |
download | bionic-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.S | 19 |
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 |