Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / sys / platform / vkernel64 / conf / kern.mk
1 # $DragonFly: src/sys/platform/vkernel/conf/kern.mk,v 1.3 2007/01/06 08:57:30 dillon Exp $
2 #
3 #
4 # Prohibit the use of FP registers in the kernel.  The user FP state is
5 # only saved and restored under strictly managed conditions and mainline
6 # kernel code cannot safely use the FP system.
7 #
8 CFLAGS+=        -mpreferred-stack-boundary=4
9 CFLAGS+=        -fno-stack-protector
10 CFLAGS+=        -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
11 CFLAGS+=        -D_KERNEL_VIRTUAL
12 CFLAGS+=        -fno-omit-frame-pointer
13
14 # Remove the dynamic library hack for now
15 #
16 SYSTEM_OBJS:= ${SYSTEM_OBJS:Nhack.So}
17
18 INLINE_LIMIT=   8000