diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | elf/elf.h | 4 | ||||
-rw-r--r-- | sysdeps/generic/dl-sysdep.c | 3 |
3 files changed, 12 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2002-12-17 Ulrich Drepper <drepper@redhat.com> + + * elf/elf.h (AT_SYSINFO): New define. + * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add support for + AT_SYSINFO. + 2002-12-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgrcv, msgsnd): @@ -946,6 +946,10 @@ typedef struct interpretation of the AUXV. Must be > 16. */ #define AT_IGNOREPPC 22 /* Entry should be ignored */ +/* Pointer to the global system page used for system calls and other + nice things. */ +#define AT_SYSINFO 32 + /* Note section contents. Each entry in the note section begins with a header of a fixed form. */ diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c index 17e8f4dcf2..256eca5227 100644 --- a/sysdeps/generic/dl-sysdep.c +++ b/sysdeps/generic/dl-sysdep.c @@ -238,7 +238,8 @@ _dl_show_auxv (void) [AT_FPUCW - 2] = { "AT_FPUCW: ", hex }, [AT_DCACHEBSIZE - 2] = { "AT_DCACHEBSIZE: 0x", hex }, [AT_ICACHEBSIZE - 2] = { "AT_ICACHEBSIZE: 0x", hex }, - [AT_UCACHEBSIZE - 2] = { "AT_UCACHEBSIZE: 0x", hex } + [AT_UCACHEBSIZE - 2] = { "AT_UCACHEBSIZE: 0x", hex }, + [AT_SYSINFO - 2] = { "AT_SYSINFO: 0x", hex } }; unsigned int idx = (unsigned int) (av->a_type - 2); |