Add -mcpu=rmXXXX switch.
authorNick Clifton <nickc@redhat.com>
Fri, 16 Jun 2000 19:11:27 +0000 (19:11 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 16 Jun 2000 19:11:27 +0000 (19:11 +0000)
gas/ChangeLog
gas/config/tc-mips.c
gas/doc/c-mips.texi

index 8904c37..19cd395 100644 (file)
@@ -1,3 +1,10 @@
+2000-06-16  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
+       RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
+
+       * doc/c-mips.texi: Document newly accepted cpu variants.
+
 2000-06-15  Ulf Carlsson  <ulfc@engr.sgi.com>
 
        * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
index cdfe536..1b5c9c8 100644 (file)
@@ -9041,8 +9041,24 @@ md_parse_option (c, arg)
                if (strcmp (p, "orion") == 0)
                  mips_cpu = 4600;
                break;
-             }
 
+             case 'm':
+             case 'M':
+               switch (atoi (p + 1))
+                 {
+                 case 5200:
+                 case 5230:
+                 case 5231:
+                 case 5261:
+                 case 5721:
+                 case 7000:
+                   mips_cpu = 5000;
+                   break;
+                 default:
+                   break;
+                 }
+             }
+           
            if (sv
                && (mips_cpu != 4300
                    && mips_cpu != 4100
index 26940de..fe802a9 100644 (file)
@@ -132,7 +132,13 @@ understood.  Valid @var{cpu} value are:
 4600,
 4650,
 5000,
+rm5200,
+rm5230,
+rm5231,
+rm5261,
+rm5721,
 6000,
+rm7000,
 8000,
 10000
 @end quotation