This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] strip: Add --keep-section=SECTION and --remove-section=SECTION.
- From: Josh Stone <jistone at redhat dot com>
- To: Mark Wielaard <mark at klomp dot org>, elfutils-devel at sourceware dot org
- Date: Fri, 14 Jul 2017 12:24:20 -0700
- Subject: Re: [PATCH] strip: Add --keep-section=SECTION and --remove-section=SECTION.
- Authentication-results: sourceware.org; auth=none
- 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 at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 96AB0E32BE
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 96AB0E32BE
- References: <1500046110-20483-1-git-send-email-mark@klomp.org>
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!