vdso.lds.S 728 字节
Newer Older
1
/*
R
Roland McGrath 已提交
2 3 4 5 6 7 8
 * Linker script for 64-bit vDSO.
 * We #include the file to define the layout details.
 * Here we only choose the prelinked virtual address.
 *
 * This file defines the version script giving the user-exported symbols in
 * the DSO.  We can define local symbols here called VDSO* to make their
 * values visible using the asm-x86/vdso.h macros from the kernel proper.
9 10 11
 */

#define VDSO_PRELINK 0xffffffffff700000
R
Roland McGrath 已提交
12
#include "vdso-layout.lds.S"
13

14
/*
R
Roland McGrath 已提交
15
 * This controls what userland symbols we export from the vDSO.
16
 */
R
Roland McGrath 已提交
17 18 19 20 21 22 23 24 25
VERSION {
	LINUX_2.6 {
	global:
		clock_gettime;
		__vdso_clock_gettime;
		gettimeofday;
		__vdso_gettimeofday;
		getcpu;
		__vdso_getcpu;
A
Andy Lutomirski 已提交
26 27
		time;
		__vdso_time;
R
Roland McGrath 已提交
28 29
	local: *;
	};
30 31
}

R
Roland McGrath 已提交
32
VDSO64_PRELINK = VDSO_PRELINK;