]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add NT_VMCOREDD, AT_MINSIGSTKSZ from Linux 4.18 to elf.h.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 20 Aug 2018 15:46:26 +0000 (15:46 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 20 Aug 2018 15:46:26 +0000 (15:46 +0000)
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.

ChangeLog
elf/elf.h

index 56ab51d1b860c8f1cfd9cf58ae53e9b333a6a997..925a8338f2cdcaeefbe355ed51ba9f9994a2e459 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-08-20  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf/elf.c (NT_VMCOREDD): New macro.
+       (AT_MINSIGSTKSZ): Likewise.
+
 2018-08-20  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
 
        * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
index 7e2b072a7f75451c0faeb47013b6b93c2fc575a2..226e53842e58202019d3072694cb586763c06fcc 100644 (file)
--- 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.  */