aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-07-20 16:51:38 +0000
committerThiemo Seufer <ths@networkno.de>2006-07-20 16:51:38 +0000
commitd5f010e93bf3770eb8c443eb0b502c299860a1d8 (patch)
treed47b97db0f848f95c06a2494fcab8a4ab8f261ac /gas/config/tc-mips.c
parent35d3d567ccaa9db98392c3787e4d5409c13701e8 (diff)
downloadgdb-d5f010e93bf3770eb8c443eb0b502c299860a1d8.zip
gdb-d5f010e93bf3770eb8c443eb0b502c299860a1d8.tar.gz
gdb-d5f010e93bf3770eb8c443eb0b502c299860a1d8.tar.bz2
* config/tc-mips.c (md_parse_option): Don't infer optimisation
options from debug options.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r--gas/config/tc-mips.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 788a34b..196d251 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: