about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog5
-rw-r--r--elf/elf.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0e4069ce4b..d2d04c024c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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.  */