Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1649873ybt; Thu, 18 Jun 2020 13:52:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWOLCXZU0O8qaGEYAUIobCxJTKATv4P099AmjKjnkcsnf3FeBCD7ue+C86gMzepH2OLNGu X-Received: by 2002:a17:906:e0c:: with SMTP id l12mr480774eji.435.1592513551609; Thu, 18 Jun 2020 13:52:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592513551; cv=none; d=google.com; s=arc-20160816; b=QeVqla918TXI/G70wgtjonTl2CoNRwnpDsIu0mljj3Q0E50wiEO9/Q1RR3XiIwSz3t OuozUwiUHkRDfX681xjnhITrC8/PA9mna4H2OhZ4QqaNXc9891gx54nMozwZznA2P00r qVjz9liYl+z7g7uQOtHzwh5zdskEjKDX+aJhwdpPJrJTxCxvHyLIuoEyig2RbUlqcHrl 0cyYumjeSZ99C7euT+jc5XcqbKhvm7WVD+YiwjEEq6XQpkkS/XUglII0FfIIcKe7PhpJ vdrg6jA2eyQwz9qQ+sScRi0Gnmp3zIkoOQkNBSYGZFiltwxjupVmtr48cBVxJ3dEKrHi yH/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=kSdHXjhckj4P76Lr/yTSLEPNGr/6AD3bC3gjZRxrHnQ=; b=iE9qiAEtkzkhJ84rAL6N6x38xCpkQYNvIwNgOhZHDFhAkLwEfUJeOYeF1TdLnnAyjt uquQDKb1lRV5lYCr1teQSin+AerJAwEDP0FmrS74oRINJA7mnc/4Z+sVEdFKqLiN/Jgc 6oW1kN1+j1GjOH+Gasic0bufh/KwzYR8ElT+hF62rI2+bs32htWw4rIA8Hqi/WPpIRTp aQkUjVlPiTeM4jmshEQHJceqqh61rF8QPijRyB96+RzYkAHt9KRsNb+2Dsx60H5JCAIe kYlDDRENdZxfsORmhKFvC4+GQtDPWRGXXiC4+xqlW5+LJkRq/zfnxfMhe36GL0QZXiaH MO/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n19si2547380edr.152.2020.06.18.13.52.09; Thu, 18 Jun 2020 13:52:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731472AbgFRUl3 (ORCPT + 99 others); Thu, 18 Jun 2020 16:41:29 -0400 Received: from ex13-edg-ou-001.vmware.com ([208.91.0.189]:10322 "EHLO EX13-EDG-OU-001.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731501AbgFRUjn (ORCPT ); Thu, 18 Jun 2020 16:39:43 -0400 Received: from sc9-mailhost2.vmware.com (10.113.161.72) by EX13-EDG-OU-001.vmware.com (10.113.208.155) with Microsoft SMTP Server id 15.0.1156.6; Thu, 18 Jun 2020 13:39:39 -0700 Received: from sc9-mailhost2.vmware.com (unknown [10.129.221.29]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 66886B2656; Thu, 18 Jun 2020 16:39:42 -0400 (EDT) From: Matt Helsley To: CC: Josh Poimboeuf , Peter Zijlstra , Steven Rostedt , Julien Thierry , Kamalesh Babulal , Matt Helsley Subject: [RFC][PATCH v5 51/51] objtool: mcount: Remove stale description Date: Thu, 18 Jun 2020 13:38:37 -0700 Message-ID: X-Mailer: git-send-email 2.25.4 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII Received-SPF: None (EX13-EDG-OU-001.vmware.com: mhelsley@vmware.com does not designate permitted sender hosts) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The comments at the top no longer reflect how we process the ELF contents. More helpful comments are inline with the code so we don't need the top comments either. Signed-off-by: Matt Helsley --- tools/objtool/mcount.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tools/objtool/mcount.c b/tools/objtool/mcount.c index a74625aed09b..fa99bd2e9195 100644 --- a/tools/objtool/mcount.c +++ b/tools/objtool/mcount.c @@ -8,19 +8,6 @@ * Copyright 2010 Steven Rostedt , Red Hat Inc. */ -/* - * Strategy: alter the .o file in-place. - * - * Append a new STRTAB that has the new section names, followed by a new array - * ElfXX_Shdr[] that has the new section headers, followed by the section - * contents for __mcount_loc and its relocations. The old shstrtab strings, - * and the old ElfXX_Shdr[] array, remain as "garbage" (commonly, a couple - * kilobytes.) Subsequent processing by /bin/ld (or the kernel module loader) - * will ignore the garbage regions, because they are not designated by the - * new .e_shoff nor the new ElfXX_Shdr[]. [In order to remove the garbage, - * then use "ld -r" to create a new file that omits the garbage.] - */ - #include #include #include -- 2.20.1