Module Name: src
Committed By: mrg
Date: Tue Feb 6 23:12:02 UTC 2018
Modified Files:
src/distrib/sets/lists/comp: mi
src/distrib/sets/lists/debug: mi
src/external/gpl3/gcc/usr.bin: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin/gcov-dump: Makefile
Log Message:
build and install gcov-dump.
To generate a diff of this commit:
cvs rdiff -u -r1.2175 -r1.2176 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.239 -r1.240 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/gcov-dump/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.2175 src/distrib/sets/lists/comp/mi:1.2176
--- src/distrib/sets/lists/comp/mi:1.2175 Sun Feb 4 11:08:16 2018
+++ src/distrib/sets/lists/comp/mi Tue Feb 6 23:12:01 2018
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.2175 2018/02/04 11:08:16 mrg Exp $
+# $NetBSD: mi,v 1.2176 2018/02/06 23:12:01 mrg Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
./etc/mtree/set.comp comp-sys-root
@@ -39,6 +39,7 @@
./usr/bin/gcc comp-c-bin gcccmds
./usr/bin/gcore comp-debug-bin
./usr/bin/gcov comp-debug-bin gcccmds
+./usr/bin/gcov-dump comp-debug-bin gcccmds,gcc=6
./usr/bin/gdb comp-debug-bin gdb
./usr/bin/gdbtui comp-debug-bin gdb
./usr/bin/genassym comp-util-bin
@@ -4013,6 +4014,7 @@
./usr/share/man/cat1/gcc.0 comp-c-catman gcccmds,.cat
./usr/share/man/cat1/gcore.0 comp-debug-catman .cat
./usr/share/man/cat1/gcov.0 comp-debug-catman gcccmds,.cat
+./usr/share/man/cat1/gcov-dump.0 comp-debug-catman gcccmds,.cat,gcc=6
./usr/share/man/cat1/gdb.0 comp-debug-catman gdb,.cat
./usr/share/man/cat1/genassym.0 comp-util-catman .cat
./usr/share/man/cat1/gprof.0 comp-debug-catman binutils,.cat
@@ -11697,6 +11699,7 @@
./usr/share/man/html1/gcc.html comp-c-htmlman gcccmds,html
./usr/share/man/html1/gcore.html comp-debug-htmlman html
./usr/share/man/html1/gcov.html comp-debug-htmlman gcccmds,html
+./usr/share/man/html1/gcov-dump.html comp-debug-htmlman gcccmds,html,gcc=6
./usr/share/man/html1/gdb.html comp-debug-htmlman gdb,html
./usr/share/man/html1/genassym.html comp-util-htmlman html
./usr/share/man/html1/gprof.html comp-debug-htmlman binutils,html
@@ -19121,6 +19124,7 @@
./usr/share/man/man1/gcc.1 comp-c-man gcccmds,.man
./usr/share/man/man1/gcore.1 comp-debug-man .man
./usr/share/man/man1/gcov.1 comp-debug-man gcccmds,.man
+./usr/share/man/man1/gcov-dump.1 comp-debug-man gcccmds,.man,gcc=6
./usr/share/man/man1/gdb.1 comp-debug-man gdb,.man
./usr/share/man/man1/genassym.1 comp-util-man .man
./usr/share/man/man1/gprof.1 comp-debug-man binutils,.man
Index: src/distrib/sets/lists/debug/mi
diff -u src/distrib/sets/lists/debug/mi:1.239 src/distrib/sets/lists/debug/mi:1.240
--- src/distrib/sets/lists/debug/mi:1.239 Sat Feb 3 21:27:45 2018
+++ src/distrib/sets/lists/debug/mi Tue Feb 6 23:12:02 2018
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.239 2018/02/03 21:27:45 mrg Exp $
+# $NetBSD: mi,v 1.240 2018/02/06 23:12:02 mrg Exp $
./etc/mtree/set.debug comp-sys-root
./usr/lib comp-sys-usr compatdir
./usr/lib/i18n/libBIG5_g.a comp-c-debuglib debuglib,compatfile
@@ -541,6 +541,7 @@
./usr/libdata/debug/usr/bin/gcc.debug comp-c-debug gcccmds,debug
./usr/libdata/debug/usr/bin/gcore.debug comp-debug-debug debug
./usr/libdata/debug/usr/bin/gcov.debug comp-debug-debug gcccmds,debug
+./usr/libdata/debug/usr/bin/gcov-dump.debug comp-debug-debug gcccmds,debug,gcc=6
./usr/libdata/debug/usr/bin/gdb.debug comp-debug-debug gdb,debug
./usr/libdata/debug/usr/bin/gdbtui.debug comp-debug-debug gdb,debug
./usr/libdata/debug/usr/bin/gencat.debug comp-locale-debug debug
Index: src/external/gpl3/gcc/usr.bin/Makefile
diff -u src/external/gpl3/gcc/usr.bin/Makefile:1.8 src/external/gpl3/gcc/usr.bin/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/Makefile:1.8 Tue Mar 15 19:14:47 2016
+++ src/external/gpl3/gcc/usr.bin/Makefile Tue Feb 6 23:12:01 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2016/03/15 19:14:47 mrg Exp $
+# $NetBSD: Makefile,v 1.9 2018/02/06 23:12:01 mrg Exp $
NOOBJ=# defined
@@ -16,7 +16,7 @@ SUBDIR+= host-libiberty .WAIT \
frontend .WAIT \
common common-target .WAIT \
libcpp libdecnumber .WAIT \
- gcov cc1 cc1obj cc1plus cpp g++ gcc \
+ gcov gcov-dump cc1 cc1obj cc1plus cpp g++ gcc \
lto1 lto-wrapper \
include
Added files:
Index: src/external/gpl3/gcc/usr.bin/gcov-dump/Makefile
diff -u /dev/null src/external/gpl3/gcc/usr.bin/gcov-dump/Makefile:1.1
--- /dev/null Tue Feb 6 23:12:02 2018
+++ src/external/gpl3/gcc/usr.bin/gcov-dump/Makefile Tue Feb 6 23:12:01 2018
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2018/02/06 23:12:01 mrg Exp $
+
+.include <bsd.own.mk>
+
+PROG= gcov-dump
+SRCS= ${G_GCOV_DUMP_OBJS:.o=.c}
+
+CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
+
+BINDIR= /usr/bin
+
+MAN= gcov-dump.1
+
+HOSTPROG_CXX= 1
+
+.include <bsd.prog.mk>
+
+# Force using C++ for this
+HOST_CC:= ${HOST_CXX}
+CC:= ${CXX}
+CFLAGS:= ${CXXFLAGS} -Wno-stack-protector
+
+.include "../Makefile.common"
+.include "../Makefile.libcpp"
+.include "../Makefile.backtrace"
+.include "../Makefile.libiberty"
+.include "../Makefile.libdecnumber"
+
+LDADD+= -lintl
+DPADD+= ${LIBINTL}
+
+.PATH: ${DIST}/gcc ${DIST}/gcc/doc