Add new ELF note types from Linux 4.19 to elf.h.

This patch adds NT_MIPS_DSP and NT_MIPS_FP_MODE from Linux 4.19 to
elf.h.

Tested for x86_64.

	* elf/elf.h (NT_MIPS_DSP): New macro.
	(NT_MIPS_FP_MODE): Likewise.
This commit is contained in:
Joseph Myers 2018-10-25 11:55:23 +00:00
parent 41432ebe15
commit 5b784e8834
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2018-10-25 Joseph Myers <joseph@codesourcery.com>
* elf/elf.h (NT_MIPS_DSP): New macro.
(NT_MIPS_FP_MODE): Likewise.
2018-10-25 Zong Li <zong@andestech.com>
* elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable

View File

@ -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. */