clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_exit.s
blob996ccf5d611c957f647b05670ef58a6f732449cb
1 .text
2 #APP
3 .globl __pthread_create
4 #NO_APP
5 .p2align 4,,15
6 .globl __pthread_exit
7 .type __pthread_exit, @function
8 __pthread_exit:
9 subq $8, %rsp
10 #APP
11 # 26 "pthread_exit.c" 1
12 movq %rdi,%fs:1584
13 # 0 "" 2
14 #NO_APP
15 movq %fs:16, %rax
16 #APP
17 # 304 "pthreadP.h" 1
18 lock;orl $16, 776(%rax)
19 # 0 "" 2
20 # 307 "pthreadP.h" 1
21 movq %fs:768,%rdi
22 # 0 "" 2
23 #NO_APP
24 call __pthread_unwind@PLT
25 .size __pthread_exit, .-__pthread_exit
26 .weak pthread_exit
27 .set pthread_exit,__pthread_exit