This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Add NT_VMCOREDD, AT_MINSIGSTKSZ from Linux 4.18 to elf.h
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Wed, 15 Aug 2018 16:52:15 +0000
- Subject: 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.
2018-08-15 Joseph Myers <joseph@codesourcery.com>
* elf/elf.c (NT_VMCOREDD): New macro.
(AT_MINSIGSTKSZ): Likewise.
diff --git a/elf/elf.h b/elf/elf.h
index 7e2b072..226e538 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. */
--
Joseph S. Myers
joseph@codesourcery.com