Skip to content
Commit de3accda authored by David Woodhouse's avatar David Woodhouse Committed by H. Peter Anvin
Browse files

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: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
Link: http://lkml.kernel.org/r/1390997807.20153.133.camel@i7.infradead.org


Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent 5fbbc25a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment