Commit 2cd8b32c by Nathan Sidwell Committed by Nathan Sidwell

* libgcov.c (__gcov_init): Ignore objects with no functions.

From-SVN: r183103
parent 1a2c27e9
2012-01-11 Nathan Sidwell <nathan@acm.org>
* libgcov.c (__gcov_init): Ignore objects with no functions.
2012-01-10 Georg-Johann Lay <avr@gjlay.de>
PR target/49868
......
......@@ -686,7 +686,7 @@ gcov_exit (void)
void
__gcov_init (struct gcov_info *info)
{
if (!info->version)
if (!info->version || !info->n_functions)
return;
if (gcov_version (info, info->version, 0))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment