Add new ELF note types from Linux 4.19 to elf.h.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 25 Oct 2018 11:55:23 +0000 (11:55 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 25 Oct 2018 11:55:23 +0000 (11:55 +0000)
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.

ChangeLog
elf/elf.h

index 0e4069c..d2d04c0 100644 (file)
--- 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
index 226e538..69ffa2e 100644 (file)
--- 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.  */