[PATCH v7 1/3] modules: Support extended MODVERSIONS info

Sami Tolvanen samitolvanen at google.com
Fri Oct 25 10:00:08 AEDT 2024


On Wed, Oct 23, 2024 at 02:31:28AM +0000, Matthew Maurer wrote:
> Adds a new format for MODVERSIONS which stores each field in a separate
> ELF section. This initially adds support for variable length names, but
> could later be used to add additional fields to MODVERSIONS in a
> backwards compatible way if needed. Any new fields will be ignored by
> old user tooling, unlike the current format where user tooling cannot
> tolerate adjustments to the format (for example making the name field
> longer).
> 
> Since PPC munges its version records to strip leading dots, we reproduce
> the munging for the new format. Other architectures do not appear to
> have architecture-specific usage of this information.
> 
> Signed-off-by: Matthew Maurer <mmaurer at google.com>

Reviewed-by: Sami Tolvanen <samitolvanen at google.com>

Sami


More information about the Linuxppc-dev mailing list