H. J. Lu | 1a21d4e | 2012-02-19 11:38:06 -0800 | [diff] [blame] | 1 | /* |
2 | * Linker script for x32 vDSO. | ||||
3 | * We #include the file to define the layout details. | ||||
H. J. Lu | 1a21d4e | 2012-02-19 11:38:06 -0800 | [diff] [blame] | 4 | * |
5 | * This file defines the version script giving the user-exported symbols in | ||||
Andy Lutomirski | 2b6f2e6 | 2014-05-05 12:19:37 -0700 | [diff] [blame] | 6 | * the DSO. |
H. J. Lu | 1a21d4e | 2012-02-19 11:38:06 -0800 | [diff] [blame] | 7 | */ |
8 | |||||
Andy Lutomirski | bfad381 | 2014-06-18 15:59:48 -0700 | [diff] [blame] | 9 | #define BUILD_VDSOX32 |
10 | |||||
H. J. Lu | 1a21d4e | 2012-02-19 11:38:06 -0800 | [diff] [blame] | 11 | #include "vdso-layout.lds.S" |
12 | |||||
13 | /* | ||||
14 | * This controls what userland symbols we export from the vDSO. | ||||
15 | */ | ||||
16 | VERSION { | ||||
17 | LINUX_2.6 { | ||||
18 | global: | ||||
H. J. Lu | 1a21d4e | 2012-02-19 11:38:06 -0800 | [diff] [blame] | 19 | __vdso_clock_gettime; |
H. J. Lu | 1a21d4e | 2012-02-19 11:38:06 -0800 | [diff] [blame] | 20 | __vdso_gettimeofday; |
H. J. Lu | 1a21d4e | 2012-02-19 11:38:06 -0800 | [diff] [blame] | 21 | __vdso_getcpu; |
H. J. Lu | 1a21d4e | 2012-02-19 11:38:06 -0800 | [diff] [blame] | 22 | __vdso_time; |
23 | local: *; | ||||
24 | }; | ||||
25 | } |