[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABCJKueexnq=hE2L3uFQt5WeS2_mFckK9NHagFfU-peTnwMNeA@mail.gmail.com>
Date: Tue, 16 May 2023 07:51:29 -0700
From: Sami Tolvanen <samitolvanen@...gle.com>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: Nicolas Pitre <nico@...xnic.net>, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Nicolas Schier <nicolas@...sle.eu>
Subject: Re: [PATCH v5 21/21] kbuild: implement CONFIG_TRIM_UNUSED_KSYMS
without recursion
On Mon, May 15, 2023 at 7:16 PM Masahiro Yamada <masahiroy@...nel.org> wrote:
>
> On Tue, May 16, 2023 at 7:54 AM Sami Tolvanen <samitolvanen@...gle.com> wrote:
> > A while ago there
> > was a suggestion of adding an option to LLD that allows one to pass a
> > list of symbols to preserve in relocatable LTO links, which would
> > allow us to better optimize vmlinux.o. However, I haven't had a chance
> > to look into this deeper than this proof of concept:
> >
> > https://reviews.llvm.org/D142163
>
>
> Interesting.
>
> But, scripts/generate_initcall_order.pl is still needed, right?
>
> --lto-export-symbol-list is a list of symbols,
> but it does not specify the correct order?
Correct, the patch doesn't take the order of the list into account.
Sami
Powered by blists - more mailing lists