This is the mail archive of the
mailing list for the binutils project.
Re: Compressed exec and core files
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Michael Eager <eager at eagerm dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Fri, 23 Jan 2015 12:19:26 -0800
- Subject: Re: Compressed exec and core files
- Authentication-results: sourceware.org; auth=none
- References: <54C2A8BE dot 2020807 at eagerm dot com>
On Fri, Jan 23, 2015 at 12:02 PM, Michael Eager <firstname.lastname@example.org> wrote:
> I'm working on a patch to BFD to support opening compressed
> exec and core files transparently. When bfd_fopen is called
> to open a compressed file, the file would be decompressed into
> a temporary file, and the bfd for the temp returned. Compression
> with gzip and bzip2 would be supported (others can be added later).
> This seems pretty straight-forward. Any thoughts or comments?
Are you going to fork/exec gzip/bzip2 for this or call zlib/bzip2-libs?