summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/vsyscall/vsyscall-sigreturn.S
blob: 23af17584054e4601ae6277046eafd1145841a99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#include <asm/unistd.h>

	.text
	.balign 32
	.globl __kernel_sigreturn
	.type __kernel_sigreturn,@function
__kernel_sigreturn:
.LSTART_sigreturn:
	mov.w	1f, r3
	trapa	#0x10
	or	r0, r0
	or	r0, r0
	or	r0, r0
	or	r0, r0
	or	r0, r0

1:	.short	__NR_sigreturn
.LEND_sigreturn:
	.size __kernel_sigreturn,.-.LSTART_sigreturn

	.balign 32
	.globl __kernel_rt_sigreturn
	.type __kernel_rt_sigreturn,@function
__kernel_rt_sigreturn:
.LSTART_rt_sigreturn:
	mov.w	1f, r3
	trapa	#0x10
	or	r0, r0
	or	r0, r0
	or	r0, r0
	or	r0, r0
	or	r0, r0

1:	.short	__NR_rt_sigreturn
.LEND_rt_sigreturn:
	.size __kernel_rt_sigreturn,.-.LSTART_rt_sigreturn
	.previous

	.section .eh_frame,"a",@progbits
.LCIE1:
	.ualong	.LCIE1_end - .LCIE1_start
.LCIE1_start:
	.ualong	0		/* CIE ID */
	.byte	0x1		/* Version number */
	.string	"zRS"		/* NUL-terminated augmentation string */
	.uleb128 0x1		/* Code alignment factor */
	.sleb128 -4		/* Data alignment factor */
	.byte	0x11		/* Return address register column */
	.uleb128 0x1		/* Augmentation length and data */
	.byte 0x1b              /* DW_EH_PE_pcrel | DW_EH_PE_sdata4. */
	.byte	0xc, 0xf, 0x0	/* DW_CFA_def_cfa: r15 ofs 0 */

	.align 2
.LCIE1_end:

	.ualong	.LFDE0_end-.LFDE0_start	/* Length FDE0 */
.LFDE0_start:
	.ualong	.LFDE0_start-.LCIE1	/* CIE pointer */
	.ualong	.LSTART_sigreturn-.	/* PC-relative start address */
	.ualong	.LEND_sigreturn-.LSTART_sigreturn
	.uleb128 0			/* Augmentation */
	.align 2
.LFDE0_end:

	.ualong	.LFDE1_end-.LFDE1_start	/* Length FDE1 */
.LFDE1_start:
	.ualong	.LFDE1_start-.LCIE1	/* CIE pointer */
	.ualong	.LSTART_rt_sigreturn-.	/* PC-relative start address */
	.ualong	.LEND_rt_sigreturn-.LSTART_rt_sigreturn
	.uleb128 0			/* Augmentation */
	.align 2
.LFDE1_end:

	.previous