clarify the purpose of this project
[nyanglibc.git] / setjmp / rtld-setjmp.shared.s
blob8263e8f7cdc638b0944a4ca83c01ced375c0543b
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 __pointer_chk_guard_local(%rip), %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 __pointer_chk_guard_local(%rip), %rdx
16 rol $2*8 +1, %rdx
17 movq %rdx, (6*8)(%rdi)
18 mov (%rsp), %rax
19 xor __pointer_chk_guard_local(%rip), %rax
20 rol $2*8 +1, %rax
21 movq %rax, (7*8)(%rdi)
22 xorl %eax, %eax
23 retq
24 .size __sigsetjmp,.-__sigsetjmp
25 .globl __GI___sigsetjmp
26 .set __GI___sigsetjmp,__sigsetjmp