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-07-26 10:36:33 -0500
commitaf071af18c3bb13ba0eb48cde35ea5cdbff87b95 (patch)
tree6ea98873ff75a000929dc9460eb227806f3051a1
parent4b4084b99e6553784a53a2ea683cc768c343d63a (diff)
downloadglibc-af071af18c3bb13ba0eb48cde35ea5cdbff87b95.tar.gz
glibc-af071af18c3bb13ba0eb48cde35ea5cdbff87b95.tar.xz
glibc-af071af18c3bb13ba0eb48cde35ea5cdbff87b95.zip
Add AT_HWCAP2 as a new auxv_t a_type to elf.h.
(cherry picked from commit c18c701d030e28698e6faee9c6d3b8b80d0e2302)
-rw-r--r--ChangeLog4
-rw-r--r--elf/elf.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b511568a30..7df6187e3c 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-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
 
 	* sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
diff --git a/elf/elf.h b/elf/elf.h
index b07e6ad931..8686fd5f93 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -987,7 +987,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
@@ -1009,6 +1009,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