From patchwork Wed Mar 20 18:16:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 1059446 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-100759-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="iaWy/FFk"; 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 44PdQz1XZPz9sP2 for ; Thu, 21 Mar 2019 05:16:27 +1100 (AEDT) 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=ed8qqNlGEPmXlAqbqFxgtQSBMOG3q Ln+EY1ZIvc46r3VqfaybZYz/B3atmgZSlZrpaL4FNFHETiMbOiKCPyuX0p+m8z3o wHwwcdsgWXdBfoe2SZGaupt5bBA0hiCQDw+QIYt2Do4UjTyQUB6Smc7pdzP3sPVV VDIVdrNbZXWY38= 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=6CVJxYdo9xXdCVMZJlQkX42sIJs=; b=iaW y/FFk4j/pajMi3O0XaYQPtDAcw0mFqK+Q7bK96M1c5NG7LzVupQDT1RvNwF5q1EO 466Q2Dfy9sH/nsWKWH6pg4GA6O5/cWxFt4VyDX9O8lcy5zgW1KAwa9WuYa3k5E+u nBkwuM4st/3BYtMDrUFWIPQHc8GyZ87zlbuebp/s= Received: (qmail 67185 invoked by alias); 20 Mar 2019 18:16: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 67177 invoked by uid 89); 20 Mar 2019 18:16:21 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.1 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 autolearn=ham version=3.3.1 spammy=device X-HELO: relay1.mentorg.com Date: Wed, 20 Mar 2019 18:16:14 +0000 From: Joseph Myers To: Subject: Add NT_ARM_PAC_MASK and NT_MIPS_MSA from Linux 5.0 to elf.h Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 This patch adds two new NT_* macros from Linux 5.0 to elf.h. Tested for x86_64. 2019-03-20 Joseph Myers * elf/elf.h (NT_ARM_PAC_MASK): New macro. (NT_MIPS_MSA): Likewise. Reviewed-by: Gabriel F. T. Gomes diff --git a/elf/elf.h b/elf/elf.h index 28296c7efd..a313c24b93 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -809,9 +809,12 @@ typedef struct #define NT_ARM_SYSTEM_CALL 0x404 /* ARM system call number */ #define NT_ARM_SVE 0x405 /* ARM Scalable Vector Extension registers */ +#define NT_ARM_PAC_MASK 0x406 /* ARM pointer authentication + code masks. */ #define NT_VMCOREDD 0x700 /* Vmcore Device Dump Note. */ #define NT_MIPS_DSP 0x800 /* MIPS DSP ASE registers. */ #define NT_MIPS_FP_MODE 0x801 /* MIPS floating-point mode. */ +#define NT_MIPS_MSA 0x802 /* MIPS SIMD registers. */ /* Legal values for the note segment descriptor types for object files. */