* [PATCH] modules: Drop the .export_symbol section from the final modules
@ 2024-04-17 5:35 wangyao
2024-04-22 2:02 ` Ainux Wang
2024-05-07 5:15 ` Ainux Wang
0 siblings, 2 replies; 3+ messages in thread
From: wangyao @ 2024-04-17 5:35 UTC (permalink / raw)
To: mcgrof, masahiroy, ainux.wang; +Cc: linux-modules, linux-kernel, Wang Yao
From: Wang Yao <wangyao@lemote.com>
Commit ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost")
forget drop the .export_symbol section from the final modules.
Signed-off-by: Wang Yao <wangyao@lemote.com>
---
scripts/module.lds.S | 1 +
1 file changed, 1 insertion(+)
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+*)) }
--
2.27.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] modules: Drop the .export_symbol section from the final modules
2024-04-17 5:35 [PATCH] modules: Drop the .export_symbol section from the final modules wangyao
@ 2024-04-22 2:02 ` Ainux Wang
2024-05-07 5:15 ` Ainux Wang
1 sibling, 0 replies; 3+ messages in thread
From: Ainux Wang @ 2024-04-22 2:02 UTC (permalink / raw)
To: wangyao; +Cc: mcgrof, masahiroy, linux-modules, linux-kernel
Hi, everyone:
Could someone review this patch?
Best regards,
Ainux Wang.
<wangyao@lemote.com> 于2024年4月17日周三 13:35写道:
>
> From: Wang Yao <wangyao@lemote.com>
>
> Commit ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost")
> forget drop the .export_symbol section from the final modules.
>
> Signed-off-by: Wang Yao <wangyao@lemote.com>
> ---
> scripts/module.lds.S | 1 +
> 1 file changed, 1 insertion(+)
>
> 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+*)) }
> --
> 2.27.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] modules: Drop the .export_symbol section from the final modules
2024-04-17 5:35 [PATCH] modules: Drop the .export_symbol section from the final modules wangyao
2024-04-22 2:02 ` Ainux Wang
@ 2024-05-07 5:15 ` Ainux Wang
1 sibling, 0 replies; 3+ messages in thread
From: Ainux Wang @ 2024-05-07 5:15 UTC (permalink / raw)
To: mcgrof, masahiroy, Wang Yao, linux-modules; +Cc: linux-kernel
Hi, everyone:
Could someone review this patch?
Best regards,
Ainux Wang.
<wangyao@lemote.com> 于2024年4月17日周三 13:35写道:
>
> From: Wang Yao <wangyao@lemote.com>
>
> Commit ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost")
> forget drop the .export_symbol section from the final modules.
>
> Signed-off-by: Wang Yao <wangyao@lemote.com>
> ---
> scripts/module.lds.S | 1 +
> 1 file changed, 1 insertion(+)
>
> 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+*)) }
> --
> 2.27.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-07 5:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-17 5:35 [PATCH] modules: Drop the .export_symbol section from the final modules wangyao
2024-04-22 2:02 ` Ainux Wang
2024-05-07 5:15 ` Ainux Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).