[binutils-gdb] [include] Add AT_HWCAP3/AT_HWCAP4 in elf/common.h

Tom de Vries vries@sourceware.org
Fri Jan 16 19:14:56 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0c90306549b02dd2b07fe3f2639ab3ac75a29558

commit 0c90306549b02dd2b07fe3f2639ab3ac75a29558
Author: Tom de Vries <tdevries@suse.de>
Date:   Fri Jan 16 20:14:51 2026 +0100

    [include] Add AT_HWCAP3/AT_HWCAP4 in elf/common.h
    
    Since glibc 2.39, containing commit 3ab9b88 ("powerpc: Add HWCAP3/HWCAP4 data
    to TCB for Power Architecture."), glibc's elf/elf.h contains constants
    AT_HWCAP3/AT_HWCAP4.
    
    Add these in elf/common.h.
    
    Approved-By: Simon Marchi <simon.marchi@efficios.com>

Diff:
---
 include/elf/common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/elf/common.h b/include/elf/common.h
index 2c0ac7311d8..1ae68221a89 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -1457,6 +1457,8 @@
 #define AT_HWCAP2	26		/* Extension of AT_HWCAP.  */
 #define AT_RSEQ_FEATURE_SIZE	27	/* rseq supported feature size */
 #define AT_RSEQ_ALIGN	28		/* rseq allocation alignment */
+#define AT_HWCAP3	29		/* Extension of AT_HWCAP.  */
+#define AT_HWCAP4	30		/* Extension of AT_HWCAP.  */
 #define AT_EXECFN	31		/* Filename of executable.  */
 /* Pointer to the global system page used for system calls and other
    nice things.  */


More information about the Binutils-cvs mailing list