* config/tc-mips.c (md_parse_option): Don't infer optimisation

options from debug options.
This commit is contained in:
Thiemo Seufer 2006-07-20 16:51:38 +00:00
parent 35d3d567cc
commit d5f010e93b
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2006-07-20 Thiemo Seufer <ths@mips.com>
Nigel Stephens <nigel@mips.com>
* config/tc-mips.c (md_parse_option): Don't infer optimisation
options from debug options.
2006-07-20 Thiemo Seufer <ths@mips.com>
* config/tc-mips.c (mips_fix_adjustable): Handle BFD_RELOC_MIPS16_JMP.

View File

@ -10992,11 +10992,6 @@ md_parse_option (int c, char *arg)
mips_debug = 2;
else
mips_debug = atoi (arg);
/* When the MIPS assembler sees -g or -g2, it does not do
optimizations which limit full symbolic debugging. We take
that to be equivalent to -O0. */
if (mips_debug == 2)
mips_optimize = 1;
break;
case OPTION_MIPS1: