libgcov.h: Move renaming of entry points to lib gcov specific portion.
authorNathan Sidwell <nathan@gcc.gnu.org>
Tue, 29 Jul 2014 13:48:38 +0000 (13:48 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 29 Jul 2014 13:48:38 +0000 (13:48 +0000)
commit19926161430467836188538c2ae0e967b3803659
treea6a115ff7783aca4e43d8fcf658630bb5047a46c
parent3808a9c7296e110a2ba0b40248445f043547b826
libgcov.h: Move renaming of entry points to lib gcov specific portion.

libgcc/
* libgcov.h: Move renaming of entry points to lib gcov specific
portion.
(gcov_do_dump): New rename.
(gcov_rewrite): Remove inline, make HIDDEN.
* libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
(gcov_exit_compute_summary): Rename to ...
(compute_summary): ... here.  Add LIST argument.
(gcov_exit_merge_gcda): Rename to ...
(merge_one_data): ... here.
(gcov_exit_write_gcda): Rename to ...
(write_one_data): ... here.
(gcov_exit_merge_summary): Rename to ...
(merge_summary): Add RUN_COUNTED argument.
(gcov_exit_dump_gcov): Rename to ...
(dump_one_gcov): Add RUN_COUNTED argument.
(gcov_do_dump): New function, broken out of ...
(gcov_exit): ... here.  Call it.

gcc/
* gcov-io.c (gcov_var): Make hidden.
* gcov-tool.c (gcov_list, gcov_exit): Remove declarations.
(gcov_do_dump): Declare.
(gcov_output_files): Call gcov_do_dump, not gcov_exit).

From-SVN: r213188
gcc/ChangeLog
gcc/gcov-io.c
gcc/gcov-tool.c
libgcc/ChangeLog
libgcc/libgcov-driver.c
libgcc/libgcov.h