Re: [PATCH v2 26/28] x86, vdso: disable LTO only for vDSO
From: Kees Cook <hidden>
Date: 2020-09-03 22:46:22
Also in:
linux-arch, linux-kbuild, linux-pci, lkml
From: Kees Cook <hidden>
Date: 2020-09-03 22:46:22
Also in:
linux-arch, linux-kbuild, linux-pci, lkml
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@google.com>
Moar DISABLE_LTO... Reviewed-by: Kees Cook <redacted> -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel