mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 14:24:11 +08:00
modules: Drop the .export_symbol section from the final modules
[ Upstream commit8fe51b45c5
] Commitddb5cdbafa
("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
366bff10bb
commit
5c8471d260
@ -13,6 +13,7 @@ SECTIONS {
|
||||
/DISCARD/ : {
|
||||
*(.discard)
|
||||
*(.discard.*)
|
||||
*(.export_symbol)
|
||||
}
|
||||
|
||||
__ksymtab 0 : { *(SORT(___ksymtab+*)) }
|
||||
|
Loading…
Reference in New Issue
Block a user