^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Linker script for 64-bit vDSO.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * We #include the file to define the layout details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * This file defines the version script giving the user-exported symbols in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * the DSO.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define BUILD_VDSO64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include "vdso-layout.lds.S"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) * This controls what userland symbols we export from the vDSO.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) VERSION {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) LINUX_2.6 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) global:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) clock_gettime;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) __vdso_clock_gettime;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) gettimeofday;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) __vdso_gettimeofday;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) getcpu;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) __vdso_getcpu;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) time;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) __vdso_time;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) clock_getres;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) __vdso_clock_getres;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) local: *;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) }