Build and install a libgcov.

This commit is contained in:
skrll 2008-09-23 06:59:42 +00:00
parent 16bf28a6f5
commit 826062446a
35 changed files with 246 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.1192 2008/09/16 17:52:53 pgoyette Exp $
# $NetBSD: mi,v 1.1193 2008/09/23 06:59:42 skrll Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -2307,6 +2307,7 @@
./usr/lib/libgcc_p.a comp-c-proflib profile
./usr/lib/libgcc_s.a comp-obsolete obsolete
./usr/lib/libgcc_s_g.a -unknown- debuglib
./usr/lib/libgcov.a comp-c-lib
./usr/lib/libgnumalloc.a comp-c-lib
./usr/lib/libgnumalloc_g.a -unknown- debuglib
./usr/lib/libgnumalloc_p.a comp-c-proflib profile

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2006/05/10 22:53:50 mrg Exp $
# $NetBSD: Makefile,v 1.2 2008/09/23 06:59:42 skrll Exp $
SUBDIR+= libgcc
@ -8,4 +8,6 @@ SUBDIR+= libgcc
SUBDIR+= libgcc_eh libgcc_s
.endif
SUBDIR+= libgcov
.include <bsd.subdir.mk>

View File

@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.1 2008/09/23 06:59:42 skrll Exp $
REQUIRETOOLS= yes
NOPIC= # defined
NOPROFILE= # defined
NOLINT= # defined
LIB= gcov
.include <bsd.own.mk>
.if exists(${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk) && ${MKGCC} != "no"
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
LIBGCOVSRCS= ${G_LIBGCOV:=.c}
CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH}
DPSRCS+= ${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk
SRCS+= ${LIBGCOVSRCS}
CLEANFILES+= ${LIBGCOVSRCS}
${LIBGCOVSRCS}: ${.CURDIR}/Makefile
${_MKTARGET_CREATE}
printf '#define L${.PREFIX}\n#include <libgcov.c>\n' >${.TARGET}
.include <bsd.lib.mk>
.else
.include <bsd.prog.mk> # do nothing
.endif

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */

View File

@ -0,0 +1,5 @@
# This file is automatically generated. DO NOT EDIT!
# Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
#
G_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

View File

@ -0,0 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.23 2008/02/08 18:06:48 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* Generated automatically by the program `build/gcov-iov'
from `4.1.3 (4 1) and prerelease (p)'. */
#define GCOV_VERSION ((gcov_unsigned_t)0x34303170) /* 401p */