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