From: Paul Walmsley <paul.walmsley@sifive.com>
To: linux-kernel@vger.kernel.org
Cc: Paul Walmsley <paul.walmsley@sifive.com>,
Russell King <linux@armlinux.org.uk>,
Jim Wilson <jimw@sifive.com>,
Masahiro Yamada <yamada.masahiro@socionext.com>,
Michal Marek <michal.lkml@markovi.net>,
Sam Ravnborg <sam@ravnborg.org>, Paul Walmsley <paul@pwsan.com>,
linux-kbuild@vger.kernel.org
Subject: [PATCH v2 0/2] modpost: skip section mismatch warnings on ELF local symbols by default
Date: Wed, 14 Nov 2018 16:56:00 -0800 [thread overview]
Message-ID: <20181115005602.30746-1-paul.walmsley@sifive.com> (raw)
modpost reports section mismatch warnings on ELF local symbols. This
caused false positive warnings to be reported for a local symbol name
that would otherwise be elided by matching against a name pattern.
This was observed using a RISC-V gcc 8.2.0 toolchain that generates
section anchors.
To avoid this noise in the common case, this patch series disables
section mismatch warnings on ELF local symbols. It also drops some
unused command line switches from modpost, per feedback from Sam
Ravnborg <sam@ravnborg.org>.
This modpost series can also be found at:
https://github.com/sifive/riscv-linux/tree/dev/paulw/modpost-elf-local-symbols-v4.20-rc2
The series was tested on a RISC-V build of the SiFive UART serial
driver, at:
https://github.com/sifive/riscv-linux/tree/dev/paulw/serial-v4.19-rc7
Paul Walmsley (2):
modpost: drop unused command line switches
modpost: skip ELF local symbols by default during section mismatch
check
scripts/mod/modpost.c | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
Cc: Russell King <linux@armlinux.org.uk>
Cc: Jim Wilson <jimw@sifive.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: linux-kbuild@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
--
2.19.1
next reply other threads:[~2018-11-15 0:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-15 0:56 Paul Walmsley [this message]
2018-11-15 0:56 ` [PATCH v2 1/2] modpost: drop unused command line switches Paul Walmsley
2018-11-16 19:51 ` Sam Ravnborg
2018-11-21 6:14 ` Masahiro Yamada
2018-11-15 0:56 ` [PATCH v2 2/2] modpost: skip ELF local symbols by default during section mismatch check Paul Walmsley
2018-11-16 19:52 ` Sam Ravnborg
2018-11-21 6:13 ` Masahiro Yamada
2018-11-21 17:52 ` Paul Walmsley
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=20181115005602.30746-1-paul.walmsley@sifive.com \
--to=paul.walmsley@sifive.com \
--cc=jimw@sifive.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=michal.lkml@markovi.net \
--cc=paul@pwsan.com \
--cc=sam@ravnborg.org \
--cc=yamada.masahiro@socionext.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 NNTP newsgroup(s).