This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] strip: Just admit we don't support stripping ar archives for now.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 10 Jun 2015 14:21:19 +0200
- Subject: Re: [PATCH] strip: Just admit we don't support stripping ar archives for now.
On Tue, 2015-06-09 at 16:38 +0200, Mark Wielaard wrote:
> We try to handle (in-place) stripping of ar archives, but since elf_clone
> doesn't really support cloning ar members and we don't handle reducing
> the size of the members, moving the offsets of other members. This causes
> crashes or writing garbage. Better to just admit that for now we don't
> support stripping archives. Call error when we see an ELF_K_AR file.
Pushed to master.