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

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

```
