[GIT] kbuild/lto changes for 3.15-rc1

From: Michal Marek
Date: Mon Apr 07 2014 - 16:19:37 EST

Hi Linus,

besides the kbuild branch, here is the LTO build support by Andi. It is
a separate branch, because it depends on other patches by Andi which
were merged through other trees. The link-time-optimization build is an
experimental feature, so there one kconfig option to enable it and
another kconfig option to disable it (behind a door with a sign "Beware
of the Leopard"...), so that it is not enabled by


The following changes since commit 176ab02d4916f09d5d8cb63372d142df4378cdea:

Merge branch 'x86-asmlinkage-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2014-03-31 14:13:25 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git lto

for you to fetch changes up to 19a3cc83353e3bb4bc28769f8606139a3d350d2d:

Kbuild, lto: Add Link Time Optimization support v3 (2014-04-07 21:51:13 +0200)

Andi Kleen (2):
Kbuild, lto: Set TMPDIR for LTO v4
Kbuild, lto: Add Link Time Optimization support v3

Documentation/lto-build | 173 +++++++++++++++++++++++++++++++++++++++++++++++
Makefile | 20 +++++-
arch/x86/Kconfig | 2 +-
init/Kconfig | 73 ++++++++++++++++++++
kernel/gcov/Kconfig | 2 +-
lib/Kconfig.debug | 2 +-
scripts/Makefile.lto | 84 +++++++++++++++++++++++
scripts/Makefile.modpost | 7 +-
scripts/link-vmlinux.sh | 2 +-
9 files changed, 357 insertions(+), 8 deletions(-)
create mode 100644 Documentation/lto-build
create mode 100644 scripts/Makefile.lto
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/