Link time optimization for LTO/x86

From: Andi Kleen
Date: Mon Nov 27 2017 - 16:38:45 EST


This is an updated version of my older LTO patchkit for gcc/x86
This version doesn't need special binutils, but requires gcc 5+.
It also is compatible with near all options (except MODVERSIONS)

This allows the compiler to optimize over source files and throw
away unnecessary functions.

It also found various problems in source files, these are
fixed in the first few patches.

There are still some minor issues, see the individual files.
Also it still does double/triple link for KALLSYMS, which increases
the build time

Available at

git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc lto-415-2

-Andi