modules: Drop the .export_symbol section from the final modules

Commit ddb5cdbafa ("kbuild: generate KSYMTAB entries by modpost")
forget drop the .export_symbol section from the final modules.

Fixes: ddb5cdbafa ("kbuild: generate KSYMTAB entries by modpost")
Signed-off-by: Wang Yao <wangyao@lemote.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
Wang Yao 2024-04-17 13:35:30 +08:00 committed by Masahiro Yamada
parent dfff05cc10
commit 8fe51b45c5

View File

@ -13,6 +13,7 @@ SECTIONS {
/DISCARD/ : {
*(.discard)
*(.discard.*)
*(.export_symbol)
}
__ksymtab 0 : { *(SORT(___ksymtab+*)) }