Commit fc7d5e32 authored by Matthew Maurer's avatar Matthew Maurer Committed by Masahiro Yamada
Browse files

modpost: Produce extended MODVERSIONS information



Generate both the existing modversions format and the new extended one
when running modpost. Presence of this metadata in the final .ko is
guarded by CONFIG_EXTENDED_MODVERSIONS.

We no longer generate an error on long symbols in modpost if
CONFIG_EXTENDED_MODVERSIONS is set, as they can now be appropriately
encoded in the extended section. These symbols will be skipped in the
previous encoding. An error will still be generated if
CONFIG_EXTENDED_MODVERSIONS is not set.

Reviewed-by: default avatarSami Tolvanen <samitolvanen@google.com>
Signed-off-by: default avatarMatthew Maurer <mmaurer@google.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 54ac1ac8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment