linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: linux-kbuild@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>, Joe Perches <joe@perches.com>,
	Sam Ravnborg <sam@ravnborg.org>,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org,
	Michal Marek <michal.lkml@markovi.net>,
	Andy Whitcroft <apw@canonical.com>
Subject: [PATCH 0/8] kbuild: remove CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX and clean-up code
Date: Wed,  9 May 2018 16:23:44 +0900	[thread overview]
Message-ID: <1525850632-10921-1-git-send-email-yamada.masahiro@socionext.com> (raw)


I got acknowledge to remove CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX entirely.
(https://lkml.org/lkml/2018/5/5/148)

Several tools can be cleaned-up.

Removing the CONFIG option makes VMLINUX_SYMBOL() no-op,
so this macro can be removed too.

VMLINUX_SYMBOL() and VMLINUX_SYMBOL_STR() are widely used,
so it will take some time to kill them entirely.
(I will send other patches later, splitting per-arch)



Masahiro Yamada (8):
  modpost: remove symbol prefix support
  genksyms: remove symbol prefix support
  kallsyms: remove symbol prefix support
  depmod.sh: remove symbol prefix support
  export.h: remove code for prefixing symbols with underscore
  kbuild: remove CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX
  vmlinux.lds.h: remove no-op macro VMLINUX_SYMBOL()
  checkpatch: remove VMLINUX_SYMBOL() check

 Makefile                          |   2 +-
 arch/Kconfig                      |   6 -
 include/asm-generic/export.h      |  34 ++---
 include/asm-generic/vmlinux.lds.h | 289 +++++++++++++++++++-------------------
 include/linux/export.h            |  16 +--
 scripts/Makefile.build            |   9 +-
 scripts/adjust_autoksyms.sh       |   3 -
 scripts/checkpatch.pl             |  10 --
 scripts/depmod.sh                 |  21 +--
 scripts/genksyms/genksyms.c       |  11 +-
 scripts/kallsyms.c                |  47 ++-----
 scripts/link-vmlinux.sh           |   4 -
 scripts/mod/modpost.c             |  30 ++--
 13 files changed, 188 insertions(+), 294 deletions(-)

-- 
2.7.4

             reply	other threads:[~2018-05-09  7:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-09  7:23 Masahiro Yamada [this message]
2018-05-09  7:23 ` [PATCH 1/8] modpost: remove symbol prefix support Masahiro Yamada
2018-05-09  7:23 ` [PATCH 2/8] genksyms: " Masahiro Yamada
2018-05-09  7:23 ` [PATCH 3/8] kallsyms: " Masahiro Yamada
2018-05-09  7:23 ` [PATCH 4/8] depmod.sh: " Masahiro Yamada
2018-05-09  7:23 ` [PATCH 5/8] export.h: remove code for prefixing symbols with underscore Masahiro Yamada
2018-05-09 16:07   ` Sam Ravnborg
2018-05-10  3:39     ` Masahiro Yamada
2018-05-10  5:08       ` Sam Ravnborg
2018-05-09  7:23 ` [PATCH 6/8] kbuild: remove CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX Masahiro Yamada
2018-05-09  7:23 ` [PATCH 7/8] vmlinux.lds.h: remove no-op macro VMLINUX_SYMBOL() Masahiro Yamada
2018-05-09  7:23 ` [PATCH 8/8] checkpatch: remove VMLINUX_SYMBOL() check Masahiro Yamada
2018-05-09 16:13 ` [PATCH 0/8] kbuild: remove CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX and clean-up code Sam Ravnborg
2018-05-14  0:11 ` 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=1525850632-10921-1-git-send-email-yamada.masahiro@socionext.com \
    --to=yamada.masahiro@socionext.com \
    --cc=apw@canonical.com \
    --cc=arnd@arndb.de \
    --cc=joe@perches.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.lkml@markovi.net \
    --cc=sam@ravnborg.org \
    /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 NNTP newsgroup(s).