Message ID | 20220928063947.299333-1-masahiroy@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | Unify <linux/export.h> and <asm/export.h>, remove EXPORT_DATA_SYMBOL(), faster TRIM_UNUSED_KSYMS | expand |
On Wed, Sep 28, 2022 at 3:41 PM Masahiro Yamada <masahiroy@kernel.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