Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Linker script for 64-bit vDSO.
0004  * We #include the file to define the layout details.
0005  * Here we only choose the prelinked virtual address.
0006  *
0007  * This file defines the version script giving the user-exported symbols in
0008  * the DSO.  We can define local symbols here called VDSO* to make their
0009  * values visible using the asm-x86/vdso.h macros from the kernel proper.
0010  */
0011 
0012 #define VDSO_PRELINK 0xffffffffff700000
0013 #include "vdso-layout.lds.S"
0014 
0015 /*
0016  * This controls what userland symbols we export from the vDSO.
0017  */
0018 VERSION {
0019     LINUX_2.6 {
0020     global:
0021         clock_gettime;
0022         __vdso_clock_gettime;
0023         gettimeofday;
0024         __vdso_gettimeofday;
0025         getcpu;
0026         __vdso_getcpu;
0027         time;
0028         __vdso_time;
0029     local: *;
0030     };
0031 }
0032 
0033 VDSO64_PRELINK = VDSO_PRELINK;