svn commit: r194301 - in stable/6/lib/csu: . amd64
Ed Maste
emaste at FreeBSD.org
Tue Jun 16 18:14:49 UTC 2009
Author: emaste
Date: Tue Jun 16 18:14:48 2009
New Revision: 194301
URL: http://svn.freebsd.org/changeset/base/194301
Log:
MFC r181997 by kib:
Add -fno-omit-frame-pointer to CFLAGS used to compile crt1.c on amd64.
For gcc' __builtin_frame_address() to work, all call frames need to save
frame pointer. In particular, this is important for the upper frame that
should terminate the chain.
Modified:
stable/6/lib/csu/ (props changed)
stable/6/lib/csu/amd64/Makefile
Modified: stable/6/lib/csu/amd64/Makefile
==============================================================================
--- stable/6/lib/csu/amd64/Makefile Tue Jun 16 17:48:08 2009 (r194300)
+++ stable/6/lib/csu/amd64/Makefile Tue Jun 16 18:14:48 2009 (r194301)
@@ -7,6 +7,7 @@ OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= gcrt1.o
CFLAGS+= -I${.CURDIR}/../common \
-I${.CURDIR}/../../libc/include
+CFLAGS+= -fno-omit-frame-pointer
all: ${OBJS}
More information about the svn-src-stable-6
mailing list