[PATCH 1/2] [include] Add AT_HWCAP3/AT_HWCAP4 in elf/common.h
Tom de Vries
tdevries@suse.de
Fri Jan 16 13:27:39 GMT 2026
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.
---
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. */
base-commit: 19ffb6d2d7c2bbc8c2cb1de480bc8f1ccff52445
--
2.51.0
More information about the Binutils
mailing list