License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6-block.git] / arch / x86 / entry / vdso / vdso32 / vdso32.lds.S
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
0249c9c1
RM
2/*
3 * Linker script for 32-bit vDSO.
4 * We #include the file to define the layout details.
0249c9c1
RM
5 *
6 * This file defines the version script giving the user-exported symbols in
2b6f2e64 7 * the DSO.
0249c9c1
RM
8 */
9
7a59ed41
SS
10#include <asm/page.h>
11
12#define BUILD_VDSO32
7a59ed41 13
0249c9c1
RM
14#include "../vdso-layout.lds.S"
15
16/* The ELF entry point can be used to set the AT_SYSINFO value. */
17ENTRY(__kernel_vsyscall);
18
19/*
20 * This controls what userland symbols we export from the vDSO.
21 */
22VERSION
23{
37c97554
AL
24 LINUX_2.6 {
25 global:
26 __vdso_clock_gettime;
27 __vdso_gettimeofday;
28 __vdso_time;
29 };
30
0249c9c1
RM
31 LINUX_2.5 {
32 global:
33 __kernel_vsyscall;
34 __kernel_sigreturn;
35 __kernel_rt_sigreturn;
36 local: *;
37 };
38}