From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/x86/boot/code16gcc.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ANDROID_3.4.5/arch/x86/boot/code16gcc.h (limited to 'ANDROID_3.4.5/arch/x86/boot/code16gcc.h') diff --git a/ANDROID_3.4.5/arch/x86/boot/code16gcc.h b/ANDROID_3.4.5/arch/x86/boot/code16gcc.h new file mode 100644 index 00000000..d93e4801 --- /dev/null +++ b/ANDROID_3.4.5/arch/x86/boot/code16gcc.h @@ -0,0 +1,15 @@ +/* + * code16gcc.h + * + * This file is -include'd when compiling 16-bit C code. + * Note: this asm() needs to be emitted before gcc emits any code. + * Depending on gcc version, this requires -fno-unit-at-a-time or + * -fno-toplevel-reorder. + * + * Hopefully gcc will eventually have a real -m16 option so we can + * drop this hack long term. + */ + +#ifndef __ASSEMBLY__ +asm(".code16gcc"); +#endif -- cgit