vdso32.lds.S 676 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. };
  25. LINUX_2.5 {
  26. global:
  27. __kernel_vsyscall;
  28. __kernel_sigreturn;
  29. __kernel_rt_sigreturn;
  30. local: *;
  31. };
  32. }