This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [build] Move libgcov support to toplevel libgcc
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org, Paolo Bonzini <bonzini at gnu dot org>, Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>, Ian Lance Taylor <iant at google dot com>
- Date: Fri, 8 Jul 2011 14:27:48 +0000 (UTC)
- Subject: Re: [build] Move libgcov support to toplevel libgcc
- References: <yddsjqhypn5.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
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