I noticed that libcc1 copyright dates hadn't been updated since it had
initially been added. Looking around, the same applies to gotools.
This patch updates update-copyright.py to take care of that. At the
same time, I checked that script, added appropriate entries for the
other missing directories and removed libmudflap support. I'm also
including the results of a update-copyright.py run on gotools and
libcc1, but am uncertain what to include in default_dirs.
Bootstrapped without regressions on i386-pc-solaris2.12, ok for
mainline?
Rainer
2016-05-25 Rainer Orth
libcc1:
Update copyrights.
gotools:
Update copyrights.
contrib:
* update-copyright.py (LibMudflapFilter): Remove.
(GCCCmdLine.__init__): Add gotools, libcc1.
Remove libmudflap.
List unhandled intl, libcilkrts, libgo, liboffloadmic,
maintainer-scripts.
# HG changeset patch
# Parent 2977caa0bc2d9892e182af40fcd11c51d9ec921b
Update copyright dates
diff --git a/contrib/update-copyright.py b/contrib/update-copyright.py
--- a/contrib/update-copyright.py
+++ b/contrib/update-copyright.py
@@ -631,15 +631,6 @@ class LibJavaFilter (GenericFilter):
return re.compile ('.*icSigCopyrightTag')
return GenericFilter.get_line_filter (self, dir, filename)
-class LibMudflapFilter (GenericFilter):
-def __init__ (self):
-GenericFilter.__init__ (self)
-
-self.skip_dirs |= set ([
-# Handled separately.
-'testsuite',
-])
-
class LibStdCxxFilter (GenericFilter):
def __init__ (self):
GenericFilter.__init__ (self)
@@ -724,30 +715,34 @@ class GCCCmdLine (CmdLine):
self.add_dir ('gcc', GCCFilter())
self.add_dir (os.path.join ('gcc', 'testsuite'), TestsuiteFilter())
self.add_dir ('gnattools')
+self.add_dir ('gotools')
self.add_dir ('include')
+# intl is imported from upstream.
self.add_dir ('libada')
self.add_dir ('libatomic')
self.add_dir ('libbacktrace')
+self.add_dir ('libcc1')
+# libcilkrts is imported from upstream.
self.add_dir ('libcpp', LibCppFilter())
self.add_dir ('libdecnumber')
# libffi is imported from upstream.
self.add_dir ('libgcc', LibGCCFilter())
self.add_dir ('libgfortran')
+# libgo is imported from upstream.
self.add_dir ('libgomp')
self.add_dir ('libiberty')
self.add_dir ('libitm')
self.add_dir ('libjava', LibJavaFilter())
self.add_dir (os.path.join ('libjava', 'testsuite'), TestsuiteFilter())
-self.add_dir ('libmudflap', LibMudflapFilter())
-self.add_dir (os.path.join ('libmudflap', 'testsuite'),
- TestsuiteFilter())
self.add_dir ('libobjc')
+# liboffloadmic is imported from upstream.
self.add_dir ('libquadmath')
-# libsanitiser is imported from upstream.
+# libsanitizer is imported from upstream.
self.add_dir ('libssp')
self.add_dir ('libstdc++-v3', LibStdCxxFilter())
self.add_dir ('libvtv')
self.add_dir ('lto-plugin')
+# maintainer-scripts maintainer-scripts
# zlib is imported from upstream.
self.default_dirs = [
@@ -761,7 +756,6 @@ class GCCCmdLine (CmdLine):
'libgfortran',
'libgomp',
'libitm',
-'libmudflap',
'libobjc',
'libstdc++-v3',
]
diff --git a/gotools/Makefile.am b/gotools/Makefile.am
--- a/gotools/Makefile.am
+++ b/gotools/Makefile.am
@@ -1,5 +1,5 @@
# Makefile for gotools
-# Copyright 2015 Free Software Foundation, Inc.
+# Copyright (C) 2015-2016 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/gotools/configure.ac b/gotools/configure.ac
--- a/gotools/configure.ac
+++ b/gotools/configure.ac
@@ -1,5 +1,5 @@
# Configure script for gotools.
-# Copyright 2015 Free Software Foundation, Inc.
+# Copyright (C) 2015-2016 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
diff --git a/libcc1/Makefile.am b/libcc1/Makefile.am
--- a/libcc1/Makefile.am
+++ b/libcc1/Makefile.am
@@ -1,4 +1,4 @@
-## Copyright (C) 2014 Free Software Foundation, Inc.
+## Copyright (C) 2014-2016 Free Software Foundation, Inc.
## This file is part of GCC.
diff --git a/libcc1/callbacks.cc b/libcc1/callbacks.cc
--- a/libcc1/callbacks.cc
+++ b/libcc1/callbacks.cc
@@ -1,5 +1,5 @@
/* Callback management.
- Copyright (C) 2014 Free Software Foundation, Inc.
+ Copyright (C) 2014-2016 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libcc1/callbacks.hh b/libcc1/cal