On 8/29/25 12:54 PM, Siddharth Nayyar wrote:
> Signed-off-by: Siddharth Nayyar <sidnayyar@google.com>
> ---
> Documentation/kbuild/modules.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/kbuild/modules.rst b/Documentation/kbuild/modules.rst
> index d0703605bfa4..f2022fa2342f 100644
> --- a/Documentation/kbuild/modules.rst
> +++ b/Documentation/kbuild/modules.rst
> @@ -426,11 +426,11 @@ Symbols From the Kernel (vmlinux + modules)
> Version Information Formats
> ---------------------------
>
> - Exported symbols have information stored in __ksymtab or __ksymtab_gpl
> - sections. Symbol names and namespaces are stored in __ksymtab_strings,
> + Exported symbols have information stored in the __ksymtab section.
> + Symbol names and namespaces are stored in __ksymtab_strings section,
> using a format similar to the string table used for ELF. If
> CONFIG_MODVERSIONS is enabled, the CRCs corresponding to exported
> - symbols will be added to the __kcrctab or __kcrctab_gpl.
> + symbols will be added to the __kcrctab section.
>
> If CONFIG_BASIC_MODVERSIONS is enabled (default with
> CONFIG_MODVERSIONS), imported symbols will have their symbol name and
Nit: I realize this part of the document primarily discusses sections
related to modversions, but I think it would be good to briefly mention
also the existence of the __kflagstab section. The first sentence could
say:
Exported symbols have information stored in the __ksymtab and
__kflagstab sections.
--
Thanks,
Petr