summaryrefslogtreecommitdiff
path: root/src/signal/arm/sigsetjmp.s
blob: 0e7bcd49e85981be0d1245896c1b94ba3c1a54d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.global sigsetjmp
.global __sigsetjmp
.type sigsetjmp,%function
.type __sigsetjmp,%function
sigsetjmp:
__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