vdso.lds.S 624 B

1234567891011121314151617181920212223242526272829303132333435
  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. clock_getres;
  26. __vdso_clock_getres;
  27. #ifdef CONFIG_X86_SGX
  28. __vdso_sgx_enter_enclave;
  29. #endif
  30. local: *;
  31. };
  32. }