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 8904c37b6ba5c89d2cf415ef745bdbdec5f7920c..19cd39520026d401dfc5cda91512903cb43a36a4 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 cdfe5365cddaa05941489a0b4ed9b90340a1f788..1b5c9c8b4d28a365891f317d49b74488c3dd4237 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 26940deabc5ff557cea2c22bc0af52ba2055c805..fe802a959084286815911cfe8f07e862135d3711 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
This page took 0.035835 seconds and 4 git commands to generate.