From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751737AbdG0U51 (ORCPT ); Thu, 27 Jul 2017 16:57:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36178 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751607AbdG0U5Z (ORCPT ); Thu, 27 Jul 2017 16:57:25 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 7D1A5E2522 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jpoimboe@redhat.com From: Josh Poimboeuf To: Ingo Molnar Cc: Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH 0/4] objtool: fix some objtool warnings Date: Thu, 27 Jul 2017 15:56:52 -0500 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 27 Jul 2017 20:57:25 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some objtool warning fixes, most of which were reported by Arnd. The first patch fixes an issue which is specific to GCC 7. It has been around a while. The second patch fixes an issue which has theoretically always existed in objtool, but was only recently uncovered due to some recent function whitelist changes associated with objtool 2.0. The third and fourth patches are fixes for the recent objtool 2.0 and ORC support. Josh Poimboeuf (4): objtool: Assume unannotated 'ud2' instructions are dead ends objtool: Skip unreachable warnings for 'alt' instructions objtool: Fix '-mtune=atom' decoding support in objtool 2.0 objtool: Disable GCC '-Wpacked' warnings include/linux/compiler-gcc.h | 16 ----------- include/linux/compiler.h | 25 +++++++++++++++- tools/objtool/Makefile | 3 +- tools/objtool/arch.h | 5 ++-- tools/objtool/arch/x86/decode.c | 43 +++++++++++++++++++++++---- tools/objtool/check.c | 64 +++++++++++++++++++++++++++++++++++++++-- 6 files changed, 127 insertions(+), 29 deletions(-) -- 2.13.3