From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21951 invoked by alias); 14 Jul 2017 19:24:47 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 21574 invoked by uid 89); 14 Jul 2017 19:24:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Jul 2017 19:24:24 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 96AB0E32BE; Fri, 14 Jul 2017 19:24:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 96AB0E32BE Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jistone@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 96AB0E32BE Received: from moya.lan (ovpn-117-24.phx2.redhat.com [10.3.117.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4549565E83; Fri, 14 Jul 2017 19:24:21 +0000 (UTC) Subject: Re: [PATCH] strip: Add --keep-section=SECTION and --remove-section=SECTION. To: Mark Wielaard , elfutils-devel@sourceware.org References: <1500046110-20483-1-git-send-email-mark@klomp.org> From: Josh Stone Message-ID: <2d4f0400-9313-2d17-11d9-d79c8ee9216b@redhat.com> Date: Fri, 14 Jul 2017 19:24:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1500046110-20483-1-git-send-email-mark@klomp.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 14 Jul 2017 19:24:21 +0000 (UTC) X-IsSubscribed: yes X-SW-Source: 2017-q3/txt/msg00008.txt.bz2 On 07/14/2017 08:28 AM, Mark Wielaard wrote: > Adds two new output options: > > --keep-section=SECTION Keep the named section. SECTION is an extended > wildcard pattern. May be given more than once. I tried this with rust libraries (eu-strip --keep-section=.rustc), and it seems to work as desired. Thanks!