public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Assar Westerlund <assar@sics.se>
To: binutils@sourceware.cygnus.com
Subject: sparc: gas recognizing -xarch ?
Date: Thu, 01 Jul 1999 00:00:00 -0000	[thread overview]
Message-ID: <5lpv44h14g.fsf@assaris.sics.se> (raw)

Hi.

There seems to be partial support for recognizing Sun's as -xarch flag
in gas, but limited to v8plus and v8plusa.  I fail to see why this is
a good idea.  The appended patch makes it work for all supported
architectures.

/assar

Index: tc-sparc.c
===================================================================
RCS file: /cvs/binutils/binutils/gas/config/tc-sparc.c,v
retrieving revision 1.1.1.1
diff -u -w -u -w -r1.1.1.1 tc-sparc.c
--- tc-sparc.c	1999/05/03 07:28:43	1.1.1.1
+++ tc-sparc.c	1999/05/14 01:41:15
@@ -421,12 +421,6 @@
 
     case OPTION_XARCH:
       /* This is for compatibility with Sun's assembler.  */
-      if (strcmp (arg, "v8plus") != 0
-	  && strcmp (arg, "v8plusa") != 0)
-	{
-	  as_bad (_("invalid architecture -xarch=%s"), arg);
-	  return 0;
-	}
 
       /* fall through */
 

                 reply	other threads:[~1999-07-01  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5lpv44h14g.fsf@assaris.sics.se \
    --to=assar@sics.se \
    --cc=binutils@sourceware.cygnus.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).