# 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 
- List: linux-modules
- Page: https://ratatoskr.run/linux-modules/2025/09/3219287
- Thread: https://ratatoskr.run/linux-modules/2025/08/3175296/t.md

```text
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
```
