[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aMqiI0PlyTZGPWhR@levanger>
Date: Wed, 17 Sep 2025 13:57:23 +0200
From: Nicolas Schier <nsc@...nel.org>
To: Alexey Gladkov <legion@...nel.org>
Cc: Nathan Chancellor <nathan@...nel.org>, Petr Pavlu <petr.pavlu@...e.com>,
Luis Chamberlain <mcgrof@...nel.org>,
Sami Tolvanen <samitolvanen@...gle.com>,
Daniel Gomez <da.gomez@...sung.com>, linux-kernel@...r.kernel.org,
linux-modules@...r.kernel.org, linux-kbuild@...r.kernel.org,
Masahiro Yamada <masahiroy@...nel.org>
Subject: Re: [PATCH v7 2/8] kbuild: always create intermediate
vmlinux.unstripped
On Mon, Aug 18, 2025 at 06:54:56PM +0200, Alexey Gladkov wrote:
> From: Masahiro Yamada <masahiroy@...nel.org>
>
> Generate the intermediate vmlinux.unstripped regardless of
> CONFIG_ARCH_VMLINUX_NEEDS_RELOCS.
>
> If CONFIG_ARCH_VMLINUX_NEEDS_RELOCS is unset, vmlinux.unstripped and
> vmlinux are identiacal.
>
> This simplifies the build rule, and allows to strip more sections
> by adding them to remove-section-y.
>
> Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
> ---
> scripts/Makefile.vmlinux | 45 ++++++++++++++++++++--------------------
> 1 file changed, 22 insertions(+), 23 deletions(-)
Reviewed-by: Nicolas Schier <nsc@...nel.org>
Powered by blists - more mailing lists