This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] Add AT_HWCAP2 as new auxv_t a_type to elf.h.
- From: Ryan S Arnold <rsa at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 26 Jun 2013 09:03:56 -0500
- Subject: [COMMITTED PATCH] Add AT_HWCAP2 as new auxv_t a_type to elf.h.
Hi All,
As requested, I've pushed the elf/elf.h definition for AT_HWCAP2 into
master. This designation has been in the Linux kernel headers since
3.10-rc1.
Ryan S. Arnold
IBM Linux Technology Center
commit c18c701d030e28698e6faee9c6d3b8b80d0e2302
Author: Ryan S. Arnold <rsa@linux.vnet.ibm.com>
Date: Wed Jun 26 08:50:20 2013 -0500
Add AT_HWCAP2 as a new auxv_t a_type to elf.h.
[ChangeLog]
2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
* elf/elf.h (AT_HWCAP2): Add a new a_type entry.
diff --git a/elf/elf.h b/elf/elf.h
index 4ad4f39..f372271 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