about summary refs log tree commit diff
path: root/src/signal/i386/sigsetjmp.s
blob: 06e0a614d1566c2de44873eaee192d3964495f1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.global sigsetjmp
.type sigsetjmp,@function
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