diff options
Diffstat (limited to 'arch/x86/entry/vdso/vdso32/vdso32.lds.S')
-rw-r--r-- | arch/x86/entry/vdso/vdso32/vdso32.lds.S | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/x86/entry/vdso/vdso32/vdso32.lds.S b/arch/x86/entry/vdso/vdso32/vdso32.lds.S new file mode 100644 index 000000000000..31056cf294bf --- /dev/null +++ b/arch/x86/entry/vdso/vdso32/vdso32.lds.S | |||
@@ -0,0 +1,37 @@ | |||
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. */ | ||
16 | ENTRY(__kernel_vsyscall); | ||
17 | |||
18 | /* | ||
19 | * This controls what userland symbols we export from the vDSO. | ||
20 | */ | ||
21 | VERSION | ||
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 | } | ||