Paul Mundt | 19f9a34 | 2006-09-27 18:33:49 +0900 | [diff] [blame] | 1 | .text |
| 2 | .globl __kernel_vsyscall |
| 3 | .type __kernel_vsyscall,@function |
| 4 | __kernel_vsyscall: |
| 5 | .LSTART_vsyscall: |
Paul Mundt | cd34e20 | 2012-03-30 19:42:26 +0900 | [diff] [blame] | 6 | trapa #0x10 |
| 7 | nop |
Paul Mundt | 19f9a34 | 2006-09-27 18:33:49 +0900 | [diff] [blame] | 8 | .LEND_vsyscall: |
| 9 | .size __kernel_vsyscall,.-.LSTART_vsyscall |
Paul Mundt | cd34e20 | 2012-03-30 19:42:26 +0900 | [diff] [blame] | 10 | .previous |
Paul Mundt | 19f9a34 | 2006-09-27 18:33:49 +0900 | [diff] [blame] | 11 | |
| 12 | .section .eh_frame,"a",@progbits |
Paul Mundt | 19f9a34 | 2006-09-27 18:33:49 +0900 | [diff] [blame] | 13 | .LCIE: |
| 14 | .ualong .LCIE_end - .LCIE_start |
| 15 | .LCIE_start: |
| 16 | .ualong 0 /* CIE ID */ |
| 17 | .byte 0x1 /* Version number */ |
Paul Mundt | cd34e20 | 2012-03-30 19:42:26 +0900 | [diff] [blame] | 18 | .string "zR" /* NUL-terminated augmentation string */ |
Paul Mundt | 19f9a34 | 2006-09-27 18:33:49 +0900 | [diff] [blame] | 19 | .uleb128 0x1 /* Code alignment factor */ |
| 20 | .sleb128 -4 /* Data alignment factor */ |
| 21 | .byte 0x11 /* Return address register column */ |
Paul Mundt | cd34e20 | 2012-03-30 19:42:26 +0900 | [diff] [blame] | 22 | .uleb128 0x1 /* Augmentation length and data */ |
| 23 | .byte 0x1b /* DW_EH_PE_pcrel | DW_EH_PE_sdata4. */ |
| 24 | .byte 0xc,0xf,0x0 /* DW_CFA_def_cfa: r15 ofs 0 */ |
Paul Mundt | 19f9a34 | 2006-09-27 18:33:49 +0900 | [diff] [blame] | 25 | .align 2 |
| 26 | .LCIE_end: |
| 27 | |
| 28 | .ualong .LFDE_end-.LFDE_start /* Length FDE */ |
| 29 | .LFDE_start: |
Paul Mundt | cd34e20 | 2012-03-30 19:42:26 +0900 | [diff] [blame] | 30 | .ualong .LFDE_start-.LCIE /* CIE pointer */ |
| 31 | .ualong .LSTART_vsyscall-. /* PC-relative start address */ |
Paul Mundt | 19f9a34 | 2006-09-27 18:33:49 +0900 | [diff] [blame] | 32 | .ualong .LEND_vsyscall-.LSTART_vsyscall |
Paul Mundt | cd34e20 | 2012-03-30 19:42:26 +0900 | [diff] [blame] | 33 | .uleb128 0 /* Augmentation */ |
Paul Mundt | 19f9a34 | 2006-09-27 18:33:49 +0900 | [diff] [blame] | 34 | .align 2 |
| 35 | .LFDE_end: |
| 36 | .previous |
| 37 | |
| 38 | /* Get the common code for the sigreturn entry points */ |
| 39 | #include "vsyscall-sigreturn.S" |