summaryrefslogtreecommitdiff
path: root/src/signal/or1k/sigsetjmp.s
blob: 350c00e212e86f5e3b9598cdf6ad04b1127eadae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.global sigsetjmp
.global __sigsetjmp
.type sigsetjmp,@function
.type __sigsetjmp,@function
sigsetjmp:
__sigsetjmp:
	l.sfeq	r4, r0
	l.bf	plt(setjmp)

	l.sw    52(r3), r9
	l.sw    52+4+8(r3), r20

	l.jal	plt(setjmp)
	 l.ori   r20, r3, 0

	l.ori r4, r11, 0
	l.ori r3, r20, 0

	l.lwz   r9, 52(r3)

.hidden __sigsetjmp_tail
	l.j	plt(__sigsetjmp_tail)
	 l.lwz   r20, 52+4+8(r3)