Add new ELF note types from Linux 4.19 to elf.h
Commit Message
This patch adds NT_MIPS_DSP and NT_MIPS_FP_MODE from Linux 4.19 to
elf.h.
Tested for x86_64.
2018-10-24 Joseph Myers <joseph@codesourcery.com>
* elf/elf.h (NT_MIPS_DSP): New macro.
(NT_MIPS_FP_MODE): Likewise.
Comments
* Joseph Myers:
> +#define NT_MIPS_DSP 0x800 /* MIPS DSP ASE registers. */
> +#define NT_MIPS_FP_MODE 0x801 /* MIPS floating-point mode. */
Looks good to me. Values match what's in the kernel sources.
Thanks,
Florian
@@ -809,6 +809,8 @@ typedef struct
#define NT_ARM_SVE 0x405 /* ARM Scalable Vector Extension
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. */
/* Legal values for the note segment descriptor types for object files. */