From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B4CF5C79F82 for ; Tue, 8 Sep 2026 09:21:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4k7jM/SARicUfiyID/Zb58FTA6TVrqfjgQqXrSbBJmY=; b=28Oy6JQnKCs0LFERK5jjNSyScg 8OJRHwfN8PrXoENrgTtz7MFYEoEkUcZc14PGm4PUbuO3S/lbdB76pb/fkaYYC0bgJbsxioBXqzh7p OVORoaLSlpw//kiqZP0x+yUdeJ3frgYQUPJdQxIrUeWn1cq2II5A8grM7OJ6XMAHzFQ1vucpNlhvn n5dohNssQy6u5LvsIfLLhRHxTEyq5E4bW0R/EgBqn5yOtoRn6QbhyqwzLZA93UgdtyJ4Oe6n/6XKm 0NUjmTL2LGaFvEqZIUL4NyZi59cTTxjijHb0zJ/oUBwn+zULWCHDooiMmqNJ5oV7CF2ZOKvvfDcoe dhVeWMzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x3s1N-00000008YIX-0RX0; Tue, 08 Sep 2026 09:21:41 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x3s1L-00000008YIE-0v38; Tue, 08 Sep 2026 09:21:39 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 5366660A97; Tue, 8 Sep 2026 09:21:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36E861F00A3A; Tue, 8 Sep 2026 09:21:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1788859298; bh=4k7jM/SARicUfiyID/Zb58FTA6TVrqfjgQqXrSbBJmY=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=Xn9XtBCzNs8WX9mak5mpG8XRdy2i0zrbMydZ5LMlt1Qe6xYAL3LuxfUX8Atn2wQI5 1axnL/wqewpo705igfKNy8cNCn9+Zo3sUO5bgJKNWeixiHCJ40tMpOcHYPd0ztKnwc thks3bDKvUFN5YfpBP21ImCqeVd4BuB9bshirgyOkT8qYPLl5IHF7GtOgYNVJtKM5z OWEfgEV7HLlzD0xSV0FLDhASxeMC0R5k+YiWCZlY18vuOZyNV5jOxZq4lBnvbHCbuK MWgRGux7fP8nPYbQvR4llwvXew14x5qlJam3L6qpRO9Kd3dID9dgWciFsi7Ok948U+ EV4LzEuy2wGQQ== Message-ID: <9a27f318-2ab0-4f5e-8e87-daaa85dbc297@kernel.org> Date: Tue, 8 Sep 2026 11:21:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 16/24] powerpc/elf: Add 32-bit REL16 relocation definitions To: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Andy Lutomirski , Vincenzo Frascino , Kees Cook , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Richard Weinberger , Anton Ivanov , Johannes Berg , Russell King , Catalin Marinas , Will Deacon , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Huacai Chen , WANG Xuerui , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Bogendoerfer , Miguel Ojeda , Alex Gaynor , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Thomas Gleixner , Boqun Feng , Nicolas Schier Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-mm@kvack.org, linux-um@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-s390@vger.kernel.org, linux-mips@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, Jan Stancek , Arnaldo Carvalho de Melo , Alexandre Ghiti References: <20260908-vdso-absolute-reloc-v5-0-3a93791af1cf@linutronix.de> <20260908-vdso-absolute-reloc-v5-16-3a93791af1cf@linutronix.de> Content-Language: fr-FR From: "Christophe Leroy (CS GROUP)" In-Reply-To: <20260908-vdso-absolute-reloc-v5-16-3a93791af1cf@linutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+linux-um=archiver.kernel.org@lists.infradead.org Le 08/09/2026 à 08:33, Thomas Weißschuh a écrit : > These are used by userspace and are necessary for the vdsocheck tool. > They share the numbers with their 64-bit variants. > > Also update the copy in tools/ so they can be used by vdsocheck. > > Signed-off-by: Thomas Weißschuh Reviewed-by: Christophe Leroy (CS GROUP) > --- > include/uapi/linux/elf-r.h | 7 ++++++- > tools/include/uapi/linux/elf-r.h | 7 ++++++- > 2 files changed, 12 insertions(+), 2 deletions(-) > > diff --git a/include/uapi/linux/elf-r.h b/include/uapi/linux/elf-r.h > index 72fc9045a5d4..170888422400 100644 > --- a/include/uapi/linux/elf-r.h > +++ b/include/uapi/linux/elf-r.h > @@ -182,8 +182,13 @@ > #define R_PPC_GOT_DTPREL16_HI 93 /* half16* (sym+add)@got@dtprel@h */ > #define R_PPC_GOT_DTPREL16_HA 94 /* half16* (sym+add)@got@dtprel@ha */ > > +#define R_PPC_REL16 249 > +#define R_PPC_REL16_LO 250 > +#define R_PPC_REL16_HI 251 > +#define R_PPC_REL16_HA 252 > + > /* keep this the last entry. */ > -#define R_PPC_NUM 95 > +#define R_PPC_NUM 253 > > /* PowerPC64 relocations defined by the ABIs */ > #define R_PPC64_NONE R_PPC_NONE > diff --git a/tools/include/uapi/linux/elf-r.h b/tools/include/uapi/linux/elf-r.h > index 72fc9045a5d4..170888422400 100644 > --- a/tools/include/uapi/linux/elf-r.h > +++ b/tools/include/uapi/linux/elf-r.h > @@ -182,8 +182,13 @@ > #define R_PPC_GOT_DTPREL16_HI 93 /* half16* (sym+add)@got@dtprel@h */ > #define R_PPC_GOT_DTPREL16_HA 94 /* half16* (sym+add)@got@dtprel@ha */ > > +#define R_PPC_REL16 249 > +#define R_PPC_REL16_LO 250 > +#define R_PPC_REL16_HI 251 > +#define R_PPC_REL16_HA 252 > + > /* keep this the last entry. */ > -#define R_PPC_NUM 95 > +#define R_PPC_NUM 253 > > /* PowerPC64 relocations defined by the ABIs */ > #define R_PPC64_NONE R_PPC_NONE >