This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ar thin archive format
- From: Tamar Christina <tamar at zhox dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: "Binutils" <binutils at sourceware dot org>
- Date: Sat, 04 Jun 2016 23:30:11 +0200
- Subject: Re: ar thin archive format
- Authentication-results: sourceware.org; auth=none
- References: <1551aa2ef08 dot e296fd9474543 dot 8315016555560162196 at zhox dot com> <CAKOQZ8zef3m3FVeSTcVpNoMkbB9R4rhse8pFFe-2aL07WohoeA at mail dot gmail dot com>
Hi Ian,
Many thanks!
That answers what I was looking for :)
Cheers,
Tamar
---- On Sat, 04 Jun 2016 16:42:23 +0200 Ian Lance Taylor<iant@google.com> wrote ----
> On Sat, Jun 4, 2016 at 1:58 AM, Tamar Christina <tamar@zhox.com> wrote:
> >
> > I'm trying to find information on the format of thin archives but can't seem to find anything and
> > Objdump doesn't recognize the format.
> >
> > Does someone know If this exists or where I should look in the code for the=
> > implementation?
>
> A thin archive looks exactly look a normal archive, except that the
> magic string is different (it's !<thin>\n) and the file contents are
> omitted. The idea is that you look at the archive header to find the
> file name (probably an extended name, of course) and then read the
> file in the file system.
>
> Cary introduced them in
> https://sourceware.org/ml/binutils/2008-03/msg00150.html .
>
> Ian
>
>