]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
x86, vdso: disable LTO only for vDSO
authorSami Tolvanen <samitolvanen@google.com>
Tue, 16 Apr 2019 21:40:00 +0000 (14:40 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 23 Feb 2021 20:46:58 +0000 (12:46 -0800)
commite242db40be271793b248bf0ad1b7d7bd6359dc76
treed2ea04efc26ecafa47418f81507c7e6424deb0cf
parentb1a1a1a09b4606d41723a426110382d2077c26fb
x86, vdso: disable LTO only for vDSO

Disable LTO for the vDSO. 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>
Reviewed-by: Kees Cook <keescook@chromium.org>
arch/x86/entry/vdso/Makefile