2007-07-21 23:10:01 +08:00
|
|
|
/*
|
2008-01-30 20:30:41 +08:00
|
|
|
* Linker script for 64-bit vDSO.
|
|
|
|
* We #include the file to define the layout details.
|
|
|
|
*
|
|
|
|
* This file defines the version script giving the user-exported symbols in
|
2014-05-06 03:19:37 +08:00
|
|
|
* the DSO.
|
2007-07-21 23:10:01 +08:00
|
|
|
*/
|
|
|
|
|
2014-06-19 06:59:48 +08:00
|
|
|
#define BUILD_VDSO64
|
|
|
|
|
2008-01-30 20:30:41 +08:00
|
|
|
#include "vdso-layout.lds.S"
|
2007-07-21 23:10:01 +08:00
|
|
|
|
2008-01-30 20:30:40 +08:00
|
|
|
/*
|
2008-01-30 20:30:41 +08:00
|
|
|
* This controls what userland symbols we export from the vDSO.
|
2008-01-30 20:30:40 +08:00
|
|
|
*/
|
2008-01-30 20:30:41 +08:00
|
|
|
VERSION {
|
|
|
|
LINUX_2.6 {
|
|
|
|
global:
|
|
|
|
clock_gettime;
|
|
|
|
__vdso_clock_gettime;
|
|
|
|
gettimeofday;
|
|
|
|
__vdso_gettimeofday;
|
|
|
|
getcpu;
|
|
|
|
__vdso_getcpu;
|
2011-05-23 21:31:30 +08:00
|
|
|
time;
|
|
|
|
__vdso_time;
|
2008-01-30 20:30:41 +08:00
|
|
|
local: *;
|
|
|
|
};
|
2007-07-21 23:10:01 +08:00
|
|
|
}
|