From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5709 invoked by alias); 20 Nov 2010 20:48:00 -0000 Received: (qmail 5694 invoked by uid 22791); 20 Nov 2010 20:47:59 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE,TW_LG X-Spam-Check-By: sourceware.org Received: from mtaout02-winn.ispmail.ntl.com (HELO mtaout02-winn.ispmail.ntl.com) (81.103.221.48) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 20 Nov 2010 20:47:53 +0000 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20101120204750.TPPZ19887.mtaout02-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Sat, 20 Nov 2010 20:47:50 +0000 Received: from cog.dallaway.org.uk ([213.106.80.48]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20101120204750.WQU28282.aamtaout03-winn.ispmail.ntl.com@cog.dallaway.org.uk> for ; Sat, 20 Nov 2010 20:47:50 +0000 Received: from cog.dallaway.org.uk (cog.dallaway.org.uk [127.0.0.1]) by cog.dallaway.org.uk (8.13.8/8.13.8) with ESMTP id oAKKlmWn001873 for ; Sat, 20 Nov 2010 20:47:48 GMT Message-ID: <4CE833F4.2040601@dallaway.org.uk> Date: Sat, 20 Nov 2010 20:48:00 -0000 From: John Dallaway User-Agent: Thunderbird 2.0.0.24 (X11/20101029) MIME-Version: 1.0 To: eCos Patches List Subject: Suppress -fprofile-arcs in extras.o rule Content-Type: multipart/mixed; boundary="------------020809010302080701000805" Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2010-11/txt/msg00019.txt.bz2 This is a multi-part message in MIME format. --------------020809010302080701000805 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-length: 240 This patch eliminates the possibility of passing -fprofile-arcs from the global CFLAGS to the linker when generating extras.o. -fprofile-arcs would imply -lgcov and interfere with subsequent application linking. Checked-in. John Dallaway --------------020809010302080701000805 Content-Type: text/x-patch; name="extras-101120.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="extras-101120.patch" Content-length: 2201 Index: ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/common/current/ChangeLog,v retrieving revision 1.120 diff -U5 -r1.120 ChangeLog --- ChangeLog 9 Oct 2010 12:53:34 -0000 1.120 +++ ChangeLog 20 Nov 2010 20:06:40 -0000 @@ -1,5 +1,10 @@ +2010-11-20 John Dallaway + + * cdl/hal.cdl: Suppress -fprofile-arcs (which implies -lgcov) when + generating extras.o. + 2010-10-09 John Dallaway * doc/porting.sgml: Delete references to the memory layout editor. 2009-02-02 Bart Veer Index: cdl/hal.cdl =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/common/current/cdl/hal.cdl,v retrieving revision 1.25 diff -U5 -r1.25 hal.cdl --- cdl/hal.cdl 2 Feb 2009 13:46:07 -0000 1.25 +++ cdl/hal.cdl 20 Nov 2010 20:06:40 -0000 @@ -6,11 +6,11 @@ # # ==================================================================== ## ####ECOSGPLCOPYRIGHTBEGIN#### ## ------------------------------------------- ## This file is part of eCos, the Embedded Configurable Operating System. -## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2010 Free Software Foundation, Inc. ## ## eCos is free software; you can redistribute it and/or modify it under ## the terms of the GNU General Public License as published by the Free ## Software Foundation; either version 2 or (at your option) any later ## version. @@ -67,11 +67,11 @@ requires CYGPKG_INFRA make -priority 250 { /lib/extras.o: /lib/libextras.a - $(CC) $(CFLAGS) -nostdlib -Wl,-r -T /dev/null -Wl,--whole-archive -o $@ $< + $(CC) $(CFLAGS) -fno-profile-arcs -nostdlib -Wl,-r -T /dev/null -Wl,--whole-archive -o $@ $< } cdl_option CYGBLD_GLOBAL_WARNFLAGS { display "Standard compiler warning flags" parent CYGBLD_GLOBAL_OPTIONS --------------020809010302080701000805--