]> git.baikalelectronics.ru Git - kernel.git/commit
x86, build: Build 16-bit code with -m16 where possible
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 29 Jan 2014 12:16:47 +0000 (12:16 +0000)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 30 Jan 2014 16:05:36 +0000 (08:05 -0800)
commit3088de0027caecf0318f913d3a863f410fa60b1a
tree95dacded75ffe16891ddb7a26aacd7b2ea280621
parent59ba68c2891fff46829e8463317f3192a1dd8470
x86, build: Build 16-bit code with -m16 where possible

Both clang 3.5 and GCC 4.9 will support this (as of r199754 and r207196
respectively). Both have been tested to produce booting kernels when the
16-bit code is built with -m16. (Modulo LLVM PR3997, at least.)

[ hpa: folded test for -m16 into M16_CFLAGS ]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Link: http://lkml.kernel.org/r/1390997807.20153.133.camel@i7.infradead.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/Makefile