diff options
| author | Wang Yao <wangyao@lemote.com> | 2024-04-17 13:35:30 +0800 |
|---|---|---|
| committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-05-14 14:03:26 +0900 |
| commit | 8fe51b45c5645c259f759479c374648e9dfeaa03 (patch) | |
| tree | 0b87722c7153bdef01354202cb3c5ae8f2c6c271 /scripts/module.lds.S | |
| parent | dfff05cc10052b4c36a11d268aeaab2ed6ca66a0 (diff) | |
| download | linux-8fe51b45c5645c259f759479c374648e9dfeaa03.tar.gz | |
modules: Drop the .export_symbol section from the final modules
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>
Diffstat (limited to 'scripts/module.lds.S')
| -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 bf5bcf2836d815..89ff01a22634f0 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+*)) } |
