blob: d93e48010b619e52006b13c068f7ffc82c5a96de [file] [log] [blame] [edit]
/*
* 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