Linux 4.8-rc8
[linux/fpc-iii.git] / arch / sh / kernel / vsyscall / vsyscall-sigreturn.S
blob23af17584054e4601ae6277046eafd1145841a99
1 #include <asm/unistd.h>
3         .text
4         .balign 32
5         .globl __kernel_sigreturn
6         .type __kernel_sigreturn,@function
7 __kernel_sigreturn:
8 .LSTART_sigreturn:
9         mov.w   1f, r3
10         trapa   #0x10
11         or      r0, r0
12         or      r0, r0
13         or      r0, r0
14         or      r0, r0
15         or      r0, r0
17 1:      .short  __NR_sigreturn
18 .LEND_sigreturn:
19         .size __kernel_sigreturn,.-.LSTART_sigreturn
21         .balign 32
22         .globl __kernel_rt_sigreturn
23         .type __kernel_rt_sigreturn,@function
24 __kernel_rt_sigreturn:
25 .LSTART_rt_sigreturn:
26         mov.w   1f, r3
27         trapa   #0x10
28         or      r0, r0
29         or      r0, r0
30         or      r0, r0
31         or      r0, r0
32         or      r0, r0
34 1:      .short  __NR_rt_sigreturn
35 .LEND_rt_sigreturn:
36         .size __kernel_rt_sigreturn,.-.LSTART_rt_sigreturn
37         .previous
39         .section .eh_frame,"a",@progbits
40 .LCIE1:
41         .ualong .LCIE1_end - .LCIE1_start
42 .LCIE1_start:
43         .ualong 0               /* CIE ID */
44         .byte   0x1             /* Version number */
45         .string "zRS"           /* NUL-terminated augmentation string */
46         .uleb128 0x1            /* Code alignment factor */
47         .sleb128 -4             /* Data alignment factor */
48         .byte   0x11            /* Return address register column */
49         .uleb128 0x1            /* Augmentation length and data */
50         .byte 0x1b              /* DW_EH_PE_pcrel | DW_EH_PE_sdata4. */
51         .byte   0xc, 0xf, 0x0   /* DW_CFA_def_cfa: r15 ofs 0 */
53         .align 2
54 .LCIE1_end:
56         .ualong .LFDE0_end-.LFDE0_start /* Length FDE0 */
57 .LFDE0_start:
58         .ualong .LFDE0_start-.LCIE1     /* CIE pointer */
59         .ualong .LSTART_sigreturn-.     /* PC-relative start address */
60         .ualong .LEND_sigreturn-.LSTART_sigreturn
61         .uleb128 0                      /* Augmentation */
62         .align 2
63 .LFDE0_end:
65         .ualong .LFDE1_end-.LFDE1_start /* Length FDE1 */
66 .LFDE1_start:
67         .ualong .LFDE1_start-.LCIE1     /* CIE pointer */
68         .ualong .LSTART_rt_sigreturn-.  /* PC-relative start address */
69         .ualong .LEND_rt_sigreturn-.LSTART_rt_sigreturn
70         .uleb128 0                      /* Augmentation */
71         .align 2
72 .LFDE1_end:
74         .previous