diff options
| author | Wang Yao <wangyao@lemote.com> | 2024-04-17 13:35:30 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-12 11:12:12 +0200 |
| commit | 00ea83bfb496b2100dae774c798e2f69a928749a (patch) | |
| tree | 72bc447d3f8033ee211341057152d317f54e7de7 /scripts | |
| parent | 4aa2d5fd7ee090f0605d29a86650defb38162fdd (diff) | |
| download | linux-00ea83bfb496b2100dae774c798e2f69a928749a.tar.gz linux-00ea83bfb496b2100dae774c798e2f69a928749a.tar.bz2 linux-00ea83bfb496b2100dae774c798e2f69a928749a.zip | |
modules: Drop the .export_symbol section from the final modules
[ Upstream commit 8fe51b45c5645c259f759479c374648e9dfeaa03 ]
Commit ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost")
forget drop the .export_symbol section from the final modules.
Fixes: ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost")
Signed-off-by: Wang Yao <wangyao@lemote.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/module.lds.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/module.lds.S b/scripts/module.lds.S index bf5bcf2836d8..89ff01a22634 100644 --- a/scripts/module.lds.S +++ b/scripts/module.lds.S @@ -13,6 +13,7 @@ SECTIONS { /DISCARD/ : { *(.discard) *(.discard.*) + *(.export_symbol) } __ksymtab 0 : { *(SORT(___ksymtab+*)) } |
