blob: 6807932643c20e25d4e366e7fc5cc967a71e5e51 [file] [log] [blame]
Andi Kleen2aae9502007-07-21 17:10:01 +02001/*
Roland McGrathf6b46eb2008-01-30 13:30:41 +01002 * Linker script for 64-bit vDSO.
3 * We #include the file to define the layout details.
Roland McGrathf6b46eb2008-01-30 13:30:41 +01004 *
5 * This file defines the version script giving the user-exported symbols in
Andy Lutomirski2b6f2e62014-05-05 12:19:37 -07006 * the DSO.
Andi Kleen2aae9502007-07-21 17:10:01 +02007 */
Andi Kleen2aae9502007-07-21 17:10:01 +02008
Andy Lutomirskibfad3812014-06-18 15:59:48 -07009#define BUILD_VDSO64
10
Roland McGrathf6b46eb2008-01-30 13:30:41 +010011#include "vdso-layout.lds.S"
Andi Kleen2aae9502007-07-21 17:10:01 +020012
Roland McGrath5b930492008-01-30 13:30:40 +010013/*
Roland McGrathf6b46eb2008-01-30 13:30:41 +010014 * This controls what userland symbols we export from the vDSO.
Roland McGrath5b930492008-01-30 13:30:40 +010015 */
Roland McGrathf6b46eb2008-01-30 13:30:41 +010016VERSION {
17 LINUX_2.6 {
18 global:
19 clock_gettime;
20 __vdso_clock_gettime;
21 gettimeofday;
22 __vdso_gettimeofday;
23 getcpu;
24 __vdso_getcpu;
Andy Lutomirskif144a6b2011-05-23 09:31:30 -040025 time;
26 __vdso_time;
Roland McGrathf6b46eb2008-01-30 13:30:41 +010027 local: *;
28 };
29}