svn commit: r254041 - stable/9/sys/conf
Andriy Gapon
avg at FreeBSD.org
Wed Aug 7 07:36:29 UTC 2013
Author: avg
Date: Wed Aug 7 07:36:28 2013
New Revision: 254041
URL: http://svnweb.freebsd.org/changeset/base/254041
Log:
MFC r253072: amd64: use -mno-omit-leaf-frame-pointer in addition to
-fno-omit-frame-pointer
Modified:
stable/9/sys/conf/Makefile.amd64
stable/9/sys/conf/kmod.mk
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/conf/ (props changed)
Modified: stable/9/sys/conf/Makefile.amd64
==============================================================================
--- stable/9/sys/conf/Makefile.amd64 Wed Aug 7 07:34:59 2013 (r254040)
+++ stable/9/sys/conf/Makefile.amd64 Wed Aug 7 07:36:28 2013 (r254041)
@@ -35,7 +35,7 @@ DDB_ENABLED!= grep DDB opt_ddb.h || true
DTR_ENABLED!= grep KDTRACE_FRAME opt_kdtrace.h || true
HWPMC_ENABLED!= grep HWPMC opt_hwpmc_hooks.h || true
.if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED)
-CFLAGS+= -fno-omit-frame-pointer
+CFLAGS+= -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
.endif
MKMODULESENV+= MACHINE=amd64
Modified: stable/9/sys/conf/kmod.mk
==============================================================================
--- stable/9/sys/conf/kmod.mk Wed Aug 7 07:34:59 2013 (r254040)
+++ stable/9/sys/conf/kmod.mk Wed Aug 7 07:36:28 2013 (r254041)
@@ -122,7 +122,7 @@ LDFLAGS+= -d -warn-common
CFLAGS+= ${DEBUG_FLAGS}
.if ${MACHINE_CPUARCH} == amd64
-CFLAGS+= -fno-omit-frame-pointer
+CFLAGS+= -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
.endif
.if ${MACHINE_CPUARCH} == powerpc
More information about the svn-src-stable-9
mailing list