about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--elf/elf.h4
-rw-r--r--sysdeps/generic/dl-sysdep.c3
3 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f95644617b..b0fedde2c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
diff --git a/elf/elf.h b/elf/elf.h
index 67e126f216..89ce5684db 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -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);