Blame view
arch/x86/vdso/vdso.lds.S
728 Bytes
2aae950b2 x86_64: Add vDSO ... |
1 |
/* |
f6b46ebf9 x86 vDSO: new layout |
2 3 4 5 6 7 8 |
* Linker script for 64-bit vDSO. * We #include the file to define the layout details. * Here we only choose the prelinked virtual address. * * This file defines the version script giving the user-exported symbols in * the DSO. We can define local symbols here called VDSO* to make their * values visible using the asm-x86/vdso.h macros from the kernel proper. |
2aae950b2 x86_64: Add vDSO ... |
9 |
*/ |
2aae950b2 x86_64: Add vDSO ... |
10 11 |
#define VDSO_PRELINK 0xffffffffff700000 |
f6b46ebf9 x86 vDSO: new layout |
12 |
#include "vdso-layout.lds.S" |
2aae950b2 x86_64: Add vDSO ... |
13 |
|
5b9304933 x86 vDSO: generat... |
14 |
/* |
f6b46ebf9 x86 vDSO: new layout |
15 |
* This controls what userland symbols we export from the vDSO. |
5b9304933 x86 vDSO: generat... |
16 |
*/ |
f6b46ebf9 x86 vDSO: new layout |
17 18 19 20 21 22 23 24 25 |
VERSION { LINUX_2.6 { global: clock_gettime; __vdso_clock_gettime; gettimeofday; __vdso_gettimeofday; getcpu; __vdso_getcpu; |
f144a6b4d x86-64: Add time ... |
26 27 |
time; __vdso_time; |
f6b46ebf9 x86 vDSO: new layout |
28 29 |
local: *; }; |
2aae950b2 x86_64: Add vDSO ... |
30 |
} |
f6b46ebf9 x86 vDSO: new layout |
31 |
VDSO64_PRELINK = VDSO_PRELINK; |