From 2bc72a9fa2e9f87a0502fa20c51c946c062928a5 Mon Sep 17 00:00:00 2001 From: ro Date: Fri, 8 Jul 2011 11:43:54 +0000 Subject: gcc: * Makefile.in (LIBGCOV): Remove. (libgcc.mvars): Remove LIBGCOV. * libgov.c: Move to ../libgcc. libgcc: * Makfile.in (LIBGCOV): New variable. ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c. * libgcov.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176037 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgcc/Makefile.in | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'libgcc/Makefile.in') diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in index d0a1d1582ee..e204ef02ac1 100644 --- a/libgcc/Makefile.in +++ b/libgcc/Makefile.in @@ -747,9 +747,19 @@ iter-items := $(LIBUNWIND) include $(iterator) # Build libgcov components. + +# Defined in libgcov.c, included only in gcov library +LIBGCOV = _gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta \ + _gcov_fork _gcov_execl _gcov_execlp _gcov_execle \ + _gcov_execv _gcov_execvp _gcov_execve \ + _gcov_interval_profiler _gcov_pow2_profiler _gcov_one_value_profiler \ + _gcov_indirect_call_profiler _gcov_average_profiler _gcov_ior_profiler \ + _gcov_merge_ior + libgcov-objects = $(patsubst %,%$(objext),$(LIBGCOV)) -$(libgcov-objects): %$(objext): $(gcc_srcdir)/libgcov.c - $(gcc_compile) -DL$* -c $(gcc_srcdir)/libgcov.c + +$(libgcov-objects): %$(objext): $(srcdir)/libgcov.c + $(gcc_compile) -DL$* -c $(srcdir)/libgcov.c # Static libraries. -- cgit v1.2.1