aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-06-04 12:24:37 +0000
committerJoseph Myers <josmyers@redhat.com>2024-06-04 12:24:37 +0000
commit9063b32b3c3438452d9b47a0213a9d2007252554 (patch)
treef87fafcc12db0ebe08f61b09b86c2cab611729ee
parent992daa0b4b5fa8a9f403c9575638cec288e12bfa (diff)
downloadglibc-9063b32b3c3438452d9b47a0213a9d2007252554.zip
glibc-9063b32b3c3438452d9b47a0213a9d2007252554.tar.gz
glibc-9063b32b3c3438452d9b47a0213a9d2007252554.tar.bz2
Add more NT_ARM_* constants from Linux kernel to elf.h
Linux 6.9 adds the ELF note type NT_ARM_FPMR. Add this to glibc's elf.h, along with the previously missed NT_ARM_SSVE, NT_ARM_ZA and NT_ARM_ZT (added in older kernel versions). Tested for x86_64.
-rw-r--r--elf/elf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 081742a..33aea7f 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -831,6 +831,10 @@ typedef struct
control. */
#define NT_ARM_PAC_ENABLED_KEYS 0x40a /* AArch64 pointer authentication
enabled keys. */
+#define NT_ARM_SSVE 0x40b /* ARM Streaming SVE registers. */
+#define NT_ARM_ZA 0x40c /* ARM SME ZA registers. */
+#define NT_ARM_ZT 0x40d /* ARM SME ZT registers. */
+#define NT_ARM_FPMR 0x40e /* ARM floating point mode register. */
#define NT_VMCOREDD 0x700 /* Vmcore Device Dump Note. */
#define NT_MIPS_DSP 0x800 /* MIPS DSP ASE registers. */
#define NT_MIPS_FP_MODE 0x801 /* MIPS floating-point mode. */