summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/BRANCHES1
-rw-r--r--binutils/ChangeLog23
-rw-r--r--binutils/NEWS5
-rw-r--r--binutils/addr2line.c6
-rw-r--r--binutils/ar.c5
-rw-r--r--binutils/arlex.l27
-rw-r--r--binutils/arparse.y29
-rw-r--r--binutils/arsup.c5
-rw-r--r--binutils/arsup.h27
-rw-r--r--binutils/bin2c.c2
-rw-r--r--binutils/binemul.c7
-rw-r--r--binutils/binemul.h5
-rw-r--r--binutils/bucomm.c2
-rw-r--r--binutils/bucomm.h5
-rw-r--r--binutils/budbg.h4
-rw-r--r--binutils/coffdump.c6
-rw-r--r--binutils/coffgrok.c30
-rw-r--r--binutils/coffgrok.h63
-rw-r--r--binutils/cxxfilt.c18
-rw-r--r--binutils/debug.c3
-rw-r--r--binutils/debug.h4
-rw-r--r--binutils/deflex.l37
-rw-r--r--binutils/defparse.y37
-rw-r--r--binutils/dlltool.c2
-rw-r--r--binutils/dlltool.h4
-rw-r--r--binutils/dllwrap.c2
-rw-r--r--binutils/dwarf.c2
-rw-r--r--binutils/dwarf.h31
-rw-r--r--binutils/embedspu.sh2
-rw-r--r--binutils/emul_aix.c5
-rw-r--r--binutils/emul_vanilla.c7
-rw-r--r--binutils/filemode.c2
-rw-r--r--binutils/ieee.c2
-rw-r--r--binutils/is-ranlib.c19
-rw-r--r--binutils/is-strip.c19
-rw-r--r--binutils/maybe-ranlib.c19
-rw-r--r--binutils/maybe-strip.c19
-rw-r--r--binutils/mclex.c2
-rw-r--r--binutils/mcparse.y2
-rw-r--r--binutils/nlmconv.c6
-rw-r--r--binutils/nlmconv.h28
-rw-r--r--binutils/nlmheader.y31
-rw-r--r--binutils/nm.c2
-rw-r--r--binutils/not-ranlib.c19
-rw-r--r--binutils/not-strip.c19
-rw-r--r--binutils/objcopy.c2
-rw-r--r--binutils/objdump.c6
-rw-r--r--binutils/prdbg.c2
-rwxr-xr-xbinutils/ranlib.sh19
-rw-r--r--binutils/rclex.c3
-rw-r--r--binutils/rcparse.y3
-rw-r--r--binutils/rdcoff.c2
-rw-r--r--binutils/rddbg.c3
-rw-r--r--binutils/readelf.c2
-rw-r--r--binutils/rename.c2
-rw-r--r--binutils/resbin.c3
-rw-r--r--binutils/rescoff.c2
-rw-r--r--binutils/resrc.c2
-rw-r--r--binutils/resres.c2
-rwxr-xr-xbinutils/sanity.sh21
-rw-r--r--binutils/size.c5
-rw-r--r--binutils/srconv.c2
-rw-r--r--binutils/stabs.c2
-rw-r--r--binutils/strings.c2
-rw-r--r--binutils/sysdep.h2
-rw-r--r--binutils/sysdump.c2
-rw-r--r--binutils/sysinfo.y27
-rw-r--r--binutils/syslex.l28
-rw-r--r--binutils/testsuite/ChangeLog10
-rw-r--r--binutils/testsuite/binutils-all/ar.exp4
-rw-r--r--binutils/testsuite/binutils-all/arm/objdump.exp4
-rw-r--r--binutils/testsuite/binutils-all/dlltool.exp4
-rw-r--r--binutils/testsuite/binutils-all/hppa/objdump.exp4
-rw-r--r--binutils/testsuite/binutils-all/m68k/objdump.exp4
-rw-r--r--binutils/testsuite/binutils-all/nm.exp4
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp2
-rw-r--r--binutils/testsuite/binutils-all/objdump.exp4
-rw-r--r--binutils/testsuite/binutils-all/readelf.exp4
-rw-r--r--binutils/testsuite/binutils-all/size.exp4
-rw-r--r--binutils/testsuite/binutils-all/vax/objdump.exp4
-rwxr-xr-xbinutils/testsuite/binutils-all/windres/msupdate4
-rw-r--r--binutils/testsuite/binutils-all/windres/windres.exp4
-rw-r--r--binutils/testsuite/config/default.exp4
-rw-r--r--binutils/testsuite/lib/utils-lib.exp4
-rw-r--r--binutils/unwind-ia64.c27
-rw-r--r--binutils/unwind-ia64.h27
-rw-r--r--binutils/version.c12
-rw-r--r--binutils/windint.h2
-rw-r--r--binutils/windmc.c3
-rw-r--r--binutils/windmc.h2
-rw-r--r--binutils/windres.c2
-rw-r--r--binutils/windres.h2
-rw-r--r--binutils/winduni.c3
-rw-r--r--binutils/winduni.h2
-rw-r--r--binutils/wrstabs.c2
95 files changed, 559 insertions, 332 deletions
diff --git a/binutils/BRANCHES b/binutils/BRANCHES
index b770ef4ebfb..303f0dcd995 100644
--- a/binutils/BRANCHES
+++ b/binutils/BRANCHES
@@ -32,3 +32,4 @@ binutils-2_13-branch
binutils-2_14-branch
binutils-2_15-branch
binutils-2_16-branch
+binutils-2_17-branch
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index be8ca019769..15dc5e63e34 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,26 @@
+2007-07-05 Nick Clifton <nickc@redhat.com>
+
+ * addr2line.c: Update copyright notice to refer to GPLv3.
+ * ar.c, arlex.l, arparse.y, arsup.c, arsup.h, bin2c.c, binemul.c,
+ binemul.h, bucomm.c, bucomm.h, budbg.h, coffdump.c, coffgrok.c,
+ coffgrok.h, cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y,
+ dlltool.c, dlltool.h, dllwrap.c, dwarf.c, dwarf.h, embedspu.sh,
+ emul_aix.c, emul_vanilla.c, filemode.c, ieee.c, mclex.c,
+ mcparse.y, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
+ objdump.c, prdbg.c, rclex.c, rcparse.y, rdcoff.c, rddbg.c,
+ readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
+ size.c, srconv.c, stabs.c, strings.c, sysdep.h, sysdump.c,
+ sysinfo.y, syslex.l, unwind-ia64.c, unwind-ia64.h, version.c,
+ windint.h, windmc.c, windmc.h, windres.c, windres.h, winduni.c,
+ winduni.h, wrstabs.c: Likewise.
+ * is-ranlib.c, is-strip.c, maybe-ranlib.c, maybe-strip.c,
+ not-ranlib.c, not-strip.c, ranlib.sh, sanity.sh: Add a copyright
+ notice.
+ * NEWS: Mention that the sources are now released under GPLv3.
+ Add a marker for the changes that went into v2.17.
+ * version.c (print_version): Specify that the program is released
+ under version 3 of the GPL.
+
2007-07-05 Kai Tietz <kai.tietz@onevision.com>
* resrc.c: (read_rc_file): Add include path of user passed rc
diff --git a/binutils/NEWS b/binutils/NEWS
index ad6058f75b2..b1ff4157b9c 100644
--- a/binutils/NEWS
+++ b/binutils/NEWS
@@ -1,5 +1,8 @@
-*- text -*-
+* The binutils sources are now released under version 3 of the GNU General
+ Public License.
+
* A new tool "windmc" has been added for some targets. This is a message
compiler which attempts to be compatible with the MS version.
@@ -15,6 +18,8 @@
for its symbol table. Files containing just symbols can be useful
to some OSes.
+Changes in 2.17:
+
* Add "-x NAME" to readelf in addition to "-x NUMBER".
* Add -i and -t switches to cxxfilt. -i disables the display of implementation
diff --git a/binutils/addr2line.c b/binutils/addr2line.c
index a7c365ae741..cd31b8191e7 100644
--- a/binutils/addr2line.c
+++ b/binutils/addr2line.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
@@ -17,7 +17,9 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
/* Derived from objdump.c and nm.c by Ulrich.Lauther@mchp.siemens.de
diff --git a/binutils/ar.c b/binutils/ar.c
index 8313df5bf39..14358b45965 100644
--- a/binutils/ar.c
+++ b/binutils/ar.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -17,7 +17,8 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
/*
Bugs: should use getopt the way tar does (complete w/optional -) and
diff --git a/binutils/arlex.l b/binutils/arlex.l
index 1560294327f..f9568588069 100644
--- a/binutils/arlex.l
+++ b/binutils/arlex.l
@@ -1,24 +1,25 @@
%{
/* arlex.l - Strange script language lexer */
-/* Copyright 1992, 1997, 2000, 2001, 2002, 2003, 2004
+/* Copyright 1992, 1997, 2000, 2001, 2002, 2003, 2004, 2007
Free Software Foundation, Inc.
-This file is part of GNU Binutils.
+ This file is part of GNU Binutils.
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
/* Contributed by Steve Chamberlain <sac@cygnus.com>. */
diff --git a/binutils/arparse.y b/binutils/arparse.y
index 2453b65a02e..bee8b2eb362 100644
--- a/binutils/arparse.y
+++ b/binutils/arparse.y
@@ -1,24 +1,25 @@
%{
/* arparse.y - Stange script language parser */
-/* Copyright 1992, 1993, 1995, 1997, 1999, 2002, 2003, 2007
- Free Software Foundation, Inc.
+/* Copyright 1992, 1993, 1995, 1997, 1999, 2002, 2003, 2007
+ Free Software Foundation, Inc.
-This file is part of GNU Binutils.
+ This file is part of GNU Binutils.
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
/* Contributed by Steve Chamberlain
diff --git a/binutils/arsup.c b/binutils/arsup.c
index 98f93a637e5..49961b0ef11 100644
--- a/binutils/arsup.c
+++ b/binutils/arsup.c
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -16,7 +16,8 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
/* Contributed by Steve Chamberlain
diff --git a/binutils/arsup.h b/binutils/arsup.h
index 136efcf3c9b..860809bdfb2 100644
--- a/binutils/arsup.h
+++ b/binutils/arsup.h
@@ -1,22 +1,23 @@
/* arsup.h - archive support header file
- Copyright 1992, 1993, 1994, 1996, 2001, 2002, 2003
+ Copyright 1992, 1993, 1994, 1996, 2001, 2002, 2003, 2007
Free Software Foundation, Inc.
-This file is part of GNU Binutils.
+ This file is part of GNU Binutils.
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
struct list {
char *name;
diff --git a/binutils/bin2c.c b/binutils/bin2c.c
index b83f02d3c98..0eeff350aad 100644
--- a/binutils/bin2c.c
+++ b/binutils/bin2c.c
@@ -5,7 +5,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/binemul.c b/binutils/binemul.c
index 83740d0d6ac..0eb1c816c1a 100644
--- a/binutils/binemul.c
+++ b/binutils/binemul.c
@@ -1,12 +1,12 @@
/* Binutils emulation layer.
- Copyright 2002, 2003 Free Software Foundation, Inc.
+ Copyright 2002, 2003, 2007 Free Software Foundation, Inc.
Written by Tom Rix, Red Hat Inc.
This file is part of GNU Binutils.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -16,7 +16,8 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#include "binemul.h"
diff --git a/binutils/binemul.h b/binutils/binemul.h
index c5d8c78f7fb..4da6693267e 100644
--- a/binutils/binemul.h
+++ b/binutils/binemul.h
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -16,7 +16,8 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#ifndef BINEMUL_H
#define BINEMUL_H
diff --git a/binutils/bucomm.c b/binutils/bucomm.c
index a4c11f0cfa0..2f3ac07f23a 100644
--- a/binutils/bucomm.c
+++ b/binutils/bucomm.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/bucomm.h b/binutils/bucomm.h
index 95ed2ec2c3a..2288f43bd30 100644
--- a/binutils/bucomm.h
+++ b/binutils/bucomm.h
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -16,7 +16,8 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#ifndef _BUCOMM_H
#define _BUCOMM_H
diff --git a/binutils/budbg.h b/binutils/budbg.h
index 3524190a180..a8c99dddf08 100644
--- a/binutils/budbg.h
+++ b/binutils/budbg.h
@@ -1,12 +1,12 @@
/* budbg.c -- Interfaces to the generic debugging information routines.
- Copyright 1995, 1996, 2002, 2003 Free Software Foundation, Inc.
+ Copyright 1995, 1996, 2002, 2003, 2007 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@cygnus.com>.
This file is part of GNU Binutils.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/coffdump.c b/binutils/coffdump.c
index 7b6ead4af38..21114bc81d8 100644
--- a/binutils/coffdump.c
+++ b/binutils/coffdump.c
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or (at
+ the Free Software Foundation; either version 3 of the License, or (at
your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -16,7 +16,9 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
/* Written by Steve Chamberlain <sac@cygnus.com>
diff --git a/binutils/coffgrok.c b/binutils/coffgrok.c
index a1e89e1298c..01a18cdc98b 100644
--- a/binutils/coffgrok.c
+++ b/binutils/coffgrok.c
@@ -2,29 +2,29 @@
Copyright 1994, 1995, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2007
Free Software Foundation, Inc.
-This file is part of GNU Binutils.
+ This file is part of GNU Binutils.
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
/* Written by Steve Chamberlain (sac@cygnus.com)
This module reads a coff file and builds a really simple type tree
which can be read by other programs. The first application is a
- coff->sysroff converter. It can be tested with coffdump.c.
-
-*/
+ coff->sysroff converter. It can be tested with coffdump.c. */
#include "sysdep.h"
#include "bfd.h"
diff --git a/binutils/coffgrok.h b/binutils/coffgrok.h
index e6d0077ad3f..fa423ff9c36 100644
--- a/binutils/coffgrok.h
+++ b/binutils/coffgrok.h
@@ -1,21 +1,22 @@
/* coffgrok.h
- Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright 2001, 2002, 2003, 2007 Free Software Foundation, Inc.
-This file is part of GNU Binutils.
+ This file is part of GNU Binutils.
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#define T_NULL 0
#define T_VOID 1 /* function argument (only used by compiler) */
@@ -36,25 +37,25 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
#define T_LNGDBL 16 /* long double */
- struct coff_reloc
- {
- int offset;
- struct coff_symbol *symbol;
- int addend;
- };
+struct coff_reloc
+{
+ int offset;
+ struct coff_symbol *symbol;
+ int addend;
+};
- struct coff_section
- {
- char *name;
- int code;
- int data;
- int address;
- int number; /* 0..n, .text = 0 */
- int nrelocs;
- int size;
- struct coff_reloc *relocs;
- struct bfd_section *bfd_section;
- };
+struct coff_section
+{
+ char *name;
+ int code;
+ int data;
+ int address;
+ int number; /* 0..n, .text = 0 */
+ int nrelocs;
+ int size;
+ struct coff_reloc *relocs;
+ struct bfd_section *bfd_section;
+};
struct coff_ofile
{
diff --git a/binutils/cxxfilt.c b/binutils/cxxfilt.c
index bed0537e477..e0d1b3fa8ed 100644
--- a/binutils/cxxfilt.c
+++ b/binutils/cxxfilt.c
@@ -5,17 +5,17 @@
Rewritten by Fred Fish (fnf@cygnus.com) for ARM and Lucid demangling
Modified by Satish Pai (pai@apollo.hp.com) for HP demangling
- This file is part of GCC.
+ This file is part of GNU Binutils.
- GCC is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License as published by the Free
- Software Foundation; either version 2, or (at your option) any later
- version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or (at
+ your option) any later version.
- GCC is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to the Free
diff --git a/binutils/debug.c b/binutils/debug.c
index 1cc518e6295..79f591fe330 100644
--- a/binutils/debug.c
+++ b/binutils/debug.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -20,6 +20,7 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
+
/* This file implements a generic debugging format. We may eventually
have readers which convert different formats into this generic
format, and writers which write it out. The initial impetus for
diff --git a/binutils/debug.h b/binutils/debug.h
index c18ba54a663..ec93fdef83a 100644
--- a/binutils/debug.h
+++ b/binutils/debug.h
@@ -1,12 +1,12 @@
/* debug.h -- Describe generic debugging information.
- Copyright 1995, 1996, 2002, 2003 Free Software Foundation, Inc.
+ Copyright 1995, 1996, 2002, 2003, 2007 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@cygnus.com>.
This file is part of GNU Binutils.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/deflex.l b/binutils/deflex.l
index c6d45c85a43..bd8fbdc8f29 100644
--- a/binutils/deflex.l
+++ b/binutils/deflex.l
@@ -1,23 +1,24 @@
%{/* deflex.l - Lexer for .def files */
-/* Copyright 1995, 1997, 1998, 1999, 2002, 2003, 2004, 2005
- Free Software Foundation, Inc.
-
- This file is part of GNU Binutils.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+/* Copyright 1995, 1997, 1998, 1999, 2002, 2003, 2004, 2005, 2007
+ Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
/* Contributed by Steve Chamberlain: sac@cygnus.com */
diff --git a/binutils/defparse.y b/binutils/defparse.y
index 8b870d7c6be..1f44fe1cfcd 100644
--- a/binutils/defparse.y
+++ b/binutils/defparse.y
@@ -1,23 +1,24 @@
%{ /* defparse.y - parser for .def files */
-/* Copyright 1995, 1997, 1998, 1999, 2001, 2004, 2007
- Free Software Foundation, Inc.
-
- This file is part of GNU Binutils.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+/* Copyright 1995, 1997, 1998, 1999, 2001, 2004, 2007
+ Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#include "sysdep.h"
#include "bfd.h"
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index 568ad689efa..67906469758 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/dlltool.h b/binutils/dlltool.h
index e2634ea258a..5f306a59ba0 100644
--- a/binutils/dlltool.h
+++ b/binutils/dlltool.h
@@ -1,11 +1,11 @@
/* dlltool.h -- header file for dlltool
- Copyright 1997, 1998, 2003, 2004 Free Software Foundation, Inc.
+ Copyright 1997, 1998, 2003, 2004, 2007 Free Software Foundation, Inc.
This file is part of GNU Binutils.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/dllwrap.c b/binutils/dllwrap.c
index 9828a958a73..0ef83618096 100644
--- a/binutils/dllwrap.c
+++ b/binutils/dllwrap.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index cc37b25b701..9cfb158aa30 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/dwarf.h b/binutils/dwarf.h
index 6b4674268a9..7f815c8b2a6 100644
--- a/binutils/dwarf.h
+++ b/binutils/dwarf.h
@@ -2,21 +2,22 @@
Copyright 2005, 2007
Free Software Foundation, Inc.
-This file is part of GNU Binutils.
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ This file is part of GNU Binutils.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#if __STDC_VERSION__ >= 199901L || (defined(__GNUC__) && __GNUC__ >= 2)
/* We can't use any bfd types here since readelf may define BFD64 and
diff --git a/binutils/embedspu.sh b/binutils/embedspu.sh
index 6611172814e..d438ed99298 100644
--- a/binutils/embedspu.sh
+++ b/binutils/embedspu.sh
@@ -7,7 +7,7 @@
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/emul_aix.c b/binutils/emul_aix.c
index aacecec01b6..22ff8300479 100644
--- a/binutils/emul_aix.c
+++ b/binutils/emul_aix.c
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -16,7 +16,8 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#include "binemul.h"
#include "bfdlink.h"
diff --git a/binutils/emul_vanilla.c b/binutils/emul_vanilla.c
index 2f34f9d5c2f..b13d555085f 100644
--- a/binutils/emul_vanilla.c
+++ b/binutils/emul_vanilla.c
@@ -1,12 +1,12 @@
/* Binutils emulation layer.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2007 Free Software Foundation, Inc.
Written by Tom Rix, Red Hat Inc.
This file is part of GNU Binutils.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -16,7 +16,8 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#include "binemul.h"
diff --git a/binutils/filemode.c b/binutils/filemode.c
index 9c44709111b..8b29defc528 100644
--- a/binutils/filemode.c
+++ b/binutils/filemode.c
@@ -4,7 +4,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/ieee.c b/binutils/ieee.c
index 987420b9209..0645db93781 100644
--- a/binutils/ieee.c
+++ b/binutils/ieee.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/is-ranlib.c b/binutils/is-ranlib.c
index 22ce3aa4ee7..947d8d2846e 100644
--- a/binutils/is-ranlib.c
+++ b/binutils/is-ranlib.c
@@ -1,3 +1,22 @@
+/* Copyright 2007 Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
+
/* Linked with ar.o to flag that this program is 'ranlib' (not 'ar'). */
int is_ranlib = 1;
diff --git a/binutils/is-strip.c b/binutils/is-strip.c
index 338245d08b5..1fddbe2e137 100644
--- a/binutils/is-strip.c
+++ b/binutils/is-strip.c
@@ -1,3 +1,22 @@
+/* Copyright 2007 Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
+
/* Linked with objcopy.o to flag that this program is 'strip' (not
'objcopy'). */
diff --git a/binutils/maybe-ranlib.c b/binutils/maybe-ranlib.c
index dcaded3d062..64f95140242 100644
--- a/binutils/maybe-ranlib.c
+++ b/binutils/maybe-ranlib.c
@@ -1,3 +1,22 @@
+/* Copyright 2007 Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
+
/* Linked with ar.o to flag that this program decides at runtime
(using argv[0] if it is is 'ar' or 'ranlib'. */
diff --git a/binutils/maybe-strip.c b/binutils/maybe-strip.c
index cfcc1ba055d..0502fbb0ecd 100644
--- a/binutils/maybe-strip.c
+++ b/binutils/maybe-strip.c
@@ -1,3 +1,22 @@
+/* Copyright 2007 Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
+
/* Linked with objcopy.o to flag that this program decides at runtime
(using argv[0] if it is is 'strip' or 'objcopy'. */
diff --git a/binutils/mclex.c b/binutils/mclex.c
index f6cedd9efd7..2f0e144b0e4 100644
--- a/binutils/mclex.c
+++ b/binutils/mclex.c
@@ -8,7 +8,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/mcparse.y b/binutils/mcparse.y
index 9aaba9b8d41..35328d17c12 100644
--- a/binutils/mcparse.y
+++ b/binutils/mcparse.y
@@ -9,7 +9,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/nlmconv.c b/binutils/nlmconv.c
index 9932ba29b71..2fb74bfe0e8 100644
--- a/binutils/nlmconv.c
+++ b/binutils/nlmconv.c
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -16,7 +16,9 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
/* Written by Ian Lance Taylor <ian@cygnus.com>.
diff --git a/binutils/nlmconv.h b/binutils/nlmconv.h
index eb951240588..27622181f67 100644
--- a/binutils/nlmconv.h
+++ b/binutils/nlmconv.h
@@ -1,21 +1,23 @@
/* nlmconv.h -- header file for NLM conversion program
- Copyright 1993, 2002, 2003 Free Software Foundation, Inc.
+ Copyright 1993, 2002, 2003, 2007 Free Software Foundation, Inc.
-This file is part of GNU Binutils.
+ This file is part of GNU Binutils.
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
/* Written by Ian Lance Taylor <ian@cygnus.com>.
diff --git a/binutils/nlmheader.y b/binutils/nlmheader.y
index 192aafa3fb9..d68443eaadc 100644
--- a/binutils/nlmheader.y
+++ b/binutils/nlmheader.y
@@ -2,21 +2,22 @@
Copyright 1993, 1994, 1995, 1997, 1998, 2001, 2002, 2003, 2007
Free Software Foundation, Inc.
-This file is part of GNU Binutils.
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ This file is part of GNU Binutils.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
/* Written by Ian Lance Taylor <ian@cygnus.com>.
diff --git a/binutils/nm.c b/binutils/nm.c
index 62328a4d54e..d5f18cd6f26 100644
--- a/binutils/nm.c
+++ b/binutils/nm.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/not-ranlib.c b/binutils/not-ranlib.c
index 6e61331b78c..6431f8413fe 100644
--- a/binutils/not-ranlib.c
+++ b/binutils/not-ranlib.c
@@ -1,3 +1,22 @@
+/* Copyright 2007 Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
+
/* Linked with ar.o to flag that this program is 'ar' (not 'ranlib'). */
int is_ranlib = 0;
diff --git a/binutils/not-strip.c b/binutils/not-strip.c
index 854a6697adb..8ffbba6b25e 100644
--- a/binutils/not-strip.c
+++ b/binutils/not-strip.c
@@ -1,3 +1,22 @@
+/* Copyright 2007 Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
+
/* Linked with objcopy.o to flag that this program is 'objcopy' (not
'strip'). */
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 06e2946ce34..b9932765c34 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 38e7c028985..8ab69a44f6f 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
@@ -17,7 +17,9 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
/* Objdump overview.
diff --git a/binutils/prdbg.c b/binutils/prdbg.c
index 529903d790c..098bd58c3d4 100644
--- a/binutils/prdbg.c
+++ b/binutils/prdbg.c
@@ -8,7 +8,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/ranlib.sh b/binutils/ranlib.sh
index 9a2248f1430..602d21005db 100755
--- a/binutils/ranlib.sh
+++ b/binutils/ranlib.sh
@@ -1,3 +1,22 @@
#!/bin/sh
# A simple ranlib script, to use less disk space than a ranlib program.
+# Copyright 2007 Free Software Foundation, Inc.
+
+# This program is part of GNU Binutils.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA. */
+
ar s "$1"
diff --git a/binutils/rclex.c b/binutils/rclex.c
index ef0961b61ca..5922106a0e4 100644
--- a/binutils/rclex.c
+++ b/binutils/rclex.c
@@ -9,7 +9,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -22,6 +22,7 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
+
/* This is a lexer used by the Windows rc file parser. It basically
just recognized a bunch of keywords. */
diff --git a/binutils/rcparse.y b/binutils/rcparse.y
index ac72ee77778..64ea96603da 100644
--- a/binutils/rcparse.y
+++ b/binutils/rcparse.y
@@ -8,7 +8,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -21,6 +21,7 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
+
/* This is a parser for Windows rc files. It is based on the parser
by Gunther Ebert <gunther.ebert@ixos-leipzig.de>. */
diff --git a/binutils/rdcoff.c b/binutils/rdcoff.c
index 70bf8425a1b..441688bb2b9 100644
--- a/binutils/rdcoff.c
+++ b/binutils/rdcoff.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/rddbg.c b/binutils/rddbg.c
index b9953d43f37..6d26fee47bf 100644
--- a/binutils/rddbg.c
+++ b/binutils/rddbg.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -20,6 +20,7 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
+
/* This file reads debugging information into a generic form. This
file knows how to dig the debugging information out of an object
file. */
diff --git a/binutils/readelf.c b/binutils/readelf.c
index ab41e28828b..9305d04ffac 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -9,7 +9,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/rename.c b/binutils/rename.c
index 25329d14050..6ae4d29c746 100644
--- a/binutils/rename.c
+++ b/binutils/rename.c
@@ -5,7 +5,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/resbin.c b/binutils/resbin.c
index 7c8f5019641..fbd8b9b6f32 100644
--- a/binutils/resbin.c
+++ b/binutils/resbin.c
@@ -8,7 +8,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -21,6 +21,7 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
+
/* This file contains functions to convert between the binary resource
format and the internal structures that we want to use. The same
binary resource format is used in both res and COFF files. */
diff --git a/binutils/rescoff.c b/binutils/rescoff.c
index 737eb4f0ba9..e19f58a20c5 100644
--- a/binutils/rescoff.c
+++ b/binutils/rescoff.c
@@ -8,7 +8,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/resrc.c b/binutils/resrc.c
index 2b148efc8cd..65357fe8ed8 100644
--- a/binutils/resrc.c
+++ b/binutils/resrc.c
@@ -8,7 +8,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/resres.c b/binutils/resres.c
index f345da3e5de..49fb3fd14a9 100644
--- a/binutils/resres.c
+++ b/binutils/resres.c
@@ -8,7 +8,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/sanity.sh b/binutils/sanity.sh
index 942cabf9ac0..8edb490dd20 100755
--- a/binutils/sanity.sh
+++ b/binutils/sanity.sh
@@ -1,8 +1,25 @@
#!/bin/sh
### quick sanity test for the binutils.
###
-### This file was written and is maintained by K. Richard Pixley,
-### rich@cygnus.com.
+# This file was written K. Richard Pixley.
+# Copyright 2007 Free Software Foundation, Inc.
+
+# This program is part of GNU Binutils.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA. */
### fail on errors
set -e
diff --git a/binutils/size.c b/binutils/size.c
index d6c6dc21148..f035cab80b7 100644
--- a/binutils/size.c
+++ b/binutils/size.c
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -16,7 +16,8 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
/* Extensions/incompatibilities:
o - BSD output has filenames at the end.
diff --git a/binutils/srconv.c b/binutils/srconv.c
index 906432f6dba..8d1db3b0cd3 100644
--- a/binutils/srconv.c
+++ b/binutils/srconv.c
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/stabs.c b/binutils/stabs.c
index c8fc77dab2f..ea0a61e4118 100644
--- a/binutils/stabs.c
+++ b/binutils/stabs.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/strings.c b/binutils/strings.c
index 2238574bac0..11e76089425 100644
--- a/binutils/strings.c
+++ b/binutils/strings.c
@@ -4,7 +4,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/sysdep.h b/binutils/sysdep.h
index 9627b46d459..3ac45fa4cf0 100644
--- a/binutils/sysdep.h
+++ b/binutils/sysdep.h
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/sysdump.c b/binutils/sysdump.c
index 2f924692064..6b3fbdaec04 100644
--- a/binutils/sysdump.c
+++ b/binutils/sysdump.c
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/sysinfo.y b/binutils/sysinfo.y
index a7077480bc4..1e6f75bc8c9 100644
--- a/binutils/sysinfo.y
+++ b/binutils/sysinfo.y
@@ -1,21 +1,22 @@
-/* Copyright 2001, 2003, 2005 Free Software Foundation, Inc.
+/* Copyright 2001, 2003, 2005, 2007 Free Software Foundation, Inc.
Written by Steve Chamberlain of Cygnus Support (steve@cygnus.com).
-This file is part of GNU binutils.
+ This file is part of GNU binutils.
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
%{
#include <stdio.h>
diff --git a/binutils/syslex.l b/binutils/syslex.l
index 3a9306c40b5..2c8a694f14c 100644
--- a/binutils/syslex.l
+++ b/binutils/syslex.l
@@ -1,22 +1,22 @@
%{
-/* Copyright 2001, 2003, 2005 Free Software Foundation, Inc.
+/* Copyright 2001, 2003, 2005, 2007 Free Software Foundation, Inc.
-This file is part of GNU Binutils.
+ This file is part of GNU Binutils.
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
-You should have received a copy of the GNU General Public License
-along with GLD; see the file COPYING. If not, write to the Free
-Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
-02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with GLD; see the file COPYING. If not, write to the Free
+ Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
#include "config.h"
#ifdef HAVE_STRING_H
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index ee8d32ec7e0..8c758d6f685 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,13 @@
+2007-07-05 Nick Clifton <nickc@redhat.com>
+
+ * lib/utils-lib.exp: Update copyright notice to refer to GPLv3.
+ * config/default.exp, binutils-all/ar.exp,
+ binutils-all/dlltool.exp, binutils-all/nm.exp,
+ binutils-all/objcopy.exp, binutils-all/arm/objdump.exp,
+ binutils-all/hppa/objdump.exp, binutils-all/m68k/objdump.exp,
+ binutils-all/vax/objdump.exp, binutils-all/windres/windres.exp,
+ binutils-all/windres/msupdate: Likewise.
+
2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/strip-3.d: Also strip .xtensa.info section.
diff --git a/binutils/testsuite/binutils-all/ar.exp b/binutils/testsuite/binutils-all/ar.exp
index 02d12351b7a..f90fed8b9b6 100644
--- a/binutils/testsuite/binutils-all/ar.exp
+++ b/binutils/testsuite/binutils-all/ar.exp
@@ -1,8 +1,8 @@
-# Copyright 1995, 1997, 2002, 2004 Free Software Foundation, Inc.
+# Copyright 1995, 1997, 2002, 2004, 2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/binutils-all/arm/objdump.exp b/binutils/testsuite/binutils-all/arm/objdump.exp
index 4677a48585c..226363b62ee 100644
--- a/binutils/testsuite/binutils-all/arm/objdump.exp
+++ b/binutils/testsuite/binutils-all/arm/objdump.exp
@@ -1,9 +1,9 @@
-# Copyright 2004
+# Copyright 2004, 2007
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/binutils-all/dlltool.exp b/binutils/testsuite/binutils-all/dlltool.exp
index af0145d48d1..74154cb18f6 100644
--- a/binutils/testsuite/binutils-all/dlltool.exp
+++ b/binutils/testsuite/binutils-all/dlltool.exp
@@ -1,8 +1,8 @@
-# Copyright 2002, 2004, 2006 Free Software Foundation, Inc.
+# Copyright 2002, 2004, 2006, 2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/binutils-all/hppa/objdump.exp b/binutils/testsuite/binutils-all/hppa/objdump.exp
index a4451254d14..09c99101963 100644
--- a/binutils/testsuite/binutils-all/hppa/objdump.exp
+++ b/binutils/testsuite/binutils-all/hppa/objdump.exp
@@ -1,9 +1,9 @@
-# Copyright 1993, 1994, 1995, 1997, 1999, 2000, 2002
+# Copyright 1993, 1994, 1995, 1997, 1999, 2000, 2002, 2007
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/binutils-all/m68k/objdump.exp b/binutils/testsuite/binutils-all/m68k/objdump.exp
index 4f568893e97..481137cf366 100644
--- a/binutils/testsuite/binutils-all/m68k/objdump.exp
+++ b/binutils/testsuite/binutils-all/m68k/objdump.exp
@@ -1,9 +1,9 @@
-# Copyright 2004
+# Copyright 2004, 2007
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/binutils-all/nm.exp b/binutils/testsuite/binutils-all/nm.exp
index 865e5d3ccd6..e77728cdc28 100644
--- a/binutils/testsuite/binutils-all/nm.exp
+++ b/binutils/testsuite/binutils-all/nm.exp
@@ -1,8 +1,8 @@
-# Copyright 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
+# Copyright 1993, 1994, 1995, 1997, 2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index 72338df350b..037d8796051 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -4,7 +4,7 @@
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/binutils-all/objdump.exp b/binutils/testsuite/binutils-all/objdump.exp
index 1774c854e1d..09b6f5d1359 100644
--- a/binutils/testsuite/binutils-all/objdump.exp
+++ b/binutils/testsuite/binutils-all/objdump.exp
@@ -1,10 +1,10 @@
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004
+# 2003, 2004, 2007
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp
index 814ae7caa56..2979cfd3b5d 100644
--- a/binutils/testsuite/binutils-all/readelf.exp
+++ b/binutils/testsuite/binutils-all/readelf.exp
@@ -1,8 +1,8 @@
-# Copyright 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
+# Copyright 1999, 2000, 2001, 2003, 2004, 2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/binutils-all/size.exp b/binutils/testsuite/binutils-all/size.exp
index de5c9b36498..b3d57a4dbdb 100644
--- a/binutils/testsuite/binutils-all/size.exp
+++ b/binutils/testsuite/binutils-all/size.exp
@@ -1,8 +1,8 @@
-# Copyright 1993, 1994, 1995, 1997, 1998 Free Software Foundation, Inc.
+# Copyright 1993, 1994, 1995, 1997, 1998, 2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/binutils-all/vax/objdump.exp b/binutils/testsuite/binutils-all/vax/objdump.exp
index ada84bef023..819027a5c5d 100644
--- a/binutils/testsuite/binutils-all/vax/objdump.exp
+++ b/binutils/testsuite/binutils-all/vax/objdump.exp
@@ -1,10 +1,10 @@
#
-# Copyright 1993, 1994, 1995, 1997, 1999, 2000, 2002, 2005
+# Copyright 1993, 1994, 1995, 1997, 1999, 2000, 2002, 2005, 2007
# Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/binutils-all/windres/msupdate b/binutils/testsuite/binutils-all/windres/msupdate
index 31ceb07e452..236cff22e40 100755
--- a/binutils/testsuite/binutils-all/windres/msupdate
+++ b/binutils/testsuite/binutils-all/windres/msupdate
@@ -1,9 +1,9 @@
#!/bin/sh
-# Copyright 2001 Free Software Foundation, Inc.
+# Copyright 2001, 2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/binutils-all/windres/windres.exp b/binutils/testsuite/binutils-all/windres/windres.exp
index eb825d0f736..eb219dd456d 100644
--- a/binutils/testsuite/binutils-all/windres/windres.exp
+++ b/binutils/testsuite/binutils-all/windres/windres.exp
@@ -1,8 +1,8 @@
-# Copyright 2001, 2003, 2004, 2006 Free Software Foundation, Inc.
+# Copyright 2001, 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/config/default.exp b/binutils/testsuite/config/default.exp
index ff925ba78a6..3c849b8d658 100644
--- a/binutils/testsuite/config/default.exp
+++ b/binutils/testsuite/config/default.exp
@@ -1,9 +1,9 @@
-# Copyright 1993, 1994, 1995, 1997, 1999, 2001, 2002, 2004, 2005
+# Copyright 1993, 1994, 1995, 1997, 1999, 2001, 2002, 2004, 2005, 2007
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/testsuite/lib/utils-lib.exp b/binutils/testsuite/lib/utils-lib.exp
index 597437e6ffd..77af1721efd 100644
--- a/binutils/testsuite/lib/utils-lib.exp
+++ b/binutils/testsuite/lib/utils-lib.exp
@@ -1,9 +1,9 @@
-# Copyright 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2003, 2004, 2006
+# Copyright 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2003, 2004, 2006, 2007
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
diff --git a/binutils/unwind-ia64.c b/binutils/unwind-ia64.c
index c104e72bbc1..ad1827cdfba 100644
--- a/binutils/unwind-ia64.c
+++ b/binutils/unwind-ia64.c
@@ -1,22 +1,23 @@
/* unwind-ia64.c -- utility routines to dump IA-64 unwind info for readelf.
- Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright 2000, 2001, 2002, 2003, 2007 Free Software Foundation, Inc.
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
-This file is part of GNU Binutils.
+ This file is part of GNU Binutils.
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#include "unwind-ia64.h"
#include <stdio.h>
diff --git a/binutils/unwind-ia64.h b/binutils/unwind-ia64.h
index c2fb9b93943..1cc598dfa52 100644
--- a/binutils/unwind-ia64.h
+++ b/binutils/unwind-ia64.h
@@ -1,22 +1,23 @@
/* unwind-ia64.h -- dump IA-64 unwind info.
- Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright 2000, 2001, 2002, 2003, 2007 Free Software Foundation, Inc.
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
-This file is part of GNU Binutils.
+ This file is part of GNU Binutils.
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#include "elf/ia64.h"
#include "ansidecl.h"
diff --git a/binutils/version.c b/binutils/version.c
index b4a4c3d3e7e..69884107e9a 100644
--- a/binutils/version.c
+++ b/binutils/version.c
@@ -6,7 +6,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
@@ -16,14 +16,15 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#include "sysdep.h"
#include "bfd.h"
#include "bucomm.h"
-/* Print the version number and copyright information, and exit. This
- implements the --version option for the various programs. */
+/* Print the version number and copyright information, and exit.
+ This implements the --version option for the various programs. */
void
print_version (const char *name)
@@ -34,6 +35,7 @@ print_version (const char *name)
printf (_("Copyright 2007 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. This program has absolutely no warranty.\n"));
+the GNU General Public License version 3 or (at your option) any later version.\n\
+This program has absolutely no warranty.\n"));
exit (0);
}
diff --git a/binutils/windint.h b/binutils/windint.h
index b46f857a7a8..7093fd1fde8 100644
--- a/binutils/windint.h
+++ b/binutils/windint.h
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/windmc.c b/binutils/windmc.c
index 5465b351cd7..14a2f86a1de 100644
--- a/binutils/windmc.c
+++ b/binutils/windmc.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -20,6 +20,7 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
+
/* This program can read and comile Windows message format.
It is based on information taken from the following sources:
diff --git a/binutils/windmc.h b/binutils/windmc.h
index 08a77062609..9ce638fb182 100644
--- a/binutils/windmc.h
+++ b/binutils/windmc.h
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/windres.c b/binutils/windres.c
index 05615c432c5..ac643ad59a0 100644
--- a/binutils/windres.c
+++ b/binutils/windres.c
@@ -8,7 +8,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/windres.h b/binutils/windres.h
index 8b94306cebe..3e65886c81f 100644
--- a/binutils/windres.h
+++ b/binutils/windres.h
@@ -8,7 +8,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/winduni.c b/binutils/winduni.c
index f1bd58acf3b..bf5dbd43a12 100644
--- a/binutils/winduni.c
+++ b/binutils/winduni.c
@@ -8,7 +8,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -21,6 +21,7 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
+
/* This file contains unicode support routines for the windres
program. Ideally, we would have generic unicode support which
would work on all systems. However, we don't. Instead, on a
diff --git a/binutils/winduni.h b/binutils/winduni.h
index 82c3022831a..4e6e3eb96f6 100644
--- a/binutils/winduni.h
+++ b/binutils/winduni.h
@@ -8,7 +8,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
diff --git a/binutils/wrstabs.c b/binutils/wrstabs.c
index 325047ea71e..3b4f3f50532 100644
--- a/binutils/wrstabs.c
+++ b/binutils/wrstabs.c
@@ -7,7 +7,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,