summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/syscalls/tgkill.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/syscalls/tgkill.S')
-rw-r--r--libc/arch-arm64/syscalls/tgkill.S21
1 files changed, 21 insertions, 0 deletions
diff --git a/libc/arch-arm64/syscalls/tgkill.S b/libc/arch-arm64/syscalls/tgkill.S
new file mode 100644
index 0000000..a401819
--- /dev/null
+++ b/libc/arch-arm64/syscalls/tgkill.S
@@ -0,0 +1,21 @@
+/* Generated by gensyscalls.py. Do not edit. */
+
+#include <private/bionic_asm.h>
+
+ENTRY(tgkill)
+ stp x29, x30, [sp, #-16]!
+ mov x29, sp
+ str x8, [sp, #-16]!
+
+ mov x8, __NR_tgkill
+ svc #0
+
+ ldr x8, [sp], #16
+ ldp x29, x30, [sp], #16
+
+ cmn x0, #(MAX_ERRNO + 1)
+ cneg x0, x0, hi
+ b.hi __set_errno
+
+ ret
+END(tgkill)