clarify the purpose of this project
[nyanglibc.git] / signal / sigprocmask.shared.s
blobb1abe02c54b21e863babb9f5680efba98e52a8fc
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 __GI___sigprocmask
9 .hidden __GI___sigprocmask
10 .type __GI___sigprocmask, @function
11 __GI___sigprocmask:
12 subq $8, %rsp
13 call __GI___pthread_sigmask
14 testl %eax, %eax
15 jne .L8
16 .L1:
17 addq $8, %rsp
18 ret
19 .p2align 4,,10
20 .p2align 3
21 .L8:
22 movq __libc_errno@gottpoff(%rip), %rdx
23 movl %eax, %fs:(%rdx)
24 movl $-1, %eax
25 jmp .L1
26 .size __GI___sigprocmask, .-__GI___sigprocmask
27 .globl __sigprocmask
28 .set __sigprocmask,__GI___sigprocmask
29 .weak sigprocmask
30 .set sigprocmask,__sigprocmask