/*1* Code for the vDSO. This version uses the syscall instruction.2*3* First get the common code for the sigreturn entry points.4* This must come first.5*/6#define SYSCALL_ENTER_KERNEL syscall7#include "sigreturn.S"89#include <asm/segment.h>1011.text12.globl __kernel_vsyscall13.type __kernel_vsyscall,@function14ALIGN15__kernel_vsyscall:16.LSTART_vsyscall:17push %ebp18.Lpush_ebp:19movl %ecx, %ebp20syscall21movl $__USER32_DS, %ecx22movl %ecx, %ss23movl %ebp, %ecx24popl %ebp25.Lpop_ebp:26ret27.LEND_vsyscall:28.size __kernel_vsyscall,.-.LSTART_vsyscall2930.section .eh_frame,"a",@progbits31.LSTARTFRAME:32.long .LENDCIE-.LSTARTCIE33.LSTARTCIE:34.long 0 /* CIE ID */35.byte 1 /* Version number */36.string "zR" /* NUL-terminated augmentation string */37.uleb128 1 /* Code alignment factor */38.sleb128 -4 /* Data alignment factor */39.byte 8 /* Return address register column */40.uleb128 1 /* Augmentation value length */41.byte 0x1b /* DW_EH_PE_pcrel|DW_EH_PE_sdata4. */42.byte 0x0c /* DW_CFA_def_cfa */43.uleb128 444.uleb128 445.byte 0x88 /* DW_CFA_offset, column 0x8 */46.uleb128 147.align 448.LENDCIE:4950.long .LENDFDE1-.LSTARTFDE1 /* Length FDE */51.LSTARTFDE1:52.long .LSTARTFDE1-.LSTARTFRAME /* CIE pointer */53.long .LSTART_vsyscall-. /* PC-relative start address */54.long .LEND_vsyscall-.LSTART_vsyscall55.uleb128 0 /* Augmentation length */56/* What follows are the instructions for the table generation.57We have to record all changes of the stack pointer. */58.byte 0x40 + .Lpush_ebp-.LSTART_vsyscall /* DW_CFA_advance_loc */59.byte 0x0e /* DW_CFA_def_cfa_offset */60.uleb128 861.byte 0x85, 0x02 /* DW_CFA_offset %ebp -8 */62.byte 0x40 + .Lpop_ebp-.Lpush_ebp /* DW_CFA_advance_loc */63.byte 0xc5 /* DW_CFA_restore %ebp */64.byte 0x0e /* DW_CFA_def_cfa_offset */65.uleb128 466.align 467.LENDFDE1:68.previous6970/*71* Pad out the segment to match the size of the sysenter.S version.72*/73VDSO32_vsyscall_eh_frame_size = 0x4074.section .data,"aw",@progbits75.space VDSO32_vsyscall_eh_frame_size-(.LENDFDE1-.LSTARTFRAME), 076.previous777879