Re: [PATCH v2] x86/purgatory: Remove LTO flags

From: Song Liu
Date: Thu Sep 14 2023 - 13:02:57 EST


On Thu, Sep 14, 2023 at 9:34 AM Nick Desaulniers
<ndesaulniers@xxxxxxxxxx> wrote:
>
> On Thu, Sep 14, 2023 at 9:31 AM Song Liu <song@xxxxxxxxxx> wrote:
> >
> > What would be the next step for this work? We hope to back port it
> > to our production kernel soon.
>
> Please send a v3 with the fixes tag updated. I wouldn't mind if you
> added a comment to the commit message to the effect of:
>
> We could also add the use of an explicit linker script to rejoin
> .text.* sections back into .text. Simply disable the production of
> more .text.* sections for now; -flto* implies -ffunction-sections.

Got it. I just sent v3 with these changes.

Thanks,
Song