Linux-Modules Archive mirror
 help / color / mirror / Atom feed
From: Masahiro Yamada <masahiroy@kernel.org>
To: Luis Chamberlain <mcgrof@kernel.org>
Cc: wangyao@lemote.com, 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: Tue, 14 May 2024 08:10:31 +0900	[thread overview]
Message-ID: <CAK7LNARCxO9rysrJyZo1uVQ+83YJJc5KFqY65+_3vWwSa80xtQ@mail.gmail.com> (raw)
In-Reply-To: <Zj_0KU2cInEUbsW3@bombadil.infradead.org>

On Sun, May 12, 2024 at 7:42 AM Luis Chamberlain <mcgrof@kernel.org> wrote:
>
> 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.


Yes, applied now.

Thanks for the reminder.





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



-- 
Best Regards
Masahiro Yamada

      reply	other threads:[~2024-05-13 23:11 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
2024-05-13 23:10   ` Masahiro Yamada [this message]

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=CAK7LNARCxO9rysrJyZo1uVQ+83YJJc5KFqY65+_3vWwSa80xtQ@mail.gmail.com \
    --to=masahiroy@kernel.org \
    --cc=ainux.wang@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-modules@vger.kernel.org \
    --cc=mcgrof@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).