sparc: gas recognizing -xarch ?
Assar Westerlund
assar@sics.se
Thu Jul 1 00:00:00 GMT 1999
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 */
More information about the Binutils
mailing list