Blame src/setjmp/nt64/longjmp.s
|
|
860627 |
.text
|
|
|
860627 |
.globl __longjmp
|
|
|
860627 |
.globl _longjmp
|
|
|
860627 |
.globl longjmp
|
|
|
860627 |
|
|
|
860627 |
__longjmp:
|
|
|
860627 |
_longjmp:
|
|
|
860627 |
longjmp:
|
|
|
860627 |
test %edx, %edx
|
|
|
860627 |
jne 1f
|
|
|
860627 |
xor $1, %edx
|
|
|
860627 |
|
|
|
860627 |
1:
|
|
|
860627 |
mov %edx, %eax
|
|
|
860627 |
|
|
|
860627 |
2:
|
|
|
860627 |
mov 0x10(%rcx), %rbx
|
|
|
860627 |
mov 0x18(%rcx), %rbp
|
|
|
860627 |
mov 0x20(%rcx), %rdi
|
|
|
860627 |
mov 0x28(%rcx), %rsi
|
|
|
860627 |
mov 0x30(%rcx), %r12
|
|
|
860627 |
mov 0x38(%rcx), %r13
|
|
|
860627 |
mov 0x40(%rcx), %r14
|
|
|
860627 |
mov 0x48(%rcx), %r15
|
|
|
860627 |
|
|
|
860627 |
mov 0x08(%rcx), %rsp
|
|
|
860627 |
mov (%rcx), %rdx
|
|
|
860627 |
jmp *%rdx
|