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