From owner-svn-src-stable@FreeBSD.ORG Tue Jun 16 18:14:49 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2084C106566C; Tue, 16 Jun 2009 18:14:49 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0E01F8FC16; Tue, 16 Jun 2009 18:14:49 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5GIEmIV035973; Tue, 16 Jun 2009 18:14:48 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5GIEmLu035972; Tue, 16 Jun 2009 18:14:48 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <200906161814.n5GIEmLu035972@svn.freebsd.org> From: Ed Maste Date: Tue, 16 Jun 2009 18:14:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org X-SVN-Group: stable-6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194301 - in stable/6/lib/csu: . amd64 X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 18:14:49 -0000 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}