1/* 2 * Linker script for 32-bit vDSO. 3 * We #include the file to define the layout details. 4 * Here we only choose the prelinked virtual address. 5 * 6 * This file defines the version script giving the user-exported symbols in 7 * the DSO. We can define local symbols here called VDSO* to make their 8 * values visible using the asm-x86/vdso.h macros from the kernel proper. 9 */ 10 11#define VDSO_PRELINK 0 12#include "../vdso-layout.lds.S" 13 14/* The ELF entry point can be used to set the AT_SYSINFO value. */ 15ENTRY(__kernel_vsyscall); 16 17/* 18 * This controls what userland symbols we export from the vDSO. 19 */ 20VERSION 21{ 22 LINUX_2.5 { 23 global: 24 __kernel_vsyscall; 25 __kernel_sigreturn; 26 __kernel_rt_sigreturn; 27 local: *; 28 }; 29} 30 31/* 32 * Symbols we define here called VDSO* get their values into vdso32-syms.h. 33 */ 34VDSO32_PRELINK = VDSO_PRELINK; 35VDSO32_vsyscall = __kernel_vsyscall; 36VDSO32_sigreturn = __kernel_sigreturn; 37VDSO32_rt_sigreturn = __kernel_rt_sigreturn; 38