From patchwork Thu Feb 4 21:00:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 41941 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2D4F0393D006; Thu, 4 Feb 2021 21:00:58 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id E0B2B389244E for ; Thu, 4 Feb 2021 21:00:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E0B2B389244E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: 4DjmlK/YjQGYkS/c603MEAd2hIWxXvKaEBeS3t2TNCv1ogWzSBd3SB7TG+Fv/zY/4ua53icoRw hlGGbYI/ptEFtN5TTTnuFiDukvk3y1GJsJhrKwWrr51FKJ5t3BmH3udTNagKKO7dsVfSDOwzgC d+luophU4HhTZeTUyHyePZX8Pr3xXf/nFQBjieVD2hJv2aT+0aWfk+tHIChyeCkDDumgh+iVaN Fu07exsqzJkDK7w3BzAuW1y2IhoSVKK7vPTSG0c0fOSjAaTq2jzNV/1E2zlgb/mH5edRcdbn1k Gms= X-IronPort-AV: E=Sophos;i="5.81,153,1610438400"; d="scan'208";a="57795835" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 04 Feb 2021 13:00:54 -0800 IronPort-SDR: KMl/YripewOtZw5u3fg8vLYNvTcHmBGSWGsVdKsTUmB/m0cHph5PT1nxZNFPCGvQmJ1tlHBFEt ZOdn3HS0gpf8tzQRoXPl+Uq+lkWRKDzOxnsycYWZE5Vllt305el/TQjmQiQNnPtR/BRW4FKlaW 0l47DoyMT/rpJr2eBzQHHXYwb/2j6fB3YFs3Csfs3P3/5VoZFoIHtIH3IcemSw1Fr19t+3f8XH C+n6PMI/f6/K8dtNDksknpfWcQYZoP8Qr2jB0nGUMuyWQGZ4ZvQuEP2caz9BPe8hykLDsU1bIb jsU= Date: Thu, 4 Feb 2021 21:00:50 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Subject: Add NT_ARM_TAGGED_ADDR_CTRL from Linux 5.10 to elf.h Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-05.mgc.mentorg.com (139.181.222.5) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3129.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" This patch adds the new NT_ARM_TAGGED_ADDR_CTRL constant from Linux 5.10 to glibc's elf.h. Tested for x86_64. diff --git a/elf/elf.h b/elf/elf.h index 9ebd052c8a..4f838d4af2 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -813,6 +813,8 @@ typedef struct address keys. */ #define NT_ARM_PACG_KEYS 0x408 /* ARM pointer authentication generic key. */ +#define NT_ARM_TAGGED_ADDR_CTRL 0x409 /* AArch64 tagged address + control. */ #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. */