Add NT_ARM_PAC_MASK and NT_MIPS_MSA from Linux 5.0 to elf.h
Commit Message
This patch adds two new NT_* macros from Linux 5.0 to elf.h.
Tested for x86_64.
2019-03-20 Joseph Myers <joseph@codesourcery.com>
* elf/elf.h (NT_ARM_PAC_MASK): New macro.
(NT_MIPS_MSA): Likewise.
Comments
On Wed, Mar 20 2019, Joseph Myers wrote:
> This patch adds two new NT_* macros from Linux 5.0 to elf.h.
$ git show v4.20:include/uapi/linux/elf.h | grep -E "NT_ARM_PAC_MASK|NT_MIPS_MSA"
$ git show v5.0:include/uapi/linux/elf.h | grep -E "NT_ARM_PAC_MASK|NT_MIPS_MSA"
#define NT_ARM_PAC_MASK 0x406 /* ARM pointer authentication code masks */
#define NT_MIPS_MSA 0x802 /* MIPS SIMD registers */
OK.
> +#define NT_ARM_PAC_MASK 0x406 /* ARM pointer authentication
> + code masks. */
OK.
> +#define NT_MIPS_MSA 0x802 /* MIPS SIMD registers. */
OK.
Reviewed-by: Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
@@ -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. */