about summary refs log tree commit diff
path: root/src/signal/sh/restore.s
blob: ab26034b5f7f4306049bf6ed98f51933c6fb3d3a (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 #16

	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 #16

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