summaryrefslogblamecommitdiff
path: root/src/signal/i386/sigsetjmp.s
blob: 0e7eefb09530caddbad28c947b9e334cafda62f9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                         
.global 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