Fix various copyright issues

Alan Modra amodra@gmail.com
Mon Mar 3 00:47:00 GMT 2014


binutils already uses copyright year ranges in a number of files, so
to comply with http://www.gnu.org/prep/maintain/maintain.html we need
to describe exactly what is meant by that usage.  I copied the gcc
notice.

This patch also fixes various typos in copyright notices, modifies
i386-gen.c to emit copyright dates on one line (to make it easy for
the script I'm using to update copyright dates), and modifies gold/dwp
to claim copyright in 2014.  We normally just list the current year in
copyright info printed by --version.

binutils/
	* README: Add "Copyright Notices" paragraph.
gas/
	* config/bfin-lex-wrapper.c: Correct copyright date.
	* config/tc-frv.c: Correct copyright punctuation.
	* config/tc-ip2k.c: Likewise.
	* config/tc-iq2000.c: Likewise.
	* config/tc-mep.c: Likewise.
	* config/tc-tic4x.c: Likewise.
	* config/tc-tic4x.h: Likewise.
ld/testsuite/
	* ld-scripts/phdrs2.exp: Correct copyright punctuation.
	* ld-v850/v850.exp: Correct copyright typo.
opcodes/
	* i386-gen.c (process_copyright): Emit copyright notice on one line.
gold/
	* dwp.cc (print_version): Update copyright year to current.

diff --git a/binutils/README b/binutils/README
index d11e945..0ad1df1 100644
--- a/binutils/README
+++ b/binutils/README
@@ -13,6 +13,15 @@ There are README and NEWS files in most of the program sub-directories
 which give more information about those specific programs.
 
 
+Copyright Notices
+=================
+
+Copyright years on binutils source files may be listed using range
+notation, e.g., 1991-2012, indicating that every year in the range,
+inclusive, is a copyrightable year that could otherwise be listed
+individually.
+
+
 Unpacking and Installation -- quick overview
 ============================================
 
diff --git a/gas/config/bfin-lex-wrapper.c b/gas/config/bfin-lex-wrapper.c
index e61118c..5cb9d7b 100644
--- a/gas/config/bfin-lex-wrapper.c
+++ b/gas/config/bfin-lex-wrapper.c
@@ -1,5 +1,4 @@
-/* Copyright 20012
-   Free Software Foundation, Inc.
+/* Copyright 2012 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
diff --git a/gas/config/tc-frv.c b/gas/config/tc-frv.c
index 9cdbe26..33451f0 100644
--- a/gas/config/tc-frv.c
+++ b/gas/config/tc-frv.c
@@ -1,6 +1,6 @@
 /* tc-frv.c -- Assembler for the Fujitsu FRV.
    Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
-   Free Software Foundation. Inc.
+   Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
diff --git a/gas/config/tc-ip2k.c b/gas/config/tc-ip2k.c
index 3836cc9..c6bc9b6 100644
--- a/gas/config/tc-ip2k.c
+++ b/gas/config/tc-ip2k.c
@@ -1,6 +1,6 @@
 /* tc-ip2k.c -- Assembler for the Scenix IP2xxx.
    Copyright (C) 2000, 2002, 2003, 2005, 2006, 2007, 2009
-   Free Software Foundation. Inc.
+   Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
diff --git a/gas/config/tc-iq2000.c b/gas/config/tc-iq2000.c
index e8ed21d..c29cdfa 100644
--- a/gas/config/tc-iq2000.c
+++ b/gas/config/tc-iq2000.c
@@ -1,6 +1,6 @@
 /* tc-iq2000.c -- Assembler for the Sitera IQ2000.
    Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010
-   Free Software Foundation. Inc.
+   Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
diff --git a/gas/config/tc-mep.c b/gas/config/tc-mep.c
index 377e4c3..a83e4e3 100644
--- a/gas/config/tc-mep.c
+++ b/gas/config/tc-mep.c
@@ -1,6 +1,6 @@
 /* tc-mep.c -- Assembler for the Toshiba Media Processor.
    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2009, 2012
-   Free Software Foundation. Inc.
+   Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
diff --git a/gas/config/tc-tic4x.c b/gas/config/tc-tic4x.c
index 0dcf5bd..d9c5ec5 100644
--- a/gas/config/tc-tic4x.c
+++ b/gas/config/tc-tic4x.c
@@ -1,6 +1,6 @@
 /* tc-tic4x.c -- Assemble for the Texas Instruments TMS320C[34]x.
    Copyright (C) 1997,1998, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010,
-   2012 Free Software Foundation. Inc.
+   2012 Free Software Foundation, Inc.
 
    Contributed by Michael P. Hayes (m.hayes@elec.canterbury.ac.nz)
 
diff --git a/gas/config/tc-tic4x.h b/gas/config/tc-tic4x.h
index b35eaa7..7a80f0c 100644
--- a/gas/config/tc-tic4x.h
+++ b/gas/config/tc-tic4x.h
@@ -1,6 +1,6 @@
 /* tc-tic4x.h -- Assemble for the Texas TMS320C[34]X.
    Copyright (C) 1997, 2002, 2003, 2005, 2007, 2008
-   Free Software Foundation. Inc.
+   Free Software Foundation, Inc.
    
    Contributed by Michael P. Hayes (m.hayes@elec.canterbury.ac.nz)
 
diff --git a/gold/dwp.cc b/gold/dwp.cc
index 04a1447..51d4702 100644
--- a/gold/dwp.cc
+++ b/gold/dwp.cc
@@ -2347,7 +2347,7 @@ print_version()
 {
   // This output is intended to follow the GNU standards.
   printf("GNU dwp %s\n", BFD_VERSION_STRING);
-  printf(_("Copyright 2012 Free Software Foundation, Inc.\n"));
+  printf(_("Copyright 2014 Free Software Foundation, Inc.\n"));
   printf(_("\
 This program is free software; you may redistribute it under the terms of\n\
 the GNU General Public License version 3 or (at your option) any later version.\n\
diff --git a/ld/testsuite/ld-scripts/phdrs2.exp b/ld/testsuite/ld-scripts/phdrs2.exp
index b680d85..8b28156 100644
--- a/ld/testsuite/ld-scripts/phdrs2.exp
+++ b/ld/testsuite/ld-scripts/phdrs2.exp
@@ -1,5 +1,5 @@
 # Test PHDRS with empty sections in a linker script.
-# Copyright 2006, 2005, 2007, 2010 Free Software Foundation, Inc,
+# Copyright 2006, 2005, 2007, 2010 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
diff --git a/ld/testsuite/ld-v850/v850.exp b/ld/testsuite/ld-v850/v850.exp
index 2a2f9ae..dcaee1e 100644
--- a/ld/testsuite/ld-v850/v850.exp
+++ b/ld/testsuite/ld-v850/v850.exp
@@ -1,4 +1,4 @@
-# Copyright 2007  Free Software Foundtaion, Inc.
+# Copyright 2007  Free Software Foundation, Inc.
 # This file is part of the GNU Binutils.
 #
 # This program is free software; you can redistribute it and/or modify
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index e55e8a1..6585f37 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -579,8 +579,7 @@ static void
 process_copyright (FILE *fp)
 {
   fprintf (fp, "/* This file is automatically generated by i386-gen.  Do not edit!  */\n\
-/* Copyright 2007-2014\n\
-   Free Software Foundation, Inc.\n\
+/* Copyright 2007-2014 Free Software Foundation, Inc.\n\
 \n\
    This file is part of the GNU opcodes library.\n\
 \n\

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list