Re: [PATCH v4 01/22] kbuild: do not allocate .modinfo in vmlinux
From: Nicolas Schier
Date: Thu Sep 24 2026 - 09:50:40 EST
On Wed, 23 Sep 2026 18:17:50 +0100, Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx> wrote:
> Commit 3e86e4d74c04 ("kbuild: keep .modinfo section in vmlinux.unstripped")
> placed MODULE_INFO() strings in the .modinfo section in vmlinux.unstripped,
> however it left the section allocatable, so it gets assigned an address and
> on arm64, arm and riscv, the section is tagged as PT_LOAD.
>
> This is useless as the data is ultimately stripped anyway.
>
> [...]
Reviewed-by: Nicolas Schier <n.schier@xxxxxxxxx>
--
Nicolas