[PATCH] MIPS gas: Don't infer optimisation from debug option
Eric Christopher
echristo@apple.com
Tue Jul 18 15:48:00 GMT 2006
Thiemo Seufer wrote:
> Eric Christopher wrote:
>> Thiemo Seufer wrote:
>>> Hello All,
>>>
>>> this patch stops MIPS gas from infering the optimisation level from
>>> debug options.
>>>
>>> Comments?
>> I don't particularly care, but why the change?
>
> Because it is surprising to ask for -O2 -g and get effectively -O0 -g
> from the assembler. I figure this behaviour used to be more sensible
> with old debugging formats.
>
*nod* That's what I thought when I first ran across the code :)
OK by me.
-eric
More information about the Binutils
mailing list