From: Thiemo Seufer Date: Thu, 20 Jul 2006 16:51:38 +0000 (+0000) Subject: * config/tc-mips.c (md_parse_option): Don't infer optimisation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5f010e93bf3770eb8c443eb0b502c299860a1d8;p=binutils-gdb.git * config/tc-mips.c (md_parse_option): Don't infer optimisation options from debug options. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index dcb7a3342bf..21ed6ab143b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2006-07-20 Thiemo Seufer + Nigel Stephens + + * config/tc-mips.c (md_parse_option): Don't infer optimisation + options from debug options. + 2006-07-20 Thiemo Seufer * config/tc-mips.c (mips_fix_adjustable): Handle BFD_RELOC_MIPS16_JMP. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 788a34b5ba6..196d2513d77 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -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: