From patchwork Tue Mar 5 05:48:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10839049 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B059214DE for ; Tue, 5 Mar 2019 05:51:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E6232BBF9 for ; Tue, 5 Mar 2019 05:51:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 922B82BE46; Tue, 5 Mar 2019 05:51:17 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C6A12BE39 for ; Tue, 5 Mar 2019 05:51:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727093AbfCEFvQ (ORCPT ); Tue, 5 Mar 2019 00:51:16 -0500 Received: from conuserg-07.nifty.com ([210.131.2.74]:38923 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726026AbfCEFvP (ORCPT ); Tue, 5 Mar 2019 00:51:15 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id x255mOrU002400; Tue, 5 Mar 2019 14:48:25 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com x255mOrU002400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1551764906; bh=DlyhqYro9PRu0qrY7RWF8lCRod8hQNrPuAp+sT2sllM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DW2LOFlaDxv4HLHO4dev3+zueBOI0AgAkAWHqnfdgLujx4ciMN8idX70sVMkt5BS0 7BMpWchM8gUCFhZEzrH0Jk8ARcHP/wt2BQRbf/NC7iPNmM62l5bF6JCdTViV0cVIvS Kde05GQtYFo74TFpNcp+zhV5ofeU9XMQ+/lRE60JCgL9d8i1fJH7TCKAgqKK7OR5AW JxHp9Np6/Kckbfs4500erUUOB8/TCGGkgICqvcKexzCxMxJDDt2GuScve0TxRbVYhA 3aX3SKmXCfufEfgcaGtKc+qKBVLA9Qn1LqPlh1PhgxOudD28vBH6j/l0mka+dcp+9i b/OjsfjWTq4Pw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Ingo Molnar , Josh Poimboeuf , Peter Zijlstra Cc: Thomas Gleixner , Douglas Anderson , Robin Meijboom , Borislav Petkov , "H . Peter Anvin" , x86@kernel.org, Linus Torvalds , Sam Ravnborg , linux-kbuild@vger.kernel.org, Masahiro Yamada , linux-doc@vger.kernel.org, Jonathan Corbet , linux-kernel@vger.kernel.org Subject: [PATCH 2/3] objtool: move stack-validation.txt to Documentation/ Date: Tue, 5 Mar 2019 14:48:15 +0900 Message-Id: <1551764896-8453-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1551764896-8453-1-git-send-email-yamada.masahiro@socionext.com> References: <1551764896-8453-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Move the document to the standard Documentation/ directory instead of creating the same directory structure under objtool/. Signed-off-by: Masahiro Yamada --- {tools/objtool/Documentation => Documentation}/stack-validation.txt | 0 Documentation/x86/orc-unwinder.txt | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {tools/objtool/Documentation => Documentation}/stack-validation.txt (100%) diff --git a/tools/objtool/Documentation/stack-validation.txt b/Documentation/stack-validation.txt similarity index 100% rename from tools/objtool/Documentation/stack-validation.txt rename to Documentation/stack-validation.txt diff --git a/Documentation/x86/orc-unwinder.txt b/Documentation/x86/orc-unwinder.txt index cd4b29b..3aeff80 100644 --- a/Documentation/x86/orc-unwinder.txt +++ b/Documentation/x86/orc-unwinder.txt @@ -137,7 +137,7 @@ Unwinder implementation details Objtool generates the ORC data by integrating with the compile-time stack metadata validation feature, which is described in detail in -tools/objtool/Documentation/stack-validation.txt. After analyzing all +Documentation/stack-validation.txt. After analyzing all the code paths of a .o file, it creates an array of orc_entry structs, and a parallel array of instruction addresses associated with those structs, and writes them to the .orc_unwind and .orc_unwind_ip sections