about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-08-20 15:46:26 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-08-20 15:46:26 +0000
commit174195409d6a3d639dd28e08cf99d6f2559eca9c (patch)
tree9e9850054c55b7985eac8f644b6e3f10b78eae51 /elf
parent35cfefd96062145eeb8aee6bd72d07e0909a6b2e (diff)
downloadglibc-174195409d6a3d639dd28e08cf99d6f2559eca9c.tar.gz
glibc-174195409d6a3d639dd28e08cf99d6f2559eca9c.tar.xz
glibc-174195409d6a3d639dd28e08cf99d6f2559eca9c.zip
Add NT_VMCOREDD, AT_MINSIGSTKSZ from Linux 4.18 to elf.h.
This patch adds two new constants from Linux 4.18 to elf.h,
NT_VMCOREDD and AT_MINSIGSTKSZ.

Tested for x86_64.

	* elf/elf.c (NT_VMCOREDD): New macro.
	(AT_MINSIGSTKSZ): Likewise.
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 7e2b072a7f..226e53842e 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -808,6 +808,7 @@ typedef struct
 #define NT_ARM_SYSTEM_CALL	0x404	/* ARM system call number */
 #define NT_ARM_SVE	0x405		/* ARM Scalable Vector Extension
 					   registers */
+#define NT_VMCOREDD	0x700		/* Vmcore Device Dump Note.  */
 
 /* Legal values for the note segment descriptor types for object files.  */
 
@@ -1214,6 +1215,9 @@ typedef struct
 #define AT_L3_CACHESIZE		46
 #define AT_L3_CACHEGEOMETRY	47
 
+#define AT_MINSIGSTKSZ		51 /* Stack needed for signal delivery
+				      (AArch64).  */
+
 /* Note section contents.  Each entry in the note section begins with
    a header of a fixed form.  */