From 9ac2de697e4989812197d939b9bf20ad1d784d8c Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 25 Mar 2019 13:15:56 +0000 Subject: [PATCH] Add NT_ARM_PAC_MASK and NT_MIPS_MSA from Linux 5.0 to elf.h. This patch adds two new NT_* macros from Linux 5.0 to elf.h. Tested for x86_64. * elf/elf.h (NT_ARM_PAC_MASK): New macro. (NT_MIPS_MSA): Likewise. --- ChangeLog | 5 +++++ elf/elf.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 45917ec56a..2ead14e1a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-03-25 Joseph Myers + + * elf/elf.h (NT_ARM_PAC_MASK): New macro. + (NT_MIPS_MSA): Likewise. + 2019-03-22 Adhemerval Zanella * benchtests/Makefile (USE_CLOCK_GETTIME) Remove. diff --git a/elf/elf.h b/elf/elf.h index 28296c7efd..a313c24b93 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -809,9 +809,12 @@ typedef struct #define NT_ARM_SYSTEM_CALL 0x404 /* ARM system call number */ #define NT_ARM_SVE 0x405 /* ARM Scalable Vector Extension registers */ +#define NT_ARM_PAC_MASK 0x406 /* ARM pointer authentication + code masks. */ #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. */ +#define NT_MIPS_MSA 0x802 /* MIPS SIMD registers. */ /* Legal values for the note segment descriptor types for object files. */