[PATCH v4 01/22] kbuild: do not allocate .modinfo in vmlinux
Nicolas Schier
n.schier at fritz.com
Thu Sep 24 06:44:48 PDT 2026
On Wed, 23 Sep 2026 18:17:50 +0100, Lorenzo Stoakes (ARM) <ljs at kernel.org> 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 at fritz.com>
--
Nicolas
More information about the linux-riscv
mailing list