From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8ACBD33E7; Wed, 24 Sep 2025 06:40:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758696009; cv=none; b=NxIQfcuwyEoaHbHbsLrjd7rsjH+VKo7TNT412RT/LJM0gYGTB+Ly63M62c3dFueGPNpCgS83bVREf2BByvsqdTBg8HXHWe0+OgBJf9bOkP++1kC0g2B2HFDh1PojeC/1VXlmyWmmW32xk4n4i94hFwLKCdeQf6XhNeLnrb2qz0Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758696009; c=relaxed/simple; bh=J8hov75qObfU9A6/REJMSZntidGERZYYdpEwKLEA7go=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ROe8dl3Vy9kmfg4Jp4pVu5KFu38VTq0ZDlIxoK2ZTPpWqmNMux1ou2YZYPg7BWpmvwS3zdcYBgeyD/m/o9Y+5uFuyks1zeCZkI0NJWO1rPRr+2aEvnoJZEPuWVfCpZIFOM6FN/GKJUEwgRwV5qm/2yxim8yMvcLkz3dSwjnPPbo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o7a8ePEY; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o7a8ePEY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5DE6C4CEE7; Wed, 24 Sep 2025 06:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758696009; bh=J8hov75qObfU9A6/REJMSZntidGERZYYdpEwKLEA7go=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o7a8ePEYy62CyYZD1g/mEMj/SXZzafjUOL0ybRLJkgdWTZS/Sq75rPR5sd248sJhc dd2wZt624QtaNBitVfiwxru6Uk5fBNXwg6lMA/DF7QeQ1CVOWxNoHLsReGUbL3qK24 S/kTG2dwwy8mRh9vp502h4lojs75kVsC+W0PID7wHz4BELZiriVxt6ze5FAhHc2yhD kuOiDIxUg5URB2kdJcC+yuFCkTbiOqMYrQdnRDERmjQWCUMGhslo6xf1BHUsl7VsKl FKdfUk6WgxcsGmjM/urRCqU6UkzIF328d+KvPUQJsjIrnMntOy92WHOYBJJN89Aj3w 8O9gnipfky9Kg== Date: Wed, 24 Sep 2025 08:29:52 +0200 From: Nicolas Schier To: Alexey Gladkov Cc: Nathan Chancellor , Petr Pavlu , Luis Chamberlain , Sami Tolvanen , Daniel Gomez , linux-kernel@vger.kernel.org, linux-modules@vger.kernel.org, linux-kbuild@vger.kernel.org, Masahiro Yamada Subject: Re: [PATCH v8 3/8] kbuild: keep .modinfo section in vmlinux.unstripped Message-ID: References: Precedence: bulk X-Mailing-List: linux-modules@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Sep 18, 2025 at 10:05:47AM +0200, Alexey Gladkov wrote: > From: Masahiro Yamada > > Keep the .modinfo section during linking, but strip it from the final > vmlinux. > > Adjust scripts/mksysmap to exclude modinfo symbols from kallsyms. > > This change will allow the next commit to extract the .modinfo section > from the vmlinux.unstripped intermediate. > > Signed-off-by: Masahiro Yamada > Signed-off-by: Alexey Gladkov > --- > include/asm-generic/vmlinux.lds.h | 2 +- > scripts/Makefile.vmlinux | 7 +++++-- > scripts/mksysmap | 3 +++ > 3 files changed, 9 insertions(+), 3 deletions(-) > Thanks! Reviewed-by: Nicolas Schier -- Nicolas