clarify the purpose of this project
[nyanglibc.git] / nptl / pt-raise.shared.s
bloba8d1c3df54e17880d781955f75b2b0464f9277c4
1 .text
2 .p2align 4,,15
3 .globl raise
4 .type raise, @function
5 raise:
6 pushq %rbx
7 movq $-1, %r8
8 movabsq $-6442450945, %rax
9 movl %edi, %ebx
10 movl $8, %r10d
11 xorl %edi, %edi
12 subq $136, %rsp
13 leaq -120(%rsp), %r9
14 movq %rax, 8(%rsp)
15 movq %r8, 16(%rsp)
16 movq %r8, 24(%rsp)
17 movq %r8, 32(%rsp)
18 leaq 8(%rsp), %rsi
19 movq %r8, 40(%rsp)
20 movq %r8, 48(%rsp)
21 movq %r9, %rdx
22 movq %r8, 56(%rsp)
23 movq %r8, 64(%rsp)
24 movl $14, %eax
25 movq %r8, 72(%rsp)
26 movq %r8, 80(%rsp)
27 movq %r8, 88(%rsp)
28 movq %r8, 96(%rsp)
29 movq %r8, 104(%rsp)
30 movq %r8, 112(%rsp)
31 movq %r8, 120(%rsp)
32 movq %r8, 128(%rsp)
33 #APP
34 # 81 "../sysdeps/unix/sysv/linux/internal-signals.h" 1
35 syscall
37 # 0 "" 2
38 #NO_APP
39 movl $39, %ecx
40 movl %ecx, %eax
41 #APP
42 # 42 "../sysdeps/unix/sysv/linux/raise.c" 1
43 syscall
45 # 0 "" 2
46 #NO_APP
47 movq %rax, %rdi
48 movl $186, %eax
49 #APP
50 # 43 "../sysdeps/unix/sysv/linux/raise.c" 1
51 syscall
53 # 0 "" 2
54 #NO_APP
55 movl %eax, %esi
56 movl %ebx, %edx
57 movl $234, %eax
58 #APP
59 # 45 "../sysdeps/unix/sysv/linux/raise.c" 1
60 syscall
62 # 0 "" 2
63 #NO_APP
64 cmpq $-4096, %rax
65 ja .L2
66 movl %eax, %r8d
67 .L3:
68 movl $8, %r10d
69 xorl %edx, %edx
70 movq %r9, %rsi
71 movl $2, %edi
72 movl $14, %eax
73 #APP
74 # 105 "../sysdeps/unix/sysv/linux/internal-signals.h" 1
75 syscall
77 # 0 "" 2
78 #NO_APP
79 addq $136, %rsp
80 movl %r8d, %eax
81 popq %rbx
82 ret
83 .p2align 4,,10
84 .p2align 3
85 .L2:
86 movq errno@gottpoff(%rip), %rdx
87 negl %eax
88 movl %eax, %fs:(%rdx)
89 jmp .L3
90 .size raise, .-raise
91 .weak gsignal
92 .set gsignal,raise