mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 06:50:27 +08:00
* libgcov.c (__gcov_init): Ignore objects with no functions.
From-SVN: r183103
This commit is contained in:
parent
1a2c27e964
commit
2cd8b32cb9
@ -1,3 +1,7 @@
|
||||
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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user