svn commit: r254042 - stable/8/sys/conf

Andriy Gapon avg at FreeBSD.org
Wed Aug 7 07:36:38 UTC 2013


Author: avg
Date: Wed Aug  7 07:36:37 2013
New Revision: 254042
URL: http://svnweb.freebsd.org/changeset/base/254042

Log:
  MFC r253072: amd64: use -mno-omit-leaf-frame-pointer in addition to
  -fno-omit-frame-pointer

Modified:
  stable/8/sys/conf/Makefile.amd64
  stable/8/sys/conf/kmod.mk
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/conf/   (props changed)

Modified: stable/8/sys/conf/Makefile.amd64
==============================================================================
--- stable/8/sys/conf/Makefile.amd64	Wed Aug  7 07:36:28 2013	(r254041)
+++ stable/8/sys/conf/Makefile.amd64	Wed Aug  7 07:36:37 2013	(r254042)
@@ -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/8/sys/conf/kmod.mk
==============================================================================
--- stable/8/sys/conf/kmod.mk	Wed Aug  7 07:36:28 2013	(r254041)
+++ stable/8/sys/conf/kmod.mk	Wed Aug  7 07:36:37 2013	(r254042)
@@ -121,7 +121,7 @@ LDFLAGS+=	-d -warn-common
 
 CFLAGS+=	${DEBUG_FLAGS}
 .if ${MACHINE_ARCH} == amd64
-CFLAGS+=	-fno-omit-frame-pointer
+CFLAGS+=	-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
 .endif
 
 .if ${MACHINE_ARCH} == "powerpc"


More information about the svn-src-all mailing list