1b2441318SGreg Kroah-Hartman/* SPDX-License-Identifier: GPL-2.0 */ 2d603c8e1SIngo Molnar/* 3d603c8e1SIngo Molnar * Linker script for 32-bit vDSO. 4d603c8e1SIngo Molnar * We #include the file to define the layout details. 5d603c8e1SIngo Molnar * 6d603c8e1SIngo Molnar * This file defines the version script giving the user-exported symbols in 7d603c8e1SIngo Molnar * the DSO. 8d603c8e1SIngo Molnar */ 9d603c8e1SIngo Molnar 10d603c8e1SIngo Molnar#include <asm/page.h> 11d603c8e1SIngo Molnar 12d603c8e1SIngo Molnar#define BUILD_VDSO32 13d603c8e1SIngo Molnar 14d603c8e1SIngo Molnar#include "../vdso-layout.lds.S" 15d603c8e1SIngo Molnar 16d603c8e1SIngo Molnar/* The ELF entry point can be used to set the AT_SYSINFO value. */ 17d603c8e1SIngo MolnarENTRY(__kernel_vsyscall); 18d603c8e1SIngo Molnar 19d603c8e1SIngo Molnar/* 20d603c8e1SIngo Molnar * This controls what userland symbols we export from the vDSO. 21d603c8e1SIngo Molnar */ 22d603c8e1SIngo MolnarVERSION 23d603c8e1SIngo Molnar{ 24d603c8e1SIngo Molnar LINUX_2.6 { 25d603c8e1SIngo Molnar global: 26d603c8e1SIngo Molnar __vdso_clock_gettime; 27d603c8e1SIngo Molnar __vdso_gettimeofday; 28d603c8e1SIngo Molnar __vdso_time; 29*f66501dcSVincenzo Frascino __vdso_clock_getres; 30d603c8e1SIngo Molnar }; 31d603c8e1SIngo Molnar 32d603c8e1SIngo Molnar LINUX_2.5 { 33d603c8e1SIngo Molnar global: 34d603c8e1SIngo Molnar __kernel_vsyscall; 35d603c8e1SIngo Molnar __kernel_sigreturn; 36d603c8e1SIngo Molnar __kernel_rt_sigreturn; 37d603c8e1SIngo Molnar local: *; 38d603c8e1SIngo Molnar }; 39d603c8e1SIngo Molnar} 40