LKML Archive mirror
 help / color / mirror / Atom feed
From: Luis Chamberlain <mcgrof@kernel.org>
To: wangyao@lemote.com, Masahiro Yamada <masahiroy@kernel.org>
Cc: masahiroy@kernel.org, ainux.wang@gmail.com,
	linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] modules: Drop the .export_symbol section from the final modules
Date: Sat, 11 May 2024 15:41:45 -0700	[thread overview]
Message-ID: <Zj_0KU2cInEUbsW3@bombadil.infradead.org> (raw)
In-Reply-To: <20240417053530.30995-1-wangyao@lemote.com>

On Wed, Apr 17, 2024 at 01:35:30PM +0800, wangyao@lemote.com wrote:
> 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>

Masahiro, commit ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by
modpost") was your change, wanna address / take it through your
tree? It makes sense to me though.

  Luis

> ---
>  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
> 

  parent reply	other threads:[~2024-05-11 22:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
2024-05-11  1:03   ` Ainux Wang
2024-05-11 22:41 ` Luis Chamberlain [this message]
2024-05-13 23:10   ` Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zj_0KU2cInEUbsW3@bombadil.infradead.org \
    --to=mcgrof@kernel.org \
    --cc=ainux.wang@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-modules@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=wangyao@lemote.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).