vdso.lds.S 728 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Linker script for 64-bit vDSO.
  3. * We #include the file to define the layout details.
  4. * Here we only choose the prelinked virtual address.
  5. *
  6. * This file defines the version script giving the user-exported symbols in
  7. * the DSO. We can define local symbols here called VDSO* to make their
  8. * values visible using the asm-x86/vdso.h macros from the kernel proper.
  9. */
  10. #define VDSO_PRELINK 0xffffffffff700000
  11. #include "vdso-layout.lds.S"
  12. /*
  13. * This controls what userland symbols we export from the vDSO.
  14. */
  15. VERSION {
  16. LINUX_2.6 {
  17. global:
  18. clock_gettime;
  19. __vdso_clock_gettime;
  20. gettimeofday;
  21. __vdso_gettimeofday;
  22. getcpu;
  23. __vdso_getcpu;
  24. time;
  25. __vdso_time;
  26. local: *;
  27. };
  28. }
  29. VDSO64_PRELINK = VDSO_PRELINK;