1*b2441318SGreg Kroah-Hartman/* SPDX-License-Identifier: GPL-2.0 */ 25c48b108SAl Viro/* 35c48b108SAl Viro * Linker script for 64-bit vDSO. 45c48b108SAl Viro * We #include the file to define the layout details. 55c48b108SAl Viro * Here we only choose the prelinked virtual address. 65c48b108SAl Viro * 75c48b108SAl Viro * This file defines the version script giving the user-exported symbols in 85c48b108SAl Viro * the DSO. We can define local symbols here called VDSO* to make their 95c48b108SAl Viro * values visible using the asm-x86/vdso.h macros from the kernel proper. 105c48b108SAl Viro */ 115c48b108SAl Viro 125c48b108SAl Viro#define VDSO_PRELINK 0xffffffffff700000 135c48b108SAl Viro#include "vdso-layout.lds.S" 145c48b108SAl Viro 155c48b108SAl Viro/* 165c48b108SAl Viro * This controls what userland symbols we export from the vDSO. 175c48b108SAl Viro */ 185c48b108SAl ViroVERSION { 195c48b108SAl Viro LINUX_2.6 { 205c48b108SAl Viro global: 215c48b108SAl Viro clock_gettime; 225c48b108SAl Viro __vdso_clock_gettime; 235c48b108SAl Viro gettimeofday; 245c48b108SAl Viro __vdso_gettimeofday; 255c48b108SAl Viro getcpu; 265c48b108SAl Viro __vdso_getcpu; 275c48b108SAl Viro time; 285c48b108SAl Viro __vdso_time; 295c48b108SAl Viro local: *; 305c48b108SAl Viro }; 315c48b108SAl Viro} 325c48b108SAl Viro 335c48b108SAl ViroVDSO64_PRELINK = VDSO_PRELINK; 34