]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add more NT_ARM_* constants from Linux kernel to elf.h
authorJoseph Myers <josmyers@redhat.com>
Tue, 4 Jun 2024 12:24:37 +0000 (12:24 +0000)
committerJoseph Myers <josmyers@redhat.com>
Tue, 4 Jun 2024 12:24:37 +0000 (12:24 +0000)
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

index 081742a9c38ca6cb9c34fef4cdc695d42456a0d7..33aea7f743b885c5d74736276e55ef21756293ee 100644 (file)
--- 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.  */