From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1105) id 44B3D3834F27; Mon, 6 Jun 2022 14:45:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 44B3D3834F27 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Joseph Myers To: glibc-cvs@sourceware.org Subject: [glibc] Add PT_AARCH64_MEMTAG_MTE from Linux 5.18 to elf.h X-Act-Checkin: glibc X-Git-Author: Joseph Myers X-Git-Refname: refs/heads/master X-Git-Oldrev: 7df596a58cdfa763924487b8c275269de3497304 X-Git-Newrev: 603e5c8ba7257483c162cabb06eb6f79096429b6 Message-Id: <20220606144550.44B3D3834F27@sourceware.org> Date: Mon, 6 Jun 2022 14:45:50 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2022 14:45:50 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=603e5c8ba7257483c162cabb06eb6f79096429b6 commit 603e5c8ba7257483c162cabb06eb6f79096429b6 Author: Joseph Myers Date: Mon Jun 6 14:45:34 2022 +0000 Add PT_AARCH64_MEMTAG_MTE from Linux 5.18 to elf.h Linux 5.18 defines a new AArch64 ELF segment type PT_AARCH64_MEMTAG_MTE; add it to elf.h. Tested with build-many-glibcs.py for aarch64-linux-gnu. Diff: --- elf/elf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/elf/elf.h b/elf/elf.h index 1c3d5ce8a2..2b5c2c5fb6 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -2902,6 +2902,9 @@ enum #define R_AARCH64_TLSDESC 1031 /* TLS Descriptor. */ #define R_AARCH64_IRELATIVE 1032 /* STT_GNU_IFUNC relocation. */ +/* MTE memory tag segment type. */ +#define PT_AARCH64_MEMTAG_MTE (PT_LOPROC + 2) + /* 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)