vdso32.lds.S 637 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Linker script for 32-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. #include <asm/page.h>
  9. #define BUILD_VDSO32
  10. #include "../vdso-layout.lds.S"
  11. /* The ELF entry point can be used to set the AT_SYSINFO value. */
  12. ENTRY(__kernel_vsyscall);
  13. /*
  14. * This controls what userland symbols we export from the vDSO.
  15. */
  16. VERSION
  17. {
  18. LINUX_2.6 {
  19. global:
  20. __vdso_clock_gettime;
  21. __vdso_gettimeofday;
  22. __vdso_time;
  23. };
  24. LINUX_2.5 {
  25. global:
  26. __kernel_vsyscall;
  27. __kernel_sigreturn;
  28. __kernel_rt_sigreturn;
  29. local: *;
  30. };
  31. }