[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNATcD6k+R66YFVg_mhe7-FGNc0nYaTPuORCcd34Qw3ra2g@mail.gmail.com>
Date: Thu, 29 Sep 2022 06:04:09 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: linux-kbuild@...r.kernel.org
Cc: linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-ia64@...r.kernel.org, Al Viro <viro@...iv.linux.org.uk>,
Ard Biesheuvel <ardb@...nel.org>,
Nicolas Pitre <npitre@...libre.com>,
Arnd Bergmann <arnd@...db.de>,
Luis Chamberlain <mcgrof@...nel.org>,
Michal Marek <michal.lkml@...kovi.net>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Tom Rix <trix@...hat.com>, linux-modules@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH v3 0/8] Unify <linux/export.h> and <asm/export.h>, remove
EXPORT_DATA_SYMBOL(), faster TRIM_UNUSED_KSYMS
On Wed, Sep 28, 2022 at 3:41 PM Masahiro Yamada <masahiroy@...nel.org> wrote:
>
>
> This patch set refactors EXPORT_SYMBOL, <linux/export.h> and <asm/export.h>.
> Also, re-implement TRIM_UNUSED_KSYMS in one-pass.
>
> You can still put EXPORT_SYMBOL() in *.S file, very close to the definition,
> but you do not need to care about whether it is a function or a data.
> Remove EXPORT_DATA_SYMBOL().
>
> In v1, I broke ia64 because of missing distinction between functions and data.
>
> V2 handles it correctly.
> If the exported symbols is a function, KSYMTAB_FUNC is output.
> Otherwise, KSYMTAB_DATA is output.
>
I noticed this patch set is broken in multiple ways.
No test is needed.
(0day may send various reports, but please ignore them)
I will fix the code when I have time.
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists