Module Name: src Committed By: bouyer Date: Thu Jul 17 10:49:45 UTC 2014
Modified Files: src/sys/arch/xen/conf: Makefile.xen Log Message: Sync DEFCOPTS and CFLAGS with i386 and amd64 counterparts. Especially -fno-omit-frame-pointer To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/xen/conf/Makefile.xen Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/xen/conf/Makefile.xen diff -u src/sys/arch/xen/conf/Makefile.xen:1.35 src/sys/arch/xen/conf/Makefile.xen:1.36 --- src/sys/arch/xen/conf/Makefile.xen:1.35 Mon Dec 19 14:06:17 2011 +++ src/sys/arch/xen/conf/Makefile.xen Thu Jul 17 10:49:45 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.xen,v 1.35 2011/12/19 14:06:17 joerg Exp $ +# $NetBSD: Makefile.xen,v 1.36 2014/07/17 10:49:45 bouyer Exp $ # NetBSD: Makefile.i386,v 1.132 2003/07/05 16:56:10 simonb Exp # Makefile for NetBSD @@ -38,17 +38,24 @@ ARCH_INC= $S/arch/xen/include/${XEN_BUIL ## ## (2) compile settings ## -DEFCOPTS= -O2 CPPFLAGS+= -D${XEN_BUILD} AFLAGS+= -x assembler-with-cpp ${DBG} -D__XEN__ EXTRA_INCLUDES= -I${.CURDIR}/xen-ma .if ${XEN_BUILD} == "amd64" +DEFCOPTS= -O2 -fno-omit-frame-pointer CPPFLAGS+= -Dx86_64 CFLAGS+= -mcmodel=kernel -CFLAGS+= -mno-red-zone +CFLAGS+= -mno-red-zone -mno-mmx -mno-sse -mno-avx +CFLAGS+= -msoft-float +CFLAGS+= -mno-fp-ret-in-387 .endif +.if ${XEN_BUILD} == "i386" +DEFCOPTS= -O2 -fno-omit-frame-pointer +CFLAGS+= -msoft-float +CFLAGS+= -mno-mmx -mno-sse -mno-avx +.endif ## ## (3) libkern and compat