2 * Code for the vsyscall page. This version uses the old int $0x80 method.
5 * 1) __kernel_vsyscall _must_ be first in this page.
6 * 2) there are alignment constraints on this stub, see vsyscall-sigreturn.S
9 #include <asm/ia32_unistd.h>
10 #include <asm/asm-offsets.h>
14 .section .text.vsyscall,"ax"
15 .globl __kernel_vsyscall
16 .type __kernel_vsyscall,@function
22 .size __kernel_vsyscall,.-.LSTART_vsyscall
25 .section .eh_frame,"a",@progbits
27 .long .LENDCIE-.LSTARTCIE
30 .byte 1 /* Version number */
31 .string "zR" /* NUL-terminated augmentation string */
32 .uleb128 1 /* Code alignment factor */
33 .sleb128 -4 /* Data alignment factor */
34 .byte 8 /* Return address register column */
35 .uleb128 1 /* Augmentation value length */
36 .byte 0x1b /* DW_EH_PE_pcrel|DW_EH_PE_sdata4. */
37 .byte 0x0c /* DW_CFA_def_cfa */
40 .byte 0x88 /* DW_CFA_offset, column 0x8 */
45 .long .LENDFDE1-.LSTARTFDE1 /* Length FDE */
47 .long .LSTARTFDE1-.LSTARTFRAME /* CIE pointer */
48 .long .LSTART_vsyscall-. /* PC-relative start address */
49 .long .LEND_vsyscall-.LSTART_vsyscall
50 .uleb128 0 /* Augmentation length */
55 * Get the common code for the sigreturn entry points.
57 #define SYSCALL_ENTER_KERNEL int $0x80
58 #include "vsyscall-sigreturn.S"