svn commit: r194301 - in stable/6/lib/csu: . amd64

Ed Maste emaste at
Tue Jun 16 18:14:49 UTC 2009

Author: emaste
Date: Tue Jun 16 18:14:48 2009
New Revision: 194301

  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.

  stable/6/lib/csu/   (props changed)

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 \
+CFLAGS+=	-fno-omit-frame-pointer
 all: ${OBJS}

More information about the svn-src-stable-6 mailing list