Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2009 18:14:48 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org
Subject:   svn commit: r194301 - in stable/6/lib/csu: . amd64
Message-ID:  <200906161814.n5GIEmLu035972@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906161814.n5GIEmLu035972>