From patchwork Thu Jun 8 09:15:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Benson X-Patchwork-Id: 20841 Received: (qmail 91624 invoked by alias); 8 Jun 2017 09:15:52 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 82568 invoked by uid 89); 8 Jun 2017 09:15:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=8995 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Jun 2017 09:15:43 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4766F334581; Thu, 8 Jun 2017 09:15:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4766F334581 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=gbenson@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 4766F334581 Received: from blade.nx (unknown [10.33.36.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id EE24A89C5D; Thu, 8 Jun 2017 09:15:45 +0000 (UTC) Received: from blade.com (localhost [127.0.0.1]) by blade.nx (Postfix) with ESMTP id A09BA81658FB; Thu, 8 Jun 2017 10:15:44 +0100 (BST) From: Gary Benson To: gdb-patches@sourceware.org Cc: infinity@sourceware.org Subject: [RFC 2/5] Add NT_GNU_INFINITY Date: Thu, 8 Jun 2017 10:15:35 +0100 Message-Id: <1496913338-22195-3-git-send-email-gbenson@redhat.com> In-Reply-To: <1496913338-22195-1-git-send-email-gbenson@redhat.com> References: <1496913338-22195-1-git-send-email-gbenson@redhat.com> X-IsSubscribed: yes This commit defines NT_GNU_INFINITY, the ELF note type used for Infinity notes. Note that the current value is not final. include/ChangeLog: * elf/common.h: Add NT_GNU_INFINITY. --- include/ChangeLog | 4 ++++ include/elf/common.h | 1 + 2 files changed, 5 insertions(+) diff --git a/include/elf/common.h b/include/elf/common.h index 484cb48..fee6d1a 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -673,6 +673,7 @@ #define NT_GNU_BUILD_ID 3 /* Generated by ld --build-id. */ #define NT_GNU_GOLD_VERSION 4 /* Generated by gold. */ #define NT_GNU_PROPERTY_TYPE_0 5 /* Generated by gcc. */ +#define NT_GNU_INFINITY 8995 /* Generated by i8c. */ #define NT_GNU_BUILD_ATTRIBUTE_OPEN 0x100 #define NT_GNU_BUILD_ATTRIBUTE_FUNC 0x101