This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
sparc: gas recognizing -xarch ?
- To: binutils@sourceware.cygnus.com
- Subject: sparc: gas recognizing -xarch ?
- From: Assar Westerlund <assar@sics.se>
- Date: 14 May 1999 03:49:03 +0200
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 */