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

From: Nick Desaulniers
Date: Thu Sep 14 2023 - 12:34:35 EST


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.

--
Thanks,
~Nick Desaulniers