Message ID | 7bb04938efcac2c1eaba2cae849337a9a542e1b0.1507128293.git.jpoimboe@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xen.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 495986028E for <patchwork-xen-devel@patchwork.kernel.org>; Wed, 4 Oct 2017 16:00:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3B8FB28B45 for <patchwork-xen-devel@patchwork.kernel.org>; Wed, 4 Oct 2017 16:00:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F9FC28B55; Wed, 4 Oct 2017 16:00:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BD3F028B4A for <patchwork-xen-devel@patchwork.kernel.org>; Wed, 4 Oct 2017 16:00:37 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1dzm4n-0000RQ-5U; Wed, 04 Oct 2017 15:59:13 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <jpoimboe@redhat.com>) id 1dzm4l-0000PC-Ts for xen-devel@lists.xenproject.org; Wed, 04 Oct 2017 15:59:12 +0000 Received: from [85.158.139.211] by server-17.bemta-5.messagelabs.com id 42/C3-01789-F4505D95; Wed, 04 Oct 2017 15:59:11 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEIsWRWlGSWpSXmKPExsVysWW7jK4f69V Ig4PXhSy+b5nM5MDocfjDFZYAxijWzLyk/IoE1oybK7uYCq6zVkzZspO1gfEJSxcjF4eQwBwm ibY9zcxdjJwcLAIOEu9n9rGB2IwCZRK7NpwDinMA2bkSt84ZQtRvZJQ4fmgBK0gNm4CWxPG/J 9lBakQEhCSW3q0DCTMLHGGVeHFRE8QWFvCX2Lr/EhvEeFWJJ6fnMoHYvAKREi/ez2YHsTkFzC V29C0DqxESMJPYfm0d2DkSAtoSj09PZwTZKyHQxyixft8RtgmM/AsYGVYxahSnFpWlFukaG+g lFWWmZ5TkJmbm6BoamOrlphYXJ6an5iQmFesl5+duYgSGTz0DA+MOxgmr/A4xSnIwKYny/vp5 JVKILyk/pTIjsTgjvqg0J7X4EKMMB4eSBO995quRQoJFqempFWmZOcBAhklLcPAoifAasACle YsLEnOLM9MhUqcYdTluPLz+h0mIJS8/L1VKnPcXyAwBkKKM0jy4EbCousQoKyXMy8jAwCDEU5 BalJtZgir/ilGcg1FJmNcaZBVPZl4J3KZXQEcwAR0xp+kKyBEliQgpqQZGC4O7hz0Pfo76/m/ HN2svxoA5P/xKpA+F/JfbOyvbQWBVbD/7qcnMe7jt18R47Vjn3s+f1lZi/K5nTdju70K3HzO+ SnuW6RN6T1NewiWzluMST0jsw6q7PPyxHyTXLmlYFh2cYVIQ379fWD4p6Kx/3ouJE2dphZ3eE O0SIZEWtFd/8rbTbVFKLMUZiYZazEXFiQDsWXoUpQIAAA== X-Env-Sender: jpoimboe@redhat.com X-Msg-Ref: server-15.tower-206.messagelabs.com!1507132748!100558110!1 X-Originating-IP: [209.132.183.28] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMjA5LjEzMi4xODMuMjggPT4gNTQwNjQ=\n X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 30929 invoked from network); 4 Oct 2017 15:59:10 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by server-15.tower-206.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 4 Oct 2017 15:59:10 -0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 707B25F2974; Wed, 4 Oct 2017 15:59:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 707B25F2974 Received: from treble.redhat.com (ovpn-120-76.rdu2.redhat.com [10.10.120.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id 75BC062930; Wed, 4 Oct 2017 15:59:06 +0000 (UTC) From: Josh Poimboeuf <jpoimboe@redhat.com> To: x86@kernel.org Date: Wed, 4 Oct 2017 10:58:33 -0500 Message-Id: <7bb04938efcac2c1eaba2cae849337a9a542e1b0.1507128293.git.jpoimboe@redhat.com> In-Reply-To: <cover.1507128293.git.jpoimboe@redhat.com> References: <cover.1507128293.git.jpoimboe@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 04 Oct 2017 15:59:08 +0000 (UTC) Cc: Juergen Gross <jgross@suse.com>, Rusty Russell <rusty@rustcorp.com.au>, xen-devel@lists.xenproject.org, Peter Zijlstra <peterz@infradead.org>, Jiri Slaby <jslaby@suse.cz>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, Mike Galbraith <efault@gmx.de>, linux-kernel@vger.kernel.org, Sasha Levin <alexander.levin@verizon.com>, Chris Wright <chrisw@sous-sol.org>, Thomas Gleixner <tglx@linutronix.de>, Andy Lutomirski <luto@kernel.org>, "H. Peter Anvin" <hpa@zytor.com>, Borislav Petkov <bp@alien8.de>, live-patching@vger.kernel.org, Alok Kataria <akataria@vmware.com>, virtualization@lists.linux-foundation.org, Linus Torvalds <torvalds@linux-foundation.org>, Ingo Molnar <mingo@kernel.org> Subject: [Xen-devel] [PATCH 12/13] objtool: Add support for new .pv_altinstructions section X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/tools/objtool/special.c b/tools/objtool/special.c index 84f001d52322..dc15a3564fc9 100644 --- a/tools/objtool/special.c +++ b/tools/objtool/special.c @@ -63,6 +63,16 @@ struct special_entry entries[] = { .feature = ALT_FEATURE_OFFSET, }, { + .sec = ".pv_altinstructions", + .group = true, + .size = ALT_ENTRY_SIZE, + .orig = ALT_ORIG_OFFSET, + .orig_len = ALT_ORIG_LEN_OFFSET, + .new = ALT_NEW_OFFSET, + .new_len = ALT_NEW_LEN_OFFSET, + .feature = ALT_FEATURE_OFFSET, + }, + { .sec = "__jump_table", .jump_or_nop = true, .size = JUMP_ENTRY_SIZE,
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> --- tools/objtool/special.c | 10 ++++++++++ 1 file changed, 10 insertions(+)