Re: [PATCH v2 23/28] arm64: vdso: disable LTO

From: Kees Cook
Date: Thu Sep 03 2020 - 18:45:16 EST


On Thu, Sep 03, 2020 at 01:30:48PM -0700, Sami Tolvanen wrote:
> Disable LTO for the vDSO by filtering out CC_FLAGS_LTO, as there's no
> point in using link-time optimization for the small about of C code.
>
> Signed-off-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>

Yup. (And another replacement of the non-functional DISABLE_LTO...)

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook