x86, lto: Disable LTO for the x86 VDSO
authorAndi Kleen <ak@linux.intel.com>
Sat, 8 Feb 2014 08:01:05 +0000 (09:01 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 14 Feb 2014 04:21:57 +0000 (20:21 -0800)
commit67424d5a22124fa2d115faa8f32d12506989628f
tree602e76a0a1435121e14f7388d2b4bedf3c7f4c0e
parent634676c203f130c8efa138296c2efba219821346
x86, lto: Disable LTO for the x86 VDSO

The VDSO does not play well with LTO, so just disable LTO for it.
Also pass a 32bit linker flag for the 32bit version.

[ hpa: change braces to parens to match kernel Makefile style ]

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1391846481-31491-1-git-send-email-ak@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/vdso/Makefile