Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src build and install gcov-dump.



details:   https://anonhg.NetBSD.org/src/rev/f283535d6c8d
branches:  trunk
changeset: 359313:f283535d6c8d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Feb 06 23:12:01 2018 +0000

description:
build and install gcov-dump.

diffstat:

 distrib/sets/lists/comp/mi                   |   6 ++++-
 distrib/sets/lists/debug/mi                  |   3 +-
 external/gpl3/gcc/usr.bin/Makefile           |   4 +-
 external/gpl3/gcc/usr.bin/gcov-dump/Makefile |  32 ++++++++++++++++++++++++++++
 4 files changed, 41 insertions(+), 4 deletions(-)

diffs (112 lines):

diff -r 957f931540dc -r f283535d6c8d distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Tue Feb 06 22:04:22 2018 +0000
+++ b/distrib/sets/lists/comp/mi        Tue Feb 06 23:12:01 2018 +0000
@@ -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
diff -r 957f931540dc -r f283535d6c8d distrib/sets/lists/debug/mi
--- a/distrib/sets/lists/debug/mi       Tue Feb 06 22:04:22 2018 +0000
+++ b/distrib/sets/lists/debug/mi       Tue Feb 06 23:12:01 2018 +0000
@@ -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
diff -r 957f931540dc -r f283535d6c8d external/gpl3/gcc/usr.bin/Makefile
--- a/external/gpl3/gcc/usr.bin/Makefile        Tue Feb 06 22:04:22 2018 +0000
+++ b/external/gpl3/gcc/usr.bin/Makefile        Tue Feb 06 23:12:01 2018 +0000
@@ -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 @@
                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
 
diff -r 957f931540dc -r f283535d6c8d external/gpl3/gcc/usr.bin/gcov-dump/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/usr.bin/gcov-dump/Makefile      Tue Feb 06 23:12:01 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index