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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 E2D1BC79FAB for ; Tue, 8 Sep 2026 09:10:11 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4hfJ764J1yz2xlJ; Tue, 08 Sep 2026 19:10:10 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2600:3c04:e001:324:0:1991:8:25" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1788858610; cv=none; b=naivipGX5lQhKzf9q6akW3RlmdRYZDz5z61s/o8O+mzM55MUjbBF1OJZIE3f3kOMH3BC17YPGvIxEhYiz5PYLdVgtLBtWoekcQRc7k0sNx2GcCfl9PxCXT2L2M3aMDHkyb1oWin2cPG3aTGIYnkQ4xqpS+Wi+7ZVJyVoT10asOFF1cysQCHxmJQHFC2TWARVUYkN8Tutl4vitHjmB/KtJ80PiiIthCJibmRFpXasSVqhpT21b1FJeuEpbSSPrH9gddTR/Aw+t5gnaSyCxk7JHQLnCoJY3JtMTkrGtB6aDa5TLn3LPYknop/zzHxg/AQgEqgi+4zUcjPvgqwIzOdyQA== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1788858610; c=relaxed/relaxed; bh=R0gSNJNsFiBELJzc2W3yE5oEemx5pk46RuJIr17mKUU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=kogNOh5iYyAs8bCu0OVZDZrMzhqpfiJyB2TCPFTD3TX6lDX2HNZdHbK6MsyiERVic63NzBABLkylDs7Q7k4yuwYBOwsa82d4v7nC74vKpfKcg0PbiPDarFHGaGhAUu98K6VI2lT1V7xu00L50AGUl3f6EjAYmYFxZcvXRcBZPsU4NBOECQZPCQoEhonbdhV0MaEYRXCx3HR6CDAWYHOL9dLZe9C383LVpf8ot3/NYlYlovoOPlzc5VsfWE9+8rQ6JsqYUXi7pMsfPouHG81HbJGVTyyosgYvBqfG0vOKWdW240Qb8brilbfLpdsZqbhvq71iJJeHgMiCfS+vHeMWPg== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DAE45L0T; dkim-atps=neutral; spf=pass (client-ip=2600:3c04:e001:324:0:1991:8:25; helo=tor.source.kernel.org; envelope-from=chleroy@kernel.org; receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DAE45L0T; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=2600:3c04:e001:324:0:1991:8:25; helo=tor.source.kernel.org; envelope-from=chleroy@kernel.org; receiver=lists.ozlabs.org) Received: from tor.source.kernel.org (tor.source.kernel.org [IPv6:2600:3c04:e001:324:0:1991:8:25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4hfJ7558Wnz2xYh for ; Tue, 08 Sep 2026 19:10:09 +1000 (AEST) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 8375160A98; Tue, 8 Sep 2026 09:10:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 569471F00A3A; Tue, 8 Sep 2026 09:09:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1788858606; bh=R0gSNJNsFiBELJzc2W3yE5oEemx5pk46RuJIr17mKUU=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=DAE45L0Ti7ZzN2J9EggKEpXt9EOFC/xe7EhCLBEAgKZ1EKM0gpJTm6lUAH9Rv1Y/l Qb9gt8wqAJzrDQsE15lcnh+2LUSKHF7Y85tsfXTkApAmKRChoYKRr7LNH1NO5zCDxA DgSV71bDNblo942RePIiEaOET6DD2BAm6jQXNwGXYyYXCVrrPfTDwooEAWl2+nKYnh ROImd7jwopGGxZDYzhcgEHbseuZcsu9rqsTTi0oEx18R978jIBC68KJY6GiEvY9ucn ZPViZj8X62xbMqmZxsQcKY9LdenN66zHgBKx4TLNgSPHoQy5QHpClKrY1uem3vgjH+ BNFhyDw3+tpqw== Message-ID: <41c824f9-aa04-49a4-9d0a-9ffba7b014b4@kernel.org> Date: Tue, 8 Sep 2026 11:09:48 +0200 X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 11/24] tools headers UAPI: Sync ELF headers with the kernel sources 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-11-3a93791af1cf@linutronix.de> Content-Language: fr-FR From: "Christophe Leroy (CS GROUP)" In-Reply-To: <20260908-vdso-absolute-reloc-v5-11-3a93791af1cf@linutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 08/09/2026 à 08:33, Thomas Weißschuh a écrit : > Pick up changes from the UAPI ELF header files. > This picks up general changes to elf.h, elf-em.h which was forgotten > previously and the new elf-r.h. > > Signed-off-by: Thomas Weißschuh > > --- > Cc: Arnaldo Carvalho de Melo > --- > tools/include/uapi/linux/elf-em.h | 71 ++++ > tools/include/uapi/linux/elf-r.h | 696 ++++++++++++++++++++++++++++++++++++++ > tools/include/uapi/linux/elf.h | 112 +++++- > 3 files changed, 868 insertions(+), 11 deletions(-) > > diff --git a/tools/include/uapi/linux/elf-em.h b/tools/include/uapi/linux/elf-em.h > new file mode 100644 > index 000000000000..ef38c2bc5ab7 > --- /dev/null > +++ b/tools/include/uapi/linux/elf-em.h > @@ -0,0 +1,71 @@ > +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ > +#ifndef _LINUX_ELF_EM_H > +#define _LINUX_ELF_EM_H > + > +/* These constants define the various ELF target machines */ > +#define EM_NONE 0 > +#define EM_M32 1 > +#define EM_SPARC 2 > +#define EM_386 3 > +#define EM_68K 4 > +#define EM_88K 5 > +#define EM_486 6 /* Perhaps disused */ > +#define EM_860 7 Add a comment that it is /* Intel 80860 */ to avoid confusion with powerpc 860 > +#define EM_MIPS 8 /* MIPS R3000 (officially, big-endian only) */ > + /* Next two are historical and binaries and > + modules of these types will be rejected by > + Linux. */ > +#define EM_MIPS_RS3_LE 10 /* MIPS R3000 little-endian */ > +#define EM_MIPS_RS4_BE 10 /* MIPS R4000 big-endian */ > +