Skip to content

Commit 8fe51b4

Browse files
AlooGSmasahir0y
authored andcommitted
modules: Drop the .export_symbol section from the final modules
Commit ddb5cdb ("kbuild: generate KSYMTAB entries by modpost") forget drop the .export_symbol section from the final modules. Fixes: ddb5cdb ("kbuild: generate KSYMTAB entries by modpost") Signed-off-by: Wang Yao <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent dfff05c commit 8fe51b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/module.lds.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ SECTIONS {
1313
/DISCARD/ : {
1414
*(.discard)
1515
*(.discard.*)
16+
*(.export_symbol)
1617
}
1718

1819
__ksymtab 0 : { *(SORT(___ksymtab+*)) }

0 commit comments

Comments
 (0)