1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

syscalls.list support for vDSO IFUNCs, use it for x32 gettimeofday and time.

This commit is contained in:
Roland McGrath
2012-05-22 16:00:50 -07:00
parent d6c33fda03
commit c14874927b
6 changed files with 128 additions and 48 deletions

View File

@ -33,6 +33,17 @@
/* We don't have a specific file where the symbol can be found. */ \
var.filename = NULL
/* Use this for the known version sets defined below, where we
record their precomputed hash values only once, in this file. */
#define PREPARE_VERSION_KNOWN(var, vname) \
PREPARE_VERSION (var, VDSO_NAME_##vname, VDSO_HASH_##vname)
#define VDSO_NAME_LINUX_2_6 "LINUX_2.6"
#define VDSO_HASH_LINUX_2_6 61765110
#define VDSO_NAME_LINUX_2_6_15 "LINUX_2.6.15"
#define VDSO_HASH_LINUX_2_6_15 123718565
#define VDSO_NAME_LINUX_2_6_29 "LINUX_2.6.29"
#define VDSO_HASH_LINUX_2_6_29 123718585
/* Functions for resolving symbols in the VDSO link map. */
extern void *_dl_vdso_vsym (const char *name,