From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3669 invoked by alias); 8 Jul 2011 14:28:04 -0000 Received: (qmail 3661 invoked by uid 22791); 8 Jul 2011 14:28:03 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Jul 2011 14:27:50 +0000 Received: (qmail 22798 invoked from network); 8 Jul 2011 14:27:50 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Jul 2011 14:27:50 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1QfC20-0006v2-3g; Fri, 08 Jul 2011 14:27:48 +0000 Date: Fri, 08 Jul 2011 14:35:00 -0000 From: "Joseph S. Myers" To: Rainer Orth cc: gcc-patches@gcc.gnu.org, Paolo Bonzini , Ralf Wildenhues , Ian Lance Taylor Subject: Re: [build] Move libgcov support to toplevel libgcc In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg00650.txt.bz2 On Fri, 8 Jul 2011, Rainer Orth wrote: > And another easy one: moving libgcov over to libgcc. Do you have any specific plans regarding gcov-io.c and gcov-io.h? Because they are genuinely used on both the host and the target they are a trickier case; I wonder if they should end up in their own toplevel directory like libdecnumber, building a proper library that exports different functions when configured for the host than for the target, that for the target gets included in libgcov and that for the host gets linked into cc1, gcov and gcov-dump rather than having files do the present '#include "gcov-io.c"'. -- Joseph S. Myers joseph@codesourcery.com