Re: [PATCH v7 3/8] kbuild: keep .modinfo section in vmlinux.unstripped

From
Alexey Gladkov <legion@kernel.org>
Date
2025-09-17 06:49:11
Also in
linux-kbuild, lkml
Reply to
Nathan Chancellor, 2025-09-17
On Tue, Sep 16, 2025 at 06:10:10PM -0700, Nathan Chancellor wrote:
On Tue, Sep 16, 2025 at 03:28:09PM +0200, Nicolas Schier wrote:
quoted
yeah, it's actually because I dislike modifying vmlinux.unstripped in
the vmlinux rule.

But it may be that Nathan does not see it this way.
Yeah, I would agree that it is good form to avoid modifying the inputs
of a rule.

This warning is pretty annoying since it is intentional but we do not
have great tools to hide just this one instance it seems... This is
probably worth a comment.

It would be nice if this section could be marked as NOLOAD from the
beginning but that will mess with extracting .modinfo via objcopy from
my brief testing.
Yeah, I was thinking about that too.

Ok, I will make a new version of the patchset with fixes.

-- 
Rgrds, legion
Thread (25 messages) 25 messages, 4 authors, last reply 2025-10-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help