about summary refs log tree commit diff
path: root/src/signal/sh/restore.s
blob: 3a92199db632a39e28a03920f5284aa66a01bc62 (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
.hidden __restore
__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
.hidden __restore_rt
__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