x32: Warn and disable rather than error if binutils too old
commit0bf6276392e990dd0da0ccd8e10f42597d503f29
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 27 Feb 2012 22:09:10 +0000 (27 14:09 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 27 Feb 2012 22:09:10 +0000 (27 14:09 -0800)
tree11c01cc99a28ab84f8d8790baedd104bb825e970
parente0a449cab53814b73faf824284a6b3809b9b1316
x32: Warn and disable rather than error if binutils too old

If X32 is enabled in .config, but the binutils can't build it, issue a
warning and disable the feature rather than erroring out.

In order to support this, have CONFIG_X86_X32 be the option set in
Kconfig, and CONFIG_X86_X32_ABI be the option set by the Makefile when
it is enabled and binutils has been found to be functional.

Requested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: H. J. Lu <hjl.tools@gmail.com>
Link: http://lkml.kernel.org/r/1329696488-16970-1-git-send-email-hpa@zytor.com
arch/x86/Kconfig
arch/x86/Makefile