From: Nick Clifton Date: Fri, 16 Jun 2000 19:11:27 +0000 (+0000) Subject: Add -mcpu=rmXXXX switch. X-Git-Tag: readline-pre-41-import~177 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b946ec34e64e9c8bb72e3e089061e6c9d8d4ecb2;p=platform%2Fupstream%2Fbinutils.git Add -mcpu=rmXXXX switch. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 8904c37..19cd395 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2000-06-16 Nick Clifton + + * 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 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index cdfe536..1b5c9c8 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -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 diff --git a/gas/doc/c-mips.texi b/gas/doc/c-mips.texi index 26940de..fe802a9 100644 --- a/gas/doc/c-mips.texi +++ b/gas/doc/c-mips.texi @@ -132,7 +132,13 @@ understood. Valid @var{cpu} value are: 4600, 4650, 5000, +rm5200, +rm5230, +rm5231, +rm5261, +rm5721, 6000, +rm7000, 8000, 10000 @end quotation