From patchwork Wed Aug 15 16:52:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 957984 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-95284-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="NhuSa0Mw"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41rFrD3XtNz9sBq for ; Thu, 16 Aug 2018 02:52:28 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=hG4u4XR38bcnNw4QQt6LpVt56L09H AJcQU6+2vPnolgsCVCm2Zo0/X4dTveJVUqKkXI+Ohz9ypJS3idafTOB/CfqMYZ7p Fq3FoljI07V018gJUPQ0Qy1J0qYIYDwqk9wmVVd5SjA1LdeM4TVGhFgVEVpXi2FT rjDc+hJLsJjpSQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=EXMcDp6lyLjfzcZE4ShtUcWYc+s=; b=Nhu Sa0Mw1wlZ4cA4zUT6yiCTCd+pZM7x5T3v8ojgiP36q06fcGWoK1kR1E0KK+pCF6L QI9D6kbPwa74yrfIpRxeS/Ka5YyjLXeyleUCTLrxbjyD2FxvUhzSTRw1d6+FIQiO bwNoxOviT6ppjrQ5/2/sZ0m1JxKDOF0KIXmAg0h4= Received: (qmail 45244 invoked by alias); 15 Aug 2018 16:52:22 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 45229 invoked by uid 89); 15 Aug 2018 16:52:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Wed, 15 Aug 2018 16:52:15 +0000 From: Joseph Myers To: Subject: Add NT_VMCOREDD, AT_MINSIGSTKSZ from Linux 4.18 to elf.h Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 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 * 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. */