| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Linker script for 64-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 | #define BUILD_VDSO64 | ||||
| 10 | |||||
| 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: | ||||
| 19 | clock_gettime; | ||||
| 20 | __vdso_clock_gettime; | ||||
| 21 | gettimeofday; | ||||
| 22 | __vdso_gettimeofday; | ||||
| 23 | local: *; | ||||
| 24 | }; | ||||
| 25 | } | ||||