about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-06-26 08:50:20 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-06-26 08:50:20 -0500
commitc18c701d030e28698e6faee9c6d3b8b80d0e2302 (patch)
treed1d07301f27fba6fbf7d48ccb64b992b663a57f9
parent89756a8cdb72c3741aa01e97d4ec8c4b30da585b (diff)
downloadglibc-c18c701d030e28698e6faee9c6d3b8b80d0e2302.tar.gz
glibc-c18c701d030e28698e6faee9c6d3b8b80d0e2302.tar.xz
glibc-c18c701d030e28698e6faee9c6d3b8b80d0e2302.zip
Add AT_HWCAP2 as a new auxv_t a_type to elf.h.
-rw-r--r--ChangeLog4
-rw-r--r--elf/elf.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 56bf1da427..8bc2ddc26b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
+
+	* elf/elf.h (AT_HWCAP2): Add a new a_type entry.
+
 2013-06-25  Richard Henderson  <rth@redhat.com>
 
 	* locale/programs/locarchive.c: Include <libc-internal.h>
diff --git a/elf/elf.h b/elf/elf.h
index 4ad4f39999..f372271ede 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -993,7 +993,7 @@ typedef struct
 
 /* Some more special a_type values describing the hardware.  */
 #define AT_PLATFORM	15		/* String identifying platform.  */
-#define AT_HWCAP	16		/* Machine dependent hints about
+#define AT_HWCAP	16		/* Machine-dependent hints about
 					   processor capabilities.  */
 
 /* This entry gives some information about the FPU initialization
@@ -1015,6 +1015,9 @@ typedef struct
 
 #define AT_RANDOM	25		/* Address of 16 random bytes.  */
 
+#define AT_HWCAP2	26		/* More machine-dependent hints about
+					   processor capabilities.  */
+
 #define AT_EXECFN	31		/* Filename of executable.  */
 
 /* Pointer to the global system page used for system calls and other