vdso32.lds.S 953 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Linker script for 32-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 0
  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.5 {
  20. global:
  21. __kernel_vsyscall;
  22. __kernel_sigreturn;
  23. __kernel_rt_sigreturn;
  24. local: *;
  25. };
  26. }
  27. /*
  28. * Symbols we define here called VDSO* get their values into vdso32-syms.h.
  29. */
  30. VDSO32_PRELINK = VDSO_PRELINK;
  31. VDSO32_vsyscall = __kernel_vsyscall;
  32. VDSO32_sigreturn = __kernel_sigreturn;
  33. VDSO32_rt_sigreturn = __kernel_rt_sigreturn;