From 9063b32b3c3438452d9b47a0213a9d2007252554 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 4 Jun 2024 12:24:37 +0000 Subject: 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. --- elf/elf.h | 4 ++++ 1 file changed, 4 insertions(+) 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. */ -- cgit v1.1