[PATCH] kexec/ppc: Use -O0 instead of -Os for purgatory

Maxim Uvarov muvarov at gmail.com
Wed Oct 6 02:56:24 EDT 2010


2010/10/6 Matthew McClintock <msm at freescale.com>:
>
> On Oct 5, 2010, at 4:26 PM, Maxim Uvarov wrote:
>
>> I'm ok with that changes. I'm not sure why kernel did not turn this
>> optimization off and goes
>> with compiling crt.s with sources. There could be a reasons for that.
>> More likely to not put anything from
>> libgcc to kernel. We should do the same for purgatory code. So maybe
>> it's reasonable
>> to apply my patch and go the same way as kernel goes (but it will
>> break old compilers, that should not
>> be huge problem.)
>>
>
> Wait, do your recent patches have a similar effect?
>
> -M
>
>
Yes please try this patch with -Os:
http://lists.infradead.org/pipermail/kexec/2010-September/004595.html

It fixes it. (I tested on 8572ds).

>
> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
>



-- 
Best regards,
Maxim Uvarov



More information about the kexec mailing list