diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-05-13 14:39:24 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-05-24 10:33:20 +0300 |
commit | 5ce2176b81f77366bd02c27509b83049f0020544 (patch) | |
tree | 979ecde3c33c95d54e059d1d077da7b0afecc057 /scripts/genksyms | |
parent | 7375cbcf2343a9337b19846e76dfd94c3af98a27 (diff) | |
download | linux-5ce2176b81f77366bd02c27509b83049f0020544.tar.xz |
genksyms: adjust the output format to modpost
Make genksyms output symbol versions in the format modpost expects,
so the 'sed' is unneeded.
This commit makes *.symversions completely unneeded.
I will keep *.symversions in .gitignore and 'make clean' for a while.
Otherwise, 'git status' might be surprising.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com> # LLVM-14 (x86-64)
Diffstat (limited to 'scripts/genksyms')
-rw-r--r-- | scripts/genksyms/genksyms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genksyms/genksyms.c b/scripts/genksyms/genksyms.c index 67b23cc0df0f..f5dfdb9d80e9 100644 --- a/scripts/genksyms/genksyms.c +++ b/scripts/genksyms/genksyms.c @@ -680,7 +680,7 @@ void export_symbol(const char *name) if (flag_dump_defs) fputs(">\n", debugfile); - printf("__crc_%s = 0x%08lx;\n", name, crc); + printf("#SYMVER %s 0x%08lx\n", name, crc); } } |