summaryrefslogtreecommitdiff
path: root/src/signal/microblaze/sigsetjmp.s
blob: d1dd24c02962c41216ae3018ed2541145cf8f5ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.global sigsetjmp
.global __sigsetjmp
.type sigsetjmp,@function
.type __sigsetjmp,@function
sigsetjmp:
__sigsetjmp:
.hidden ___setjmp
	beqi r6, ___setjmp

	swi r15,r5,72
	swi r19,r5,72+4+8

	brlid r15,___setjmp
	 ori r19,r5,0

	ori r6,r3,0
	ori r5,r19,0
	lwi r15,r5,72
	lwi r19,r5,72+4+8

.hidden __sigsetjmp_tail
	bri __sigsetjmp_tail