Loading...
1/*
2 * Linker script for 32-bit vDSO.
3 * We #include the file to define the layout details.
4 *
5 * This file defines the version script giving the user-exported symbols in
6 * the DSO.
7 */
8
9#include <asm/page.h>
10
11#define BUILD_VDSO32
12
13#include "../vdso-layout.lds.S"
14
15/* The ELF entry point can be used to set the AT_SYSINFO value. */
16ENTRY(__kernel_vsyscall);
17
18/*
19 * This controls what userland symbols we export from the vDSO.
20 */
21VERSION
22{
23 LINUX_2.6 {
24 global:
25 __vdso_clock_gettime;
26 __vdso_gettimeofday;
27 __vdso_time;
28 };
29
30 LINUX_2.5 {
31 global:
32 __kernel_vsyscall;
33 __kernel_sigreturn;
34 __kernel_rt_sigreturn;
35 local: *;
36 };
37}