1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
.global sigsetjmp .global __sigsetjmp .type sigsetjmp,@function .type __sigsetjmp,@function sigsetjmp: __sigsetjmp: mov 4(%esp),%eax mov 8(%esp),%ecx mov %ecx,24(%eax) jecxz 1f add $28,%eax push %eax push $0 push $2 call sigprocmask add $12,%esp 1: jmp setjmp