public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Richard Earnshaw <rearnsha@arm.com>
To: Nick Clifton <nickc@redhat.com>
Cc: Paul Brook <paul@codesourcery.com>, binutils@sourceware.org
Subject: Re: [patch] Arm BE8 mode and mapping sybols
Date: Mon, 08 May 2006 18:20:00 -0000	[thread overview]
Message-ID: <1147090486.16332.18.camel@pc960.cambridge.arm.com> (raw)
In-Reply-To: <445E0813.9030005@redhat.com>

On Sun, 2006-05-07 at 15:45, Nick Clifton wrote:
> Hi Paul,
> 
> > +  /* We only want 'a', 't' and 'd' mapping symbols.  */
> > +  if (! bfd_is_arm_mapping_symbol_name (name)
> > +      || (name[1] != 'a' && name[1] != 't' && name[1] != 'd'))
> >      return TRUE;
> 
> Actually I think that it would be cleaner if 
> bfd_is_arm_mapping_symbol_name() took a second argument which 
> distinguishes between a request for any mapping symbol versus a request 
> for only-valid-for-modern-ABIs mapping symbol.  That way the knowledge 
> about which symbols are valid can be kept in one place, with the code 
> that actually detects them.
> 
> Cheers
>    Nick

There have only ever been three mapping symbols: $a, $t and $d.  The
remainder have always been 'tagging' symbols.  Maybe the routine should
be renamed to bfd_is_arm_special_symbol name and then given an argument
TYPE_MAP, TYPE_TAG or TYPE_ANY.

R.

  reply	other threads:[~2006-05-08 12:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-06  9:43 Paul Brook
2006-05-07 21:32 ` Nick Clifton
2006-05-08 18:20   ` Richard Earnshaw [this message]
2006-05-08 20:42     ` Nick Clifton
2006-05-09 19:06     ` Paul Brook
2006-05-15 16:59       ` 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=1147090486.16332.18.camel@pc960.cambridge.arm.com \
    --to=rearnsha@arm.com \
    --cc=binutils@sourceware.org \
    --cc=nickc@redhat.com \
    --cc=paul@codesourcery.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).