* config/tc-mips.c (md_parse_option): Match mips_optimize to the -O
option supplied, but still keep mips_optimize == 2 as default value.
This commit is contained in:
parent
42554f6a08
commit
4ffff32f75
|
@ -1,3 +1,8 @@
|
|||
2007-11-17 Thiemo Seufer <ths@mips.com>
|
||||
|
||||
* config/tc-mips.c (md_parse_option): Match mips_optimize to the -O
|
||||
option supplied, but still keep mips_optimize == 2 as default value.
|
||||
|
||||
2007-11-17 Thiemo Seufer <ths@mips.com>
|
||||
|
||||
* doc/as.texinfo: Document the new attribute value.
|
||||
|
|
|
@ -11013,7 +11013,11 @@ md_parse_option (int c, char *arg)
|
|||
break;
|
||||
|
||||
case 'O':
|
||||
if (arg && arg[0] == '0')
|
||||
if (arg == NULL)
|
||||
mips_optimize = 1;
|
||||
else if (arg[0] == '0')
|
||||
mips_optimize = 0;
|
||||
else if (arg[0] == '1')
|
||||
mips_optimize = 1;
|
||||
else
|
||||
mips_optimize = 2;
|
||||
|
|
Loading…
Reference in New Issue