.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2012 Regents of the University of California |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or |
---|
5 | | - * modify it under the terms of the GNU General Public License |
---|
6 | | - * as published by the Free Software Foundation, version 2. |
---|
7 | | - * |
---|
8 | | - * This program is distributed in the hope that it will be useful, |
---|
9 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
10 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
11 | | - * GNU General Public License for more details. |
---|
12 | 4 | */ |
---|
| 5 | +#include <asm/page.h> |
---|
13 | 6 | |
---|
14 | 7 | OUTPUT_ARCH(riscv) |
---|
15 | 8 | |
---|
16 | 9 | SECTIONS |
---|
17 | 10 | { |
---|
| 11 | + PROVIDE(_vdso_data = . + PAGE_SIZE); |
---|
18 | 12 | . = SIZEOF_HEADERS; |
---|
19 | 13 | |
---|
20 | 14 | .hash : { *(.hash) } :text |
---|
.. | .. |
---|
70 | 64 | LINUX_4.15 { |
---|
71 | 65 | global: |
---|
72 | 66 | __vdso_rt_sigreturn; |
---|
| 67 | +#ifdef HAS_VGETTIMEOFDAY |
---|
73 | 68 | __vdso_gettimeofday; |
---|
74 | 69 | __vdso_clock_gettime; |
---|
75 | 70 | __vdso_clock_getres; |
---|
| 71 | +#endif |
---|
76 | 72 | __vdso_getcpu; |
---|
77 | 73 | __vdso_flush_icache; |
---|
78 | 74 | local: *; |
---|