Add NT_X86_XSAVE_LAYOUT and NT_ARM_POE from Linux 6.12 to elf.h
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Thu Dec 19 17:05:12 GMT 2024
On 18/12/24 20:39, Joseph Myers wrote:
> 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.
LGTM, thanks.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
>
> diff --git a/elf/elf.h b/elf/elf.h
> index 33aea7f743..c3aca5869a 100644
> --- 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. */
>
More information about the Libc-alpha
mailing list