* config/tc-mips.c (md_parse_option): Don't infer optimisation
authorThiemo Seufer <ths@networkno.de>
Thu, 20 Jul 2006 16:51:38 +0000 (16:51 +0000)
committerThiemo Seufer <ths@networkno.de>
Thu, 20 Jul 2006 16:51:38 +0000 (16:51 +0000)
options from debug options.

gas/ChangeLog
gas/config/tc-mips.c

index dcb7a3342bf1e1f4315ea2a8d0c4f73cb8a4ee65..21ed6ab143b1cb9838b7a7dfadb8cb604f66e72b 100644 (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.
index 788a34b5ba6130f9be3bd02faff5909e5d74095d..196d2513d773deda073388c1a1ee566fe7f99932 100644 (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:
This page took 0.03741 seconds and 4 git commands to generate.