xref: /OK3568_Linux_fs/kernel/arch/x86/boot/code16gcc.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #
3*4882a593Smuzhiyun # code16gcc.h
4*4882a593Smuzhiyun #
5*4882a593Smuzhiyun # This file is added to the assembler via -Wa when compiling 16-bit C code.
6*4882a593Smuzhiyun # This is done this way instead via asm() to make sure gcc does not reorder
7*4882a593Smuzhiyun # things around us.
8*4882a593Smuzhiyun #
9*4882a593Smuzhiyun # gcc 4.9+ has a real -m16 option so we can drop this hack long term.
10*4882a593Smuzhiyun #
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun 	.code16gcc
13