From patchwork Thu Jun 20 17:08:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 33245 Received: (qmail 112271 invoked by alias); 20 Jun 2019 17:08:12 -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 111868 invoked by uid 89); 20 Jun 2019 17:08:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.1 spammy=sk:szabolc, szabolcsnagyarmcom, U*szabolcs.nagy, szabolcs.nagy@arm.com X-HELO: EUR04-HE1-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JnuCYqIZoibnU7ltgc1DblOdP0AgjqapmVfDKsoGpRo=; b=UoFRy2WnVLgDvN4O/fwhkJ5Op53hrM8UySrWfVSSq62/zMyhdvIzl7U+OYVsiZm1PsPYSwgSqLl+C3iLcFWiz7a9JHejEuNxB82opR+GDV3TTxQ0GasH3zDc3OqixpgOrmxNMls2wDLQ2H/xcZqMuYvqikpfBU2QsqIQYuRllEY= From: Szabolcs Nagy To: GNU C Library CC: nd , Sudakshina Das Subject: [PATCH 1/2] Add DT_AARCH64_BTI_PLT and DT_AARCH64_PAC_PLT to elf.h. Date: Thu, 20 Jun 2019 17:08:06 +0000 Message-ID: References: <5ec73433-43c3-5e7a-62cb-a3b203cf41c5@arm.com> In-Reply-To: <5ec73433-43c3-5e7a-62cb-a3b203cf41c5@arm.com> user-agent: Mozilla/5.0 (X11; Linux aarch64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 authentication-results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; x-ms-oob-tlc-oobclassifiers: OLM:3513; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Szabolcs.Nagy@arm.com These are new AArch64 specific ELF dynamic tags. 2019-06-20 Szabolcs Nagy * elf/elf.h (DT_AARCH64_PAC_PLT): Define. (DT_AARCH64_BTI_PLT): Define. diff --git a/elf/elf.h b/elf/elf.h index 7c6d6094ed..275f8bed47 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -2863,10 +2863,12 @@ enum #define R_AARCH64_TLS_TPREL 1030 /* TP-relative offset, 64 bit. */ #define R_AARCH64_TLSDESC 1031 /* TLS Descriptor. */ #define R_AARCH64_IRELATIVE 1032 /* STT_GNU_IFUNC relocation. */ /* AArch64 specific values for the Dyn d_tag field. */ +#define DT_AARCH64_BTI_PLT (DT_LOPROC + 1) +#define DT_AARCH64_PAC_PLT (DT_LOPROC + 3) #define DT_AARCH64_VARIANT_PCS (DT_LOPROC + 5) #define DT_AARCH64_NUM 6 /* AArch64 specific values for the st_other field. */ #define STO_AARCH64_VARIANT_PCS 0x80