[PATCH] MIPS gas: Don't infer optimisation from debug option
Thiemo Seufer
ths@networkno.de
Tue Jul 18 13:09:00 GMT 2006
More information about the Binutils mailing list
Tue Jul 18 13:09:00 GMT 2006
- Previous message (by thread): NOLOAD problem with binutils 2.16.92
- Next message (by thread): [PATCH] MIPS gas: Don't infer optimisation from debug option
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello All, this patch stops MIPS gas from infering the optimisation level from debug options. Comments? Thiemo 2006-07-18 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. Index: gas/config/tc-mips.c =================================================================== RCS file: /cvs/src/src/gas/config/tc-mips.c,v retrieving revision 1.348 diff -u -p -r1.348 tc-mips.c --- gas/config/tc-mips.c 7 Jul 2006 23:17:55 -0000 1.348 +++ gas/config/tc-mips.c 17 Jul 2006 09:04:59 -0000 @@ -10993,11 +11010,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:
- Previous message (by thread): NOLOAD problem with binutils 2.16.92
- Next message (by thread): [PATCH] MIPS gas: Don't infer optimisation from debug option
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list