aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-03-25 13:15:56 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-03-25 13:15:56 +0000
commit9ac2de697e4989812197d939b9bf20ad1d784d8c (patch)
tree18312d47ac75199915318f5923e65aa60bba277f
parent7621e38bf3c58b2d0359545f1f2898017fd89d05 (diff)
downloadglibc-9ac2de697e4989812197d939b9bf20ad1d784d8c.zip
glibc-9ac2de697e4989812197d939b9bf20ad1d784d8c.tar.gz
glibc-9ac2de697e4989812197d939b9bf20ad1d784d8c.tar.bz2
Add NT_ARM_PAC_MASK and NT_MIPS_MSA from Linux 5.0 to elf.h.
This patch adds two new NT_* macros from Linux 5.0 to elf.h. Tested for x86_64. * elf/elf.h (NT_ARM_PAC_MASK): New macro. (NT_MIPS_MSA): Likewise.
-rw-r--r--ChangeLog5
-rw-r--r--elf/elf.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 45917ec..2ead14e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-03-25 Joseph Myers <joseph@codesourcery.com>
+
+ * elf/elf.h (NT_ARM_PAC_MASK): New macro.
+ (NT_MIPS_MSA): Likewise.
+
2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
diff --git a/elf/elf.h b/elf/elf.h
index 28296c7..a313c24 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -809,9 +809,12 @@ typedef struct
#define NT_ARM_SYSTEM_CALL 0x404 /* ARM system call number */
#define NT_ARM_SVE 0x405 /* ARM Scalable Vector Extension
registers */
+#define NT_ARM_PAC_MASK 0x406 /* ARM pointer authentication
+ code masks. */
#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. */
+#define NT_MIPS_MSA 0x802 /* MIPS SIMD registers. */
/* Legal values for the note segment descriptor types for object files. */