Add -mcpu=rmXXXX switch.

This commit is contained in:
Nick Clifton 2000-06-16 19:11:27 +00:00
parent 79540e2676
commit b946ec34e6
3 changed files with 30 additions and 1 deletions

View 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.

View 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

View 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