aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2007-05-14 12:28:46 +0000
committerThiemo Seufer <ths@networkno.de>2007-05-14 12:28:46 +0000
commit24471d420951f088fe188f7e7db8941d26f39c51 (patch)
treee84baa914f2a8fe25c433b52617f83d2cedb85b4 /gas/config
parent224e2b28d4c528d1db1827eee72bc6958dffa37e (diff)
downloadgdb-24471d420951f088fe188f7e7db8941d26f39c51.zip
gdb-24471d420951f088fe188f7e7db8941d26f39c51.tar.gz
gdb-24471d420951f088fe188f7e7db8941d26f39c51.tar.bz2
* config/tc-mips.c (md_parse_option): Fix parsing of -O option.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 0934944..5e8a6de 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -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;