summaryrefslogtreecommitdiff
path: root/src/signal/sh/restore.s
blob: eaedcdfba8577df3c16ce59cd8569ec90bdfb501 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.global __restore
.type   __restore, @function
__restore:
	mov   #119, r3  !__NR_sigreturn
	trapa #31

	or    r0, r0
	or    r0, r0
	or    r0, r0
	or    r0, r0
	or    r0, r0

.global __restore_rt
.type   __restore_rt, @function
__restore_rt:
	mov   #100, r3  !__NR_rt_sigreturn
	add   #73, r3
	trapa #31

	or    r0, r0
	or    r0, r0
	or    r0, r0
	or    r0, r0
	or    r0, r0