diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/Versions | 1 | ||||
-rw-r--r-- | elf/dl-load.c | 2 | ||||
-rw-r--r-- | elf/elf.h | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/elf/Versions b/elf/Versions index 06bcb03f95..e9b29f5c63 100644 --- a/elf/Versions +++ b/elf/Versions @@ -61,5 +61,6 @@ ld { # variables used elsewhere _dl_out_of_memory; _dl_all_dirs; _dl_init_all_dirs; + _dl_clktck; _dl_pagesize; } } diff --git a/elf/dl-load.c b/elf/dl-load.c index dc1d57ff0a..45f38f3c44 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -112,6 +112,8 @@ struct filebuf size_t _dl_pagesize; +int _dl_clktck; + extern const char *_dl_platform; extern size_t _dl_platformlen; @@ -862,6 +862,7 @@ typedef struct #define AT_EUID 12 /* Effective uid */ #define AT_GID 13 /* Real gid */ #define AT_EGID 14 /* Effective gid */ +#define AT_CLKTCK 17 /* Frequency of times() */ /* Some more special a_type values describing the hardware. */ #define AT_PLATFORM 15 /* String identifying platform. */ @@ -870,7 +871,7 @@ typedef struct /* This entry gives some information about the FPU initialization performed by the kernel. */ -#define AT_FPUCW 17 /* Used FPU control word. */ +#define AT_FPUCW 18 /* Used FPU control word. */ /* Note section contents. Each entry in the note section begins with |