[PATCH v2 26/28] x86, vdso: disable LTO only for vDSO
Kees Cook
keescook at chromium.org
Thu Sep 3 18:46:09 EDT 2020
On Thu, Sep 03, 2020 at 01:30:51PM -0700, Sami Tolvanen wrote:
> Remove the undefined DISABLE_LTO flag from the vDSO, and filter out
> CC_FLAGS_LTO flags instead where needed. Note that while we could use
> Clang's LTO for the 64-bit vDSO, it won't add noticeable benefit for
> the small amount of C code.
>
> Signed-off-by: Sami Tolvanen <samitolvanen at google.com>
Moar DISABLE_LTO...
Reviewed-by: Kees Cook <keescook at chromium.org>
--
Kees Cook
More information about the linux-arm-kernel
mailing list