Blame SOURCES/0001-Backport-of-Add-NT_VMCOREDD-AT_MINSIGSTKSZ-from-Linu.patch

3c8a07
From 174195409d6a3d639dd28e08cf99d6f2559eca9c Mon Sep 17 00:00:00 2001
3c8a07
From: Joseph Myers <joseph@codesourcery.com>
3c8a07
Date: Mon, 20 Aug 2018 15:46:26 +0000
3c8a07
Subject: [PATCH] Add NT_VMCOREDD, AT_MINSIGSTKSZ from Linux 4.18 to elf.h.
3c8a07
3c8a07
This patch adds two new constants from Linux 4.18 to elf.h,
3c8a07
NT_VMCOREDD and AT_MINSIGSTKSZ.
3c8a07
3c8a07
Tested for x86_64.
3c8a07
3c8a07
    * elf/elf.c (NT_VMCOREDD): New macro.
3c8a07
    (AT_MINSIGSTKSZ): Likewise.
3c8a07
3c8a07
3c8a07
UPDATE:
3c8a07
3c8a07
Backported to glibc 2.28
3c8a07
3c8a07
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@intel.com>
3c8a07
---
3c8a07
 ChangeLog | 6 +++++-
3c8a07
 elf/elf.h | 4 ++++
3c8a07
 2 files changed, 9 insertions(+), 1 deletion(-)
3c8a07
3c8a07
diff --git a/ChangeLog b/ChangeLog
3c8a07
index 74e63467..e1f1e8ed 100644
3c8a07
--- a/ChangeLog
3c8a07
+++ b/ChangeLog
3c8a07
@@ -1,5 +1,9 @@
3c8a07
-2019-03-25  Mike Crowe  <mac@mcrowe.com>
3c8a07
+2018-08-20  Joseph Myers  <joseph@codesourcery.com>
3c8a07
+
3c8a07
+	* elf/elf.c (NT_VMCOREDD): New macro.
3c8a07
+	(AT_MINSIGSTKSZ): Likewise.
3c8a07
 
3c8a07
+2019-03-25  Mike Crowe  <mac@mcrowe.com>
3c8a07
 	* nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3c8a07
 	pthread_rwlock_timedrdlock with calls to
3c8a07
 	pthread_rwlock_timedwrlock to ensure that the latter is tested
3c8a07
diff --git a/elf/elf.h b/elf/elf.h
3c8a07
index d6506ea1..9b4d56b0 100644
3c8a07
--- a/elf/elf.h
3c8a07
+++ b/elf/elf.h
3c8a07
@@ -808,6 +808,7 @@ typedef struct
3c8a07
 #define NT_ARM_SYSTEM_CALL	0x404	/* ARM system call number */
3c8a07
 #define NT_ARM_SVE	0x405		/* ARM Scalable Vector Extension
3c8a07
 					   registers */
3c8a07
+#define NT_VMCOREDD	0x700		/* Vmcore Device Dump Note.  */
3c8a07
 
3c8a07
 /* Legal values for the note segment descriptor types for object files.  */
3c8a07
 
3c8a07
@@ -1214,6 +1215,9 @@ typedef struct
3c8a07
 #define AT_L3_CACHESIZE		46
3c8a07
 #define AT_L3_CACHEGEOMETRY	47
3c8a07
 
3c8a07
+#define AT_MINSIGSTKSZ		51 /* Stack needed for signal delivery
3c8a07
+				      (AArch64).  */
3c8a07
+
3c8a07
 /* Note section contents.  Each entry in the note section begins with
3c8a07
    a header of a fixed form.  */
3c8a07
 
3c8a07
-- 
3c8a07
2.27.0
3c8a07