mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
* 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:
@ -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>
|
2007-11-17 Thiemo Seufer <ths@mips.com>
|
||||||
|
|
||||||
* doc/as.texinfo: Document the new attribute value.
|
* doc/as.texinfo: Document the new attribute value.
|
||||||
|
@ -11013,7 +11013,11 @@ md_parse_option (int c, char *arg)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'O':
|
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;
|
mips_optimize = 1;
|
||||||
else
|
else
|
||||||
mips_optimize = 2;
|
mips_optimize = 2;
|
||||||
|
Reference in New Issue
Block a user