clarify the purpose of this project
[nyanglibc.git] / signal / killpg.shared.s
blob6bc9fbf0f2c68dcf72e4081326aed170e2ff290a
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .globl killpg
9 .type killpg, @function
10 killpg:
11 testl %edi, %edi
12 js .L5
13 negl %edi
14 jmp __GI___kill
15 .p2align 4,,10
16 .p2align 3
17 .L5:
18 movq __libc_errno@gottpoff(%rip), %rax
19 movl $22, %fs:(%rax)
20 movl $-1, %eax
21 ret
22 .size killpg, .-killpg