File Index
Files and directories
Sign in
FILE

vdso.lds.S

File preview with syntax highlighting.

linux-6.19.14/arch/x86/um/vdso/vdso.lds.S S
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 * Linker script for 64-bit vDSO.
 4 * We #include the file to define the layout details.
 5 * Here we only choose the prelinked virtual address.
 6 *
 7 * This file defines the version script giving the user-exported symbols in
 8 * the DSO.  We can define local symbols here called VDSO* to make their
 9 * values visible using the asm-x86/vdso.h macros from the kernel proper.
10 */
11
12#define VDSO_PRELINK 0xffffffffff700000
13#include "vdso-layout.lds.S"
14
15/*
16 * This controls what userland symbols we export from the vDSO.
17 */
18VERSION {
19	LINUX_2.6 {
20	global:
21		clock_gettime;
22		__vdso_clock_gettime;
23		gettimeofday;
24		__vdso_gettimeofday;
25		time;
26		__vdso_time;
27	local: *;
28	};
29}
30
31VDSO64_PRELINK = VDSO_PRELINK;
~/ Read-only file preview.