Re: [PATCH v5 04/11] modpost: emit module descriptors as assembly
From: Nathan Chancellor
Date: Wed Nov 11 2026 - 23:16:11 EST
On Wed, 04 Nov 2026 18:20:22 +0000, Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx> wrote:
> modpost generates a descriptor for every module in the form of a
> <module>.mod.c file with .modinfo strings, the __this_module descriptor,
> exported symbol tables and (with CONFIG_MODVERSIONS set), the CRC of
> imported symbols.
>
> These files are compiled like any other kernel C file with all of the
> -include preamble, as well as including linux/module.h, header dependencies
> generated by fixdep of a few hundred headers, an objtool run and if LTO is
> being performed, a link is performed to generate native code.
>
> [...]
Reviewed-by: Nathan Chancellor <nathan@xxxxxxxxxx>
--
Cheers,
Nathan