clarify the purpose of this project
[nyanglibc.git] / setjmp / setjmp.shared.s
blob60f981649b6e90d7401fa76ac6b5716370969e85
1 .globl __sigsetjmp
2 .type __sigsetjmp,@function
3 .align 1<<4
4 __sigsetjmp:
5 movq %rbx, (0*8)(%rdi)
6 mov %rbp, %rax
7 xor %fs:48, %rax
8 rol $2*8 +1, %rax
9 mov %rax, (1*8)(%rdi)
10 movq %r12, (2*8)(%rdi)
11 movq %r13, (3*8)(%rdi)
12 movq %r14, (4*8)(%rdi)
13 movq %r15, (5*8)(%rdi)
14 lea 8(%rsp), %rdx
15 xor %fs:48, %rdx
16 rol $2*8 +1, %rdx
17 movq %rdx, (6*8)(%rdi)
18 mov (%rsp), %rax
20 xor %fs:48, %rax
21 rol $2*8 +1, %rax
22 movq %rax, (7*8)(%rdi)
23 jmp __sigjmp_save
24 .size __sigsetjmp,.-__sigsetjmp
25 .globl __GI___sigsetjmp
26 .set __GI___sigsetjmp,__sigsetjmp