clarify the purpose of this project
[nyanglibc.git] / setjmp / rtld-__longjmp.shared.s
blobcc60c6bef921956cfa9efbdc5ffcbac8607eba7b
1 .text
2 .globl __longjmp
3 .type __longjmp,@function
4 .align 1<<4
5 __longjmp:
6 mov (6*8)(%rdi),%r8
7 mov (1*8)(%rdi),%r9
8 mov (7*8)(%rdi),%rdx
9 ror $2*8 +1, %r8
10 xor __pointer_chk_guard_local(%rip), %r8
11 ror $2*8 +1, %r9
12 xor __pointer_chk_guard_local(%rip), %r9
13 ror $2*8 +1, %rdx
14 xor __pointer_chk_guard_local(%rip), %rdx
15 movq (0*8)(%rdi),%rbx
16 movq (2*8)(%rdi),%r12
17 movq (3*8)(%rdi),%r13
18 movq (4*8)(%rdi),%r14
19 movq (5*8)(%rdi),%r15
20 mov %esi, %eax
21 mov %r8,%rsp
22 movq %r9,%rbp
23 jmpq *%rdx
24 .size __longjmp,.-__longjmp