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 <r...@cebitec.uni-bielefeld.de> 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/callbacks.hh --- a/libcc1/callbacks.hh +++ b/libcc1/callbacks.hh @@ -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/configure.ac b/libcc1/configure.ac --- a/libcc1/configure.ac +++ b/libcc1/configure.ac @@ -1,4 +1,4 @@ -dnl Copyright (C) 2014 Free Software Foundation, Inc. +dnl Copyright (C) 2014-2016 Free Software Foundation, Inc. dnl dnl This file is part of GCC. dnl diff --git a/libcc1/connection.cc b/libcc1/connection.cc --- a/libcc1/connection.cc +++ b/libcc1/connection.cc @@ -1,5 +1,5 @@ /* Connect implementation - 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/connection.hh b/libcc1/connection.hh --- a/libcc1/connection.hh +++ b/libcc1/connection.hh @@ -1,5 +1,5 @@ /* Plugin connection declarations - 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/findcomp.cc b/libcc1/findcomp.cc --- a/libcc1/findcomp.cc +++ b/libcc1/findcomp.cc @@ -1,5 +1,5 @@ /* Find the correct compiler. - 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/findcomp.hh b/libcc1/findcomp.hh --- a/libcc1/findcomp.hh +++ b/libcc1/findcomp.hh @@ -1,5 +1,5 @@ /* Find the correct compiler. - 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/libcc1.cc b/libcc1/libcc1.cc --- a/libcc1/libcc1.cc +++ b/libcc1/libcc1.cc @@ -1,5 +1,5 @@ /* The library used by gdb. - 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/marshall.cc b/libcc1/marshall.cc --- a/libcc1/marshall.cc +++ b/libcc1/marshall.cc @@ -1,5 +1,5 @@ /* Marshalling and unmarshalling. - 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/marshall.hh b/libcc1/marshall.hh --- a/libcc1/marshall.hh +++ b/libcc1/marshall.hh @@ -1,5 +1,5 @@ /* Marshalling and unmarshalling. - 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/names.cc b/libcc1/names.cc --- a/libcc1/names.cc +++ b/libcc1/names.cc @@ -1,5 +1,5 @@ /* String definitions. - 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/names.hh b/libcc1/names.hh --- a/libcc1/names.hh +++ b/libcc1/names.hh @@ -1,5 +1,5 @@ /* String declarations. - 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/plugin.cc b/libcc1/plugin.cc --- a/libcc1/plugin.cc +++ b/libcc1/plugin.cc @@ -1,5 +1,5 @@ /* Library interface to C front end - 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/rpc.hh b/libcc1/rpc.hh --- a/libcc1/rpc.hh +++ b/libcc1/rpc.hh @@ -1,5 +1,5 @@ /* RPC call and callback templates - 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/status.hh b/libcc1/status.hh --- a/libcc1/status.hh +++ b/libcc1/status.hh @@ -1,5 +1,5 @@ /* status type definition - Copyright (C) 2014 Free Software Foundation, Inc. + Copyright (C) 2014-2016 Free Software Foundation, Inc. This file is part of GCC.
-- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University