vdso32.lds.S 725 B

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