vdso.lds.S 528 B

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