about summary refs log tree commit diff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-10-25 11:55:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-10-25 11:55:23 +0000
commit5b784e8834ae92961eb6be89863ffb041e9c6e75 (patch)
tree9c1e0ff0059a32c844a20ceb7a57a122205980b5 /elf/elf.h
parent41432ebe15b4263866d560a9242fb08d2146fde5 (diff)
downloadglibc-5b784e8834ae92961eb6be89863ffb041e9c6e75.tar.gz
glibc-5b784e8834ae92961eb6be89863ffb041e9c6e75.tar.xz
glibc-5b784e8834ae92961eb6be89863ffb041e9c6e75.zip
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.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 226e53842e..69ffa2ec0e 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -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.  */