* config/tc-mips.c (md_parse_option): Fix parsing of -O option.

This commit is contained in:
Thiemo Seufer 2007-05-14 12:28:46 +00:00
parent 224e2b28d4
commit 24471d4209
2 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,11 @@
2007-05-14 Thiemo Seufer <ths@mips.com>
* config/tc-mips.c (md_parse_option): Fix parsing of -O option.
2007-05-14 Mei Ligang <ligang@sunnorth.com.cn>
* config/tc-score.c (data_op2, validate_immediate): Fix bug for addri, addri.c, subi, and
subi.c when immediate number is hex.
* config/tc-score.c (data_op2, validate_immediate): Fix bug for
addri, addri.c, subi, and subi.c when immediate number is hex.
(score_insns): Remove subis and subis.c.
(do_sub_rdi16): Delete.

View File

@ -11036,7 +11036,7 @@ md_parse_option (int c, char *arg)
break;
case 'O':
if (arg && arg[1] == '0')
if (arg && arg[0] == '0')
mips_optimize = 1;
else
mips_optimize = 2;