OSDN Git Service

* Makefile.in (LIB2FUNCS_ST): Remove _gcov.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Jan 2003 23:22:17 +0000 (23:22 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Jan 2003 23:22:17 +0000 (23:22 +0000)
commitad8617cf3aae37463a6d61baa16b7b95a7520ead
tree2a2a67d83f3dfe20178bb96db57b38e585380170
parent2dd7852ce343c33ec54fe545c112612f88c84751
* Makefile.in (LIB2FUNCS_ST): Remove _gcov.
(LIBGCOV): New variable.
(libgcc.mk): Add LIBGCOV.
(LIBGCC_DEPS): Add libgcov.c.
(libgcov.a): New target.
(clean): Remove libgcov.a.
(install-libgcc): Do libgcov too.
(stage1-start, stage2-start, stage3-start, stage4-start): Deal
with libgcov.a.
* libgcc2.c (L_gcov): Move into ...
* libgcov.c: ... here. New file.
* mklibgcc.in: Add libgcov rules.
* gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling.

* doc/invoke.texi (profile-arcs, test-coverage): Update and
clarify.

* profile.c (index_counts_file): Remove duplicate check for open file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61905 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/doc/invoke.texi
gcc/gcc.c
gcc/libgcc2.c
gcc/libgcov.c [new file with mode: 0644]
gcc/mklibgcc.in
gcc/profile.c