summaryrefslogtreecommitdiff
path: root/src/signal/microblaze/sigsetjmp.s
blob: be869d68956c8a54a1025c4e93dfa1477b689c03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.global sigsetjmp
.type sigsetjmp,@function
sigsetjmp:
	swi     r6, r5, 72
	beqi    r6, setjmp@PLT

	addi    r1, r1, -32
	swi     r15, r1, 28
	swi     r5, r1, 24
	addi    r7, r5, 76
	add     r6, r0, r0
	brlid   r15, sigprocmask@PLT
	ori     r5, r0, 2

	lwi     r15, r1, 28
	lwi     r5, r1, 24
	brid    setjmp@PLT
	addi    r1, r1, 32