public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@airs.com>
To: "Marek Krzyżowski" <mkrzyz@interia.pl>
Cc: binutils@sourceware.org
Subject: Re: problem with function bfd_slurp_armap from bfd library
Date: Wed, 29 Jun 2005 05:03:00 -0000	[thread overview]
Message-ID: <m3zmt9pxfx.fsf@gossamer.airs.com> (raw)
In-Reply-To: <42C14C4F.2050106@interia.pl>

Marek Krzyżowski <mkrzyz@interia.pl> writes:

> I have a question to developers of binutils, actually sending toward
> these people, who take care about bfd library. Accordance with my
> knowledge, function bfd_slurp_armap executes one of the function
> relevant to type of map (list of symbols) inserted in static library
> (COFF or BSD). Ranlib and ar, as I know, insert string of characters
> begins from '/' at the beginning of the static library. It is
> information for linker that it will be followed by list of
> symbols. Unfortunetely, this is BSD format, but bfd library (function
> bfd_slurp_armap) invokes function do_slurp_coff_armap!!! Why ?!

The archive map is stored as an entry in the archive, as though it
were a file itself.  If the name is "__.SYMDEF", it is treated as a
BSD style archive map.  If the name is simply "/" (which is,
incidentally, a name which can never be the name of a file), it is
treated as a COFF style archive map.  ELF archives are the same as
COFF archives.

So, from your description, you need to find out why your BSD style
archive map was named "/" rather than "__.SYMDEF".

Ian

      reply	other threads:[~2005-06-29  5:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-28 13:06 Marek Krzyżowski
2005-06-29  5:03 ` Ian Lance Taylor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3zmt9pxfx.fsf@gossamer.airs.com \
    --to=ian@airs.com \
    --cc=binutils@sourceware.org \
    --cc=mkrzyz@interia.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).