clarify the purpose of this project
[nyanglibc.git] / setjmp / jmp-unwind.s
blob43661d2ef5f14bb8a80d20703062ff2d09b5cec1
1 .text
2 .p2align 4,,15
3 .globl _longjmp_unwind
4 .type _longjmp_unwind, @function
5 _longjmp_unwind:
6 cmpq $0, __pthread_cleanup_upto@GOTPCREL(%rip)
7 je .L1
8 movq %rsp, %rsi
9 jmp __pthread_cleanup_upto@PLT
10 .p2align 4,,10
11 .p2align 3
12 .L1:
13 rep ret
14 .size _longjmp_unwind, .-_longjmp_unwind
15 .weak __pthread_cleanup_upto