public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Richard Sandiford <rsandifo@redhat.com>
To: Nick Clifton <nickc@redhat.com>
Cc: binutils@sources.redhat.com
Subject: Re: Target-specific FDE pointer sizes (2/3)
Date: Mon, 31 Jan 2005 11:37:00 -0000	[thread overview]
Message-ID: <wvn8y69q17c.fsf@talisman.cambridge.redhat.com> (raw)
In-Reply-To: <41FE15A5.8080308@redhat.com> (Nick Clifton's message of "Mon, 31 Jan 2005 11:25:25 +0000")

Nick Clifton <nickc@redhat.com> writes:
> Hi Richard,
>> As with the bfd patch, we need to distinguish between the official
>> LP64 ABI and the not-so-official ILP32 variant.  In the case of bfd,
>> it was important that we get the size right, and we had to punt if
>> we weren't sure.  In the case of readelf, I think we just want a
>> "best guess", since we have to output _something_.
>
> I think that if readelf has to guess it should inform the user that it
> is doing so.  That way the user has a chance to realise that readelf
> might have guessed incorrectly and that is why its output does not match
> their expectations.

Any chance of persuading you otherwise? ;)  Three reasons:

  - It doesn't seem very useful to print a warning if the user has no
    way of overriding the guess.  If we do warn about this, I suppose
    we'd also have to add a MIPS-EABI64-specific command-line option
    to readelf, and like I said in my original posting, I'd really
    rather not do that.  There's certainly no precedent with the
    existing options.

  - I don't want to warn about unmarked LP64 objects since there's
    nothing suspect about them.  They do exactly what the official
    ABI said they should do.

  - People only ended up with unmarked ILP32 objects through using an
    undocumented combination of gcc command-line options.  I think 
    it's reasonable for tools like readelf (and gdb, etc.) to treat
    EABI objects as being ABI-conforming without any evidence to
    the contrary.

Richard

  reply	other threads:[~2005-01-31 11:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-29  9:02 Target-specific FDE pointer sizes (1/3) Richard Sandiford
2005-01-29  9:31 ` Target-specific FDE pointer sizes (2/3) Richard Sandiford
2005-01-29  9:58   ` Target-specific FDE pointer sizes (3/3) Richard Sandiford
2005-01-31 11:17   ` Target-specific FDE pointer sizes (2/3) Nick Clifton
2005-01-31 11:37     ` Richard Sandiford [this message]
2005-01-31 11:47       ` Nick Clifton
2005-01-31 12:15         ` Richard Sandiford
2005-01-31 16:20           ` Nick Clifton
2005-01-31 20:42             ` Richard Sandiford
2005-01-31 11:12 ` Target-specific FDE pointer sizes (1/3) Nick Clifton

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=wvn8y69q17c.fsf@talisman.cambridge.redhat.com \
    --to=rsandifo@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=nickc@redhat.com \
    /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).