clarify the purpose of this project
[nyanglibc.git] / setjmp / __longjmp.s
blob3f6a4a3fccbadcae719ccfc3e3160c96b4aeeb51
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 %fs:48, %r8
11 ror $2*8 +1, %r9
12 xor %fs:48, %r9
13 ror $2*8 +1, %rdx
14 xor %fs:48, %rdx
16 movq (0*8)(%rdi),%rbx
17 movq (2*8)(%rdi),%r12
18 movq (3*8)(%rdi),%r13
19 movq (4*8)(%rdi),%r14
20 movq (5*8)(%rdi),%r15
21 mov %esi, %eax
22 mov %r8,%rsp
23 movq %r9,%rbp
25 jmpq *%rdx
26 .size __longjmp,.-__longjmp