| From: |
| Josh Poimboeuf <jpoimboe-AT-redhat.com> |
| To: |
| x86-AT-kernel.org |
| Subject: |
| [PATCH 0/3] objtool: GCC 8 support |
| Date: |
| Wed, 9 May 2018 22:39:13 -0500 |
| Message-ID: |
| <cover.1525923412.git.jpoimboe@redhat.com> |
| Cc: |
| linux-kernel-AT-vger.kernel.org, Randy Dunlap <rdunlap-AT-infradead.org>, Arnd Bergmann <arnd-AT-arndb.de>, Peter Zijlstra <peterz-AT-infradead.org>, Ingo Molnar <mingo-AT-kernel.org>, Thomas Gleixner <tglx-AT-linutronix.de>, Greg KH <gregkh-AT-linuxfoundation.org>, David Laight <David.Laight-AT-ACULAB.COM>, damian <damian.tometzki-AT-icloud.com> |
| Archive-link: |
| Article |
Now that GCC 8 is out, several people have complained about a bunch of
objtool warnings. These patches fix all known warnings.
Patch 1 is a repost of a previous fix -- unrelated to GCC 8, but a
prereq for the following two patches.
Patch 2 fixes the vast majority of the warnings, caused by GCC 8's new
usage of "cold" subfunctions for unlikely text.
Patch 3 fixes a few more warnings, related to switch tables.
Josh Poimboeuf (3):
objtool: Fix "noreturn" detection for recursive sibling calls
objtool: Support GCC 8 cold subfunctions
objtool: Support GCC 8 switch tables
tools/objtool/check.c | 125 ++++++++++++++++++++++++++----------------
tools/objtool/elf.c | 42 +++++++++++++-
tools/objtool/elf.h | 2 +
3 files changed, 121 insertions(+), 48 deletions(-)
--
2.17.0