vdso32.lds.S 637 字节
Newer Older
R
Roland McGrath 已提交
1 2 3 4 5
/*
 * Linker script for 32-bit vDSO.
 * We #include the file to define the layout details.
 *
 * This file defines the version script giving the user-exported symbols in
6
 * the DSO.
R
Roland McGrath 已提交
7 8
 */

9 10 11 12
#include <asm/page.h>

#define BUILD_VDSO32

R
Roland McGrath 已提交
13 14 15 16 17 18 19 20 21 22
#include "../vdso-layout.lds.S"

/* The ELF entry point can be used to set the AT_SYSINFO value.  */
ENTRY(__kernel_vsyscall);

/*
 * This controls what userland symbols we export from the vDSO.
 */
VERSION
{
23 24 25 26 27 28 29
	LINUX_2.6 {
	global:
		__vdso_clock_gettime;
		__vdso_gettimeofday;
		__vdso_time;
	};

R
Roland McGrath 已提交
30 31 32 33 34 35 36 37
	LINUX_2.5 {
	global:
		__kernel_vsyscall;
		__kernel_sigreturn;
		__kernel_rt_sigreturn;
	local: *;
	};
}