about summary refs log tree commit diff
path: root/src/signal/arm/sigsetjmp.s
blob: acb0301e04c74f4140d75bc930f227398fcabf44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
.global sigsetjmp
.type sigsetjmp,%function
sigsetjmp:
	str a2,[a1,#256]
	tst a2,a2
	beq setjmp
	push {a1,lr}
	add a3,a1,#260
	mov a2,#0
	mov a1,#2
	bl sigprocmask
	pop {a1,lr}
	b setjmp