xref: /OK3568_Linux_fs/kernel/arch/x86/entry/vdso/vdso.lds.S (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun/* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun/*
3*4882a593Smuzhiyun * Linker script for 64-bit vDSO.
4*4882a593Smuzhiyun * We #include the file to define the layout details.
5*4882a593Smuzhiyun *
6*4882a593Smuzhiyun * This file defines the version script giving the user-exported symbols in
7*4882a593Smuzhiyun * the DSO.
8*4882a593Smuzhiyun */
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun#define BUILD_VDSO64
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun#include "vdso-layout.lds.S"
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun/*
15*4882a593Smuzhiyun * This controls what userland symbols we export from the vDSO.
16*4882a593Smuzhiyun */
17*4882a593SmuzhiyunVERSION {
18*4882a593Smuzhiyun	LINUX_2.6 {
19*4882a593Smuzhiyun	global:
20*4882a593Smuzhiyun		clock_gettime;
21*4882a593Smuzhiyun		__vdso_clock_gettime;
22*4882a593Smuzhiyun		gettimeofday;
23*4882a593Smuzhiyun		__vdso_gettimeofday;
24*4882a593Smuzhiyun		getcpu;
25*4882a593Smuzhiyun		__vdso_getcpu;
26*4882a593Smuzhiyun		time;
27*4882a593Smuzhiyun		__vdso_time;
28*4882a593Smuzhiyun		clock_getres;
29*4882a593Smuzhiyun		__vdso_clock_getres;
30*4882a593Smuzhiyun	local: *;
31*4882a593Smuzhiyun	};
32*4882a593Smuzhiyun}
33