]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add NT_X86_XSAVE_LAYOUT and NT_ARM_POE from Linux 6.12 to elf.h
authorJoseph Myers <josmyers@redhat.com>
Thu, 19 Dec 2024 17:09:19 +0000 (17:09 +0000)
committerJoseph Myers <josmyers@redhat.com>
Thu, 19 Dec 2024 17:09:19 +0000 (17:09 +0000)
Linux 6.12 adds new ELF note types NT_X86_XSAVE_LAYOUT and NT_ARM_POE.
Add these to glibc's elf.h.

Tested for x86_64.

elf/elf.h

index 33aea7f743b885c5d74736276e55ef21756293ee..c3aca5869a1b41821040ce1cf6b23835292ad1e1 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -797,6 +797,7 @@ typedef struct
 #define NT_386_IOPERM  0x201           /* x86 io permission bitmap (1=deny) */
 #define NT_X86_XSTATE  0x202           /* x86 extended state using xsave */
 #define NT_X86_SHSTK   0x204           /* x86 SHSTK state */
+#define NT_X86_XSAVE_LAYOUT    0x205           /* XSAVE layout description.  */
 #define NT_S390_HIGH_GPRS      0x300   /* s390 upper register halves */
 #define NT_S390_TIMER  0x301           /* s390 timer register */
 #define NT_S390_TODCMP 0x302           /* s390 TOD clock comparator register */
@@ -835,6 +836,7 @@ typedef struct
 #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_ARM_POE     0x40f           /* ARM POE registers.  */
 #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.  */