From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (wildebeest.demon.nl [212.238.236.112]) by sourceware.org (Postfix) with ESMTPS id 474E33858D33 for ; Thu, 28 Jan 2021 12:18:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 474E33858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mark@klomp.org Received: from librem (ip-213-127-53-184.ip.prioritytelecom.net [213.127.53.184]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 10A5B30010D9; Thu, 28 Jan 2021 13:18:31 +0100 (CET) Received: by librem (Postfix, from userid 1000) id 45CADC3C52; Thu, 28 Jan 2021 13:17:24 +0100 (CET) Date: Thu, 28 Jan 2021 13:17:24 +0100 From: Mark Wielaard To: tbaeder@redhat.com Cc: elfutils-devel@sourceware.org Subject: Re: [PATCH 1/4] strip: Replace nested check_preserved function with loop Message-ID: <20210128121724.GG8492@wildebeest.org> References: <20210108080449.2201310-1-tbaeder@redhat.com> <20210108080449.2201310-2-tbaeder@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210108080449.2201310-2-tbaeder@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2021 12:18:34 -0000 Hi Timm, OK, this simply expands the inlined check_preserved function and keeps track of the section indexes with the new shdr_indices array that is populated with the sh_link and possibly the sh_info indices. Added a ChangeLog entry and pushed. Thanks, Mark