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

From
Nathan Chancellor <nathan@kernel.org>
Date
2025-09-17 01:10:15
Also in
linux-kbuild, lkml
Reply to
Nicolas Schier, 2025-09-16
On Tue, Sep 16, 2025 at 03:28:09PM +0200, Nicolas Schier wrote:
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.

Cheers,
Nathan
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