Messages in this thread | | | Date | Fri, 03 Jan 2014 14:34:00 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] x86/boot: use .code16 instead of .code16gcc |
| |
On 01/03/2014 02:30 PM, David Woodhouse wrote: > Since I just made .code16 work in LLVM, this removes one more barrier to > building the kernel with LLVM/clang. And it looks like 'clang -m16' for > the C code in arch/x86/boot shouldn't actually be that hard to do now > either.
Nice. I would really like a gcc option "-m16" even if all it did was emit .code16gcc first in any assembly file (a bunch of the options we need for the 16-bit code is just so gcc doesn't emit code *before* the .code16gcc directive.)
-hpa
| |