diff options
Diffstat (limited to 'gold')
57 files changed, 1269 insertions, 149 deletions
diff --git a/gold/archive.cc b/gold/archive.cc index 47b65c5..ef6ff74 100644 --- a/gold/archive.cc +++ b/gold/archive.cc @@ -1,5 +1,25 @@ // archive.cc -- archive support for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <cerrno> diff --git a/gold/archive.h b/gold/archive.h index f86f2ee..8c35d22 100644 --- a/gold/archive.h +++ b/gold/archive.h @@ -1,5 +1,25 @@ // archive.h -- archive support for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_ARCHIVE_H #define GOLD_ARCHIVE_H diff --git a/gold/common.cc b/gold/common.cc index 40d4f95..e2e9f9f 100644 --- a/gold/common.cc +++ b/gold/common.cc @@ -1,5 +1,25 @@ // common.cc -- handle common symbols for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <algorithm> diff --git a/gold/common.h b/gold/common.h index 75237a6..e7fe84e 100644 --- a/gold/common.h +++ b/gold/common.h @@ -1,5 +1,25 @@ // common.h -- handle common symbols for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_COMMON_H #define GOLD_COMMON_H diff --git a/gold/defstd.cc b/gold/defstd.cc index 1e2431f..568ab4a 100644 --- a/gold/defstd.cc +++ b/gold/defstd.cc @@ -1,5 +1,25 @@ // defstd.cc -- define standard symbols for gold. +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include "symtab.h" diff --git a/gold/defstd.h b/gold/defstd.h index f578b49..d012afe 100644 --- a/gold/defstd.h +++ b/gold/defstd.h @@ -1,5 +1,25 @@ // defstd.h -- define standard symbols for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_DEFSTD_H #define GOLD_DEFSTD_H diff --git a/gold/dirsearch.cc b/gold/dirsearch.cc index d1298d8..8965903 100644 --- a/gold/dirsearch.cc +++ b/gold/dirsearch.cc @@ -1,5 +1,25 @@ // dirsearch.cc -- directory searching for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <cerrno> diff --git a/gold/dirsearch.h b/gold/dirsearch.h index 8b6ba59..8b5a91e 100644 --- a/gold/dirsearch.h +++ b/gold/dirsearch.h @@ -1,5 +1,25 @@ // dirsearch.h -- directory searching for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_DIRSEARCH_H #define GOLD_DIRSEARCH_H diff --git a/gold/dynobj.cc b/gold/dynobj.cc index a328b4d..b6255f8 100644 --- a/gold/dynobj.cc +++ b/gold/dynobj.cc @@ -1,5 +1,25 @@ // dynobj.cc -- dynamic object support for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <vector> diff --git a/gold/dynobj.h b/gold/dynobj.h index 46fea66..189bf68 100644 --- a/gold/dynobj.h +++ b/gold/dynobj.h @@ -1,5 +1,25 @@ // dynobj.h -- dynamic object support for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_DYNOBJ_H #define GOLD_DYNOBJ_H diff --git a/gold/fileread.cc b/gold/fileread.cc index 1a14202..8fad789 100644 --- a/gold/fileread.cc +++ b/gold/fileread.cc @@ -1,5 +1,25 @@ // fileread.cc -- read files for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <cstring> diff --git a/gold/fileread.h b/gold/fileread.h index 59d84f6..b2bb468 100644 --- a/gold/fileread.h +++ b/gold/fileread.h @@ -1,5 +1,25 @@ // fileread.h -- read files for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + // Classes used to read data from binary input files. #ifndef GOLD_FILEREAD_H diff --git a/gold/gold-threads.cc b/gold/gold-threads.cc index 5373739..ad9506c 100644 --- a/gold/gold-threads.cc +++ b/gold/gold-threads.cc @@ -1,5 +1,25 @@ // gold-threads.cc -- thread support for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #ifdef ENABLE_THREADS diff --git a/gold/gold-threads.h b/gold/gold-threads.h index e2a8388..a6f1752 100644 --- a/gold/gold-threads.h +++ b/gold/gold-threads.h @@ -1,5 +1,25 @@ // gold-threads.h -- thread support for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + // gold can be configured to support threads. If threads are // supported, the user can specify at runtime whether or not to // support them. This provides an interface to manage locking diff --git a/gold/gold.cc b/gold/gold.cc index 2d33462..a73cadb 100644 --- a/gold/gold.cc +++ b/gold/gold.cc @@ -1,5 +1,25 @@ // gold.cc -- main linker functions +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <cstdlib> diff --git a/gold/gold.h b/gold/gold.h index ca1a18b..3752846 100644 --- a/gold/gold.h +++ b/gold/gold.h @@ -1,5 +1,25 @@ // gold.h -- general definitions for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_GOLD_H #define GOLD_GOLD_H diff --git a/gold/i386.cc b/gold/i386.cc index bb47e88..00ac288 100644 --- a/gold/i386.cc +++ b/gold/i386.cc @@ -1,5 +1,25 @@ // i386.cc -- i386 target support for gold. +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <cstring> diff --git a/gold/layout.cc b/gold/layout.cc index d72b7e7..cd65df8 100644 --- a/gold/layout.cc +++ b/gold/layout.cc @@ -1,5 +1,25 @@ // layout.cc -- lay out output file sections for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <cstring> diff --git a/gold/layout.h b/gold/layout.h index ecb0490..38a3ad8 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -1,5 +1,25 @@ // layout.h -- lay out output file sections for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_LAYOUT_H #define GOLD_LAYOUT_H diff --git a/gold/main.cc b/gold/main.cc index 6395e62..e1135e9 100644 --- a/gold/main.cc +++ b/gold/main.cc @@ -1,5 +1,25 @@ // main.cc -- gold main function. +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include "options.h" diff --git a/gold/merge.cc b/gold/merge.cc index 7f08da6..d2972fd 100644 --- a/gold/merge.cc +++ b/gold/merge.cc @@ -1,5 +1,25 @@ // merge.cc -- handle section merging for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <cstdlib> diff --git a/gold/merge.h b/gold/merge.h index 65600e8..ab382a1 100644 --- a/gold/merge.h +++ b/gold/merge.h @@ -1,5 +1,25 @@ // merge.h -- handle section merging for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_MERGE_H #define GOLD_MERGE_H diff --git a/gold/object.cc b/gold/object.cc index 39022c6..336eaf6 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -1,5 +1,25 @@ // object.cc -- support for an object file for linking in gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <cerrno> diff --git a/gold/object.h b/gold/object.h index a4b53da..55935c1 100644 --- a/gold/object.h +++ b/gold/object.h @@ -1,5 +1,25 @@ // object.h -- support for an object file for linking in gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_OBJECT_H #define GOLD_OBJECT_H diff --git a/gold/options.cc b/gold/options.cc index 2f83e10..577c604 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -1,5 +1,25 @@ // options.c -- handle command line options for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 <iostream> #include "gold.h" diff --git a/gold/options.h b/gold/options.h index 1d0232e..85a7aee 100644 --- a/gold/options.h +++ b/gold/options.h @@ -1,5 +1,25 @@ // options.h -- handle command line options for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + // Command_line // Holds everything we get from the command line. // General_options (from Command_line::options()) diff --git a/gold/output.cc b/gold/output.cc index 19ea562..9fc3103 100644 --- a/gold/output.cc +++ b/gold/output.cc @@ -1,5 +1,25 @@ // output.cc -- manage the output file for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <cstdlib> diff --git a/gold/output.h b/gold/output.h index 4fb859b..195aee7 100644 --- a/gold/output.h +++ b/gold/output.h @@ -1,5 +1,25 @@ // output.h -- manage the output file for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_OUTPUT_H #define GOLD_OUTPUT_H diff --git a/gold/parameters.cc b/gold/parameters.cc index 1780724..462eeea 100644 --- a/gold/parameters.cc +++ b/gold/parameters.cc @@ -1,5 +1,25 @@ // parameters.cc -- general parameters for a link using gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include "options.h" diff --git a/gold/parameters.h b/gold/parameters.h index 040cc28..cfbf953 100644 --- a/gold/parameters.h +++ b/gold/parameters.h @@ -1,5 +1,25 @@ // parameters.h -- general parameters for a link using gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_PARAMETERS_H #define GOLD_PARAMETERS_H diff --git a/gold/po/gold.pot b/gold/po/gold.pot index 2618535..5196fdd 100644 --- a/gold/po/gold.pot +++ b/gold/po/gold.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-21 18:47-0700\n" +"POT-Creation-Date: 2007-09-22 13:59-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -16,704 +16,704 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: archive.cc:69 +#: archive.cc:89 #, c-format msgid "%s: %s: no archive symbol table (run ranlib)\n" msgstr "" -#: archive.cc:121 +#: archive.cc:141 #, c-format msgid "%s: %s: bad archive symbol table names\n" msgstr "" -#: archive.cc:153 +#: archive.cc:173 #, c-format msgid "%s; %s: malformed archive header at %ld\n" msgstr "" -#: archive.cc:174 +#: archive.cc:194 #, c-format msgid "%s: %s: malformed archive header size at %ld\n" msgstr "" -#: archive.cc:186 +#: archive.cc:206 #, c-format msgid "%s: %s: malformed archive header name at %ld\n" msgstr "" -#: archive.cc:212 +#: archive.cc:232 #, c-format msgid "%s: %s: bad extended name index at %ld\n" msgstr "" -#: archive.cc:223 +#: archive.cc:243 #, c-format msgid "%s: %s: bad extended name entry at header %ld\n" msgstr "" -#: archive.cc:318 +#: archive.cc:338 #, c-format msgid "%s: %s: short archive header at %ld\n" msgstr "" -#: archive.cc:367 archive.cc:380 +#: archive.cc:387 archive.cc:400 #, c-format msgid "%s: %s: member at %ld is not an ELF object" msgstr "" -#: dirsearch.cc:50 +#: dirsearch.cc:70 #, c-format msgid "can not read directory %s" msgstr "" -#: dynobj.cc:110 +#: dynobj.cc:130 #, c-format msgid "%s: %s: unexpected duplicate type %u section: %u, %u\n" msgstr "" -#: dynobj.cc:151 +#: dynobj.cc:171 #, c-format msgid "%s: %s: unexpected link in section %u header: %u != %u\n" msgstr "" -#: dynobj.cc:189 +#: dynobj.cc:209 #, c-format msgid "%s: %s: DYNAMIC section %u link out of range: %u\n" msgstr "" -#: dynobj.cc:199 +#: dynobj.cc:219 #, c-format msgid "%s: %s: DYNAMIC section %u link %u is not a strtab\n" msgstr "" -#: dynobj.cc:221 +#: dynobj.cc:241 #, c-format msgid "%s: %s: DT_SONAME value out of range: %lld >= %lld\n" msgstr "" -#: dynobj.cc:238 +#: dynobj.cc:258 #, c-format msgid "%s: %s: missing DT_NULL in dynamic segment\n" msgstr "" -#: dynobj.cc:286 +#: dynobj.cc:306 #, c-format msgid "%s: %s: invalid dynamic symbol table name index: %u\n" msgstr "" -#: dynobj.cc:294 +#: dynobj.cc:314 #, c-format msgid "%s: %s: dynamic symbol table name section has wrong type: %u\n" msgstr "" -#: dynobj.cc:368 object.cc:419 +#: dynobj.cc:388 object.cc:439 #, c-format msgid "%s: %s: bad section name offset for section %u: %lu\n" msgstr "" -#: dynobj.cc:399 +#: dynobj.cc:419 #, c-format msgid "%s: %s: duplicate definition for version %u\n" msgstr "" -#: dynobj.cc:431 +#: dynobj.cc:451 #, c-format msgid "%s: %s: unexpected verdef version %u\n" msgstr "" -#: dynobj.cc:447 +#: dynobj.cc:467 #, c-format msgid "%s: %s: verdef vd_cnt field too small: %u\n" msgstr "" -#: dynobj.cc:456 +#: dynobj.cc:476 #, c-format msgid "%s: %s: verdef vd_aux field out of range: %u\n" msgstr "" -#: dynobj.cc:468 +#: dynobj.cc:488 #, c-format msgid "%s: %s: verdaux vda_name field out of range: %u\n" msgstr "" -#: dynobj.cc:479 +#: dynobj.cc:499 #, c-format msgid "%s: %s: verdef vd_next field out of range: %u\n" msgstr "" -#: dynobj.cc:513 +#: dynobj.cc:533 #, c-format msgid "%s: %s: unexpected verneed version %u\n" msgstr "" -#: dynobj.cc:524 +#: dynobj.cc:544 #, c-format msgid "%s: %s: verneed vn_aux field out of range: %u\n" msgstr "" -#: dynobj.cc:539 +#: dynobj.cc:559 #, c-format msgid "%s: %s: vernaux vna_name field out of range: %u\n" msgstr "" -#: dynobj.cc:552 +#: dynobj.cc:572 #, c-format msgid "%s: %s: verneed vna_next field out of range: %u\n" msgstr "" -#: dynobj.cc:565 +#: dynobj.cc:585 #, c-format msgid "%s: %s: verneed vn_next field out of range: %u\n" msgstr "" -#: dynobj.cc:613 +#: dynobj.cc:633 #, c-format msgid "%s: %s: size of dynamic symbols is not multiple of symbol size\n" msgstr "" -#: dynobj.cc:1244 +#: dynobj.cc:1264 #, c-format msgid "%s: symbol %s has undefined version %s\n" msgstr "" -#: fileread.cc:55 +#: fileread.cc:75 #, c-format msgid "%s: warning: close(%s) failed: %s" msgstr "" -#: fileread.cc:143 +#: fileread.cc:163 #, c-format msgid "%s: %s: lseek to %lld failed: %s" msgstr "" -#: fileread.cc:153 +#: fileread.cc:173 #, c-format msgid "%s: %s: read failed: %s\n" msgstr "" -#: fileread.cc:173 fileread.cc:256 +#: fileread.cc:193 fileread.cc:276 #, c-format msgid "%s: %s: file too short: read only %lld of %lld bytes at %lld\n" msgstr "" -#: fileread.cc:365 +#: fileread.cc:385 #, c-format msgid "%s: cannot find %s\n" msgstr "" -#: fileread.cc:373 +#: fileread.cc:393 #, c-format msgid "%s: cannot open %s: %s\n" msgstr "" -#: gold.cc:106 +#: gold.cc:126 msgid "no input files" msgstr "" -#: gold-threads.cc:46 +#: gold-threads.cc:66 msgid "pthead_mutextattr_init failed" msgstr "" -#: gold-threads.cc:49 +#: gold-threads.cc:69 msgid "pthread_mutextattr_settype failed" msgstr "" -#: gold-threads.cc:53 +#: gold-threads.cc:73 msgid "pthread_mutex_init failed" msgstr "" -#: gold-threads.cc:56 +#: gold-threads.cc:76 msgid "pthread_mutexattr_destroy failed" msgstr "" -#: gold-threads.cc:62 +#: gold-threads.cc:82 msgid "pthread_mutex_destroy failed" msgstr "" -#: gold-threads.cc:69 +#: gold-threads.cc:89 msgid "pthread_mutex_lock failed" msgstr "" -#: gold-threads.cc:76 +#: gold-threads.cc:96 msgid "pthread_mutex_unlock failed" msgstr "" -#: gold-threads.cc:157 +#: gold-threads.cc:177 msgid "pthread_cond_init failed" msgstr "" -#: gold-threads.cc:163 +#: gold-threads.cc:183 msgid "pthread_cond_destroy failed" msgstr "" -#: gold-threads.cc:170 +#: gold-threads.cc:190 msgid "pthread_cond_wait failed" msgstr "" -#: gold-threads.cc:177 +#: gold-threads.cc:197 msgid "pthread_cond_signal failed" msgstr "" #. FIXME: This needs to specify the location somehow. -#: i386.cc:105 +#: i386.cc:125 #, c-format msgid "%s: missing expected TLS relocation\n" msgstr "" -#: i386.cc:726 i386.cc:876 i386.cc:1138 +#: i386.cc:746 i386.cc:896 i386.cc:1158 #, c-format msgid "%s: %s: unexpected reloc %u in object file\n" msgstr "" -#: i386.cc:763 i386.cc:783 +#: i386.cc:783 i386.cc:803 #, c-format msgid "%s: %s: unsupported reloc %u against local symbol\n" msgstr "" -#: i386.cc:912 i386.cc:933 +#: i386.cc:932 i386.cc:953 #, c-format msgid "%s: %s: unsupported reloc %u against global symbol %s\n" msgstr "" -#: i386.cc:956 +#: i386.cc:976 #, c-format msgid "%s: %s: unsupported RELA reloc section\n" msgstr "" -#: i386.cc:1046 +#: i386.cc:1066 #, c-format msgid "%s: %s: missing expected TLS relocation\n" msgstr "" -#: i386.cc:1170 i386.cc:1247 i386.cc:1258 +#: i386.cc:1190 i386.cc:1267 i386.cc:1278 #, c-format msgid "%s: %s: unsupported reloc %u\n" msgstr "" -#: i386.cc:1197 +#: i386.cc:1217 #, c-format msgid "%s: %s: TLS reloc but no TLS segment\n" msgstr "" -#: i386.cc:1232 +#: i386.cc:1252 #, c-format msgid "%s: %s: unsupported reloc type %u\n" msgstr "" -#: i386.cc:1441 +#: i386.cc:1461 #, c-format msgid "%s: %s: TLS relocation out of range\n" msgstr "" -#: i386.cc:1459 +#: i386.cc:1479 #, c-format msgid "%s: %s: TLS relocation against invalid instruction\n" msgstr "" -#: merge.cc:252 +#: merge.cc:246 #, c-format msgid "" "%s: %s: mergeable string section length not multiple of character size\n" msgstr "" -#: merge.cc:269 +#: merge.cc:263 #, c-format msgid "%s: %s: entry in mergeable string section not null terminated\n" msgstr "" -#: object.cc:30 +#: object.cc:50 #, c-format msgid "%s: %s: unsupported ELF machine number %d\n" msgstr "" -#: object.cc:86 +#: object.cc:106 #, c-format msgid "%s: %s: section name section has wrong type: %u\n" msgstr "" -#: object.cc:228 +#: object.cc:248 #, c-format msgid "%s: %s: invalid symbol table name index: %u\n" msgstr "" -#: object.cc:236 +#: object.cc:256 #, c-format msgid "%s: %s: symbol table name section has wrong type: %u\n" msgstr "" -#: object.cc:292 +#: object.cc:312 #, c-format msgid "%s: %s: section group %u info %u out of range\n" msgstr "" -#: object.cc:309 +#: object.cc:329 #, c-format msgid "%s: %s: symbol %u name offset %u out of range\n" msgstr "" -#: object.cc:343 +#: object.cc:363 #, c-format msgid "%s: %s: section %u in section group %u out of range" msgstr "" -#: object.cc:487 +#: object.cc:507 #, c-format msgid "%s: %s: size of symbols is not multiple of symbol size\n" msgstr "" -#: object.cc:575 +#: object.cc:595 #, c-format msgid "%s: %s: unknown section index %u for local symbol %u\n" msgstr "" -#: object.cc:586 +#: object.cc:606 #, c-format msgid "%s: %s: local symbol %u section index %u out of range\n" msgstr "" -#: object.cc:620 +#: object.cc:640 #, c-format msgid "%s: %s: local symbol %u section name out of range: %u >= %u\n" msgstr "" -#: object.cc:834 +#: object.cc:854 #, c-format msgid "%s: %s: unsupported ELF file type %d\n" msgstr "" -#: object.cc:853 object.cc:906 object.cc:941 +#: object.cc:873 object.cc:926 object.cc:961 #, c-format msgid "%s: %s: ELF file too short\n" msgstr "" -#: object.cc:862 +#: object.cc:882 #, c-format msgid "%s: %s: invalid ELF version 0\n" msgstr "" -#: object.cc:865 +#: object.cc:885 #, c-format msgid "%s: %s: unsupported ELF version %d\n" msgstr "" -#: object.cc:873 +#: object.cc:893 #, c-format msgid "%s: %s: invalid ELF class 0\n" msgstr "" -#: object.cc:880 +#: object.cc:900 #, c-format msgid "%s: %s: unsupported ELF class %d\n" msgstr "" -#: object.cc:888 +#: object.cc:908 #, c-format msgid "%s: %s: invalid ELF data encoding\n" msgstr "" -#: object.cc:895 +#: object.cc:915 #, c-format msgid "%s: %s: unsupported ELF data encoding %d\n" msgstr "" -#: object.cc:918 +#: object.cc:938 #, c-format msgid "%s: %s: not configured to support 32-bit big-endian object\n" msgstr "" -#: object.cc:931 +#: object.cc:951 #, c-format msgid "%s: %s: not configured to support 32-bit little-endian object\n" msgstr "" -#: object.cc:953 +#: object.cc:973 #, c-format msgid "%s: %s: not configured to support 64-bit big-endian object\n" msgstr "" -#: object.cc:966 +#: object.cc:986 #, c-format msgid "%s: %s: not configured to support 64-bit little-endian object\n" msgstr "" -#: options.cc:115 +#: options.cc:135 #, c-format msgid "" "Usage: %s [options] file...\n" "Options:\n" msgstr "" -#: options.cc:230 +#: options.cc:250 msgid "Search for library LIBNAME" msgstr "" -#: options.cc:231 +#: options.cc:251 msgid "-lLIBNAME, --library LIBNAME" msgstr "" -#: options.cc:233 +#: options.cc:253 msgid "Start a library search group" msgstr "" -#: options.cc:235 +#: options.cc:255 msgid "End a library search group" msgstr "" -#: options.cc:237 +#: options.cc:257 msgid "Export all dynamic symbols" msgstr "" -#: options.cc:239 +#: options.cc:259 msgid "Set dynamic linker path" msgstr "" -#: options.cc:240 +#: options.cc:260 msgid "-I PROGRAM, --dynamic-linker PROGRAM" msgstr "" -#: options.cc:242 +#: options.cc:262 msgid "Add directory to search path" msgstr "" -#: options.cc:243 +#: options.cc:263 msgid "-L DIR, --library-path DIR" msgstr "" -#: options.cc:245 +#: options.cc:265 msgid "Ignored for compatibility" msgstr "" -#: options.cc:247 +#: options.cc:267 msgid "Optimize output file size" msgstr "" -#: options.cc:248 +#: options.cc:268 msgid "-O level" msgstr "" -#: options.cc:250 +#: options.cc:270 msgid "Set output file name" msgstr "" -#: options.cc:251 +#: options.cc:271 msgid "-o FILE, --output FILE" msgstr "" -#: options.cc:253 +#: options.cc:273 msgid "Generate relocatable output" msgstr "" -#: options.cc:255 +#: options.cc:275 msgid "Add DIR to runtime search path" msgstr "" -#: options.cc:256 +#: options.cc:276 msgid "-R DIR, -rpath DIR" msgstr "" -#: options.cc:258 +#: options.cc:278 msgid "Create exception frame header" msgstr "" -#: options.cc:261 +#: options.cc:281 msgid "Add DIR to link time shared library search path" msgstr "" -#: options.cc:262 +#: options.cc:282 msgid "--rpath-link DIR" msgstr "" -#: options.cc:264 +#: options.cc:284 msgid "Generate shared library" msgstr "" -#: options.cc:266 +#: options.cc:286 msgid "Do not link against shared libraries" msgstr "" -#: options.cc:269 +#: options.cc:289 msgid "Only set DT_NEEDED for dynamic libs if used" msgstr "" -#: options.cc:272 +#: options.cc:292 msgid "Always DT_NEEDED for dynamic libs (default)" msgstr "" -#: options.cc:275 +#: options.cc:295 msgid "Include all archive contents" msgstr "" -#: options.cc:279 +#: options.cc:299 msgid "Include only needed archive contents" msgstr "" -#: options.cc:282 +#: options.cc:302 msgid "Report usage information" msgstr "" -#: options.cc:425 options.cc:476 options.cc:555 +#: options.cc:445 options.cc:496 options.cc:575 msgid "missing argument" msgstr "" -#: options.cc:438 options.cc:485 +#: options.cc:458 options.cc:505 msgid "unknown option" msgstr "" -#: options.cc:493 +#: options.cc:513 #, c-format msgid "%s: missing group end" msgstr "" -#: options.cc:568 +#: options.cc:588 msgid "may not nest groups" msgstr "" -#: options.cc:578 +#: options.cc:598 msgid "group end without group start" msgstr "" -#: options.cc:588 +#: options.cc:608 #, c-format msgid "%s: use the --help option for usage information\n" msgstr "" -#: options.cc:597 script.cc:1133 +#: options.cc:617 script.cc:1153 #, c-format msgid "%s: %s: %s\n" msgstr "" -#: options.cc:606 +#: options.cc:626 #, c-format msgid "%s: -%c: %s\n" msgstr "" -#: output.cc:901 +#: output.cc:921 #, c-format msgid "%s: %s: invalid alignment %lu for section \"%s\"\n" msgstr "" -#: output.cc:1550 +#: output.cc:1570 #, c-format msgid "%s: %s: open: %s\n" msgstr "" -#: output.cc:1559 +#: output.cc:1579 #, c-format msgid "%s: %s: lseek: %s\n" msgstr "" -#: output.cc:1566 +#: output.cc:1586 #, c-format msgid "%s: %s: write: %s\n" msgstr "" -#: output.cc:1576 +#: output.cc:1596 #, c-format msgid "%s: %s: mmap: %s\n" msgstr "" -#: output.cc:1590 +#: output.cc:1610 #, c-format msgid "%s: %s: munmap: %s\n" msgstr "" -#: output.cc:1598 +#: output.cc:1618 #, c-format msgid "%s: %s: close: %s\n" msgstr "" -#: readsyms.cc:93 +#: readsyms.cc:113 #, c-format msgid "%s: %s: ordinary object found in input group\n" msgstr "" -#: readsyms.cc:134 +#: readsyms.cc:154 #, c-format msgid "%s: %s: file is empty\n" msgstr "" #. Here we have to handle any other input file types we need. -#: readsyms.cc:147 +#: readsyms.cc:167 #, c-format msgid "%s: %s: not an object or archive\n" msgstr "" -#: reloc.cc:169 reloc.cc:413 +#: reloc.cc:189 reloc.cc:433 #, c-format msgid "%s: %s: relocation section %u has bad info %u\n" msgstr "" -#: reloc.cc:188 reloc.cc:430 +#: reloc.cc:208 reloc.cc:450 #, c-format msgid "%s: %s: relocation section %u uses unexpected symbol table %u\n" msgstr "" -#: reloc.cc:204 reloc.cc:449 +#: reloc.cc:224 reloc.cc:469 #, c-format msgid "%s: %s: unexpected entsize for reloc section %u: %lu != %u" msgstr "" -#: reloc.cc:215 reloc.cc:460 +#: reloc.cc:235 reloc.cc:480 #, c-format msgid "%s: %s: reloc section %u size %lu uneven" msgstr "" -#: resolve.cc:117 +#: resolve.cc:137 #, c-format msgid "%s: %s: invalid STB_LOCAL symbol %s in external symbols\n" msgstr "" -#: resolve.cc:123 +#: resolve.cc:143 #, c-format msgid "%s: %s: unsupported symbol binding %d for symbol %s\n" msgstr "" -#: symtab.cc:456 symtab.cc:553 +#: symtab.cc:476 symtab.cc:573 #, c-format msgid "%s: %s: mixing 32-bit and 64-bit ELF objects\n" msgstr "" -#: symtab.cc:473 +#: symtab.cc:493 #, c-format msgid "%s: %s: bad global symbol name offset %u at %lu\n" msgstr "" -#: symtab.cc:560 +#: symtab.cc:580 #, c-format msgid "%s: %s: too few symbol versions\n" msgstr "" -#: symtab.cc:580 +#: symtab.cc:600 #, c-format msgid "%s: %s: bad symbol name offset %u at %lu\n" msgstr "" -#: symtab.cc:633 +#: symtab.cc:653 #, c-format msgid "%s: %s: versym for symbol %zu out of range: %u\n" msgstr "" -#: symtab.cc:641 +#: symtab.cc:661 #, c-format msgid "%s: %s: versym for symbol %zu has no name: %u\n" msgstr "" -#: symtab.cc:1180 symtab.cc:1352 +#: symtab.cc:1200 symtab.cc:1372 #, c-format msgid "%s: %s: unsupported symbol section 0x%x\n" msgstr "" -#: symtab.cc:1545 +#: symtab.cc:1565 #, c-format msgid "%s: %s: warning: %s\n" msgstr "" -#: target-reloc.h:170 +#: target-reloc.h:190 #, c-format msgid "%s: %s: reloc has bad offset %zu\n" msgstr "" -#: target-reloc.h:180 +#: target-reloc.h:200 #, c-format msgid "%s: %s: undefined reference to '%s'\n" msgstr "" diff --git a/gold/readsyms.cc b/gold/readsyms.cc index 5ac58bc..0e406fd 100644 --- a/gold/readsyms.cc +++ b/gold/readsyms.cc @@ -1,5 +1,25 @@ // readsyms.cc -- read input file symbols for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <cstring> diff --git a/gold/readsyms.h b/gold/readsyms.h index 606b6e0..ae0d009 100644 --- a/gold/readsyms.h +++ b/gold/readsyms.h @@ -1,5 +1,25 @@ // readsyms.h -- read input file symbols for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_READSYMS_H #define GOLD_READSYMS_H diff --git a/gold/reloc-types.h b/gold/reloc-types.h index 62538d6..e8a0689 100644 --- a/gold/reloc-types.h +++ b/gold/reloc-types.h @@ -1,5 +1,25 @@ // reloc-types.h -- ELF relocation templates for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + // This header files defines a few convenient templated types for use // when handling ELF relocations. diff --git a/gold/reloc.cc b/gold/reloc.cc index cf7ee30..d4674bb 100644 --- a/gold/reloc.cc +++ b/gold/reloc.cc @@ -1,5 +1,25 @@ // reloc.cc -- relocate input files for gold. +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include "workqueue.h" diff --git a/gold/reloc.h b/gold/reloc.h index 1aa0d89..cc1149b 100644 --- a/gold/reloc.h +++ b/gold/reloc.h @@ -1,5 +1,25 @@ // reloc.h -- relocate input files for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_RELOC_H #define GOLD_RELOC_H diff --git a/gold/resolve.cc b/gold/resolve.cc index 599aad4..4b12c45 100644 --- a/gold/resolve.cc +++ b/gold/resolve.cc @@ -1,5 +1,25 @@ // resolve.cc -- symbol resolution for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include "elfcpp.h" diff --git a/gold/script-c.h b/gold/script-c.h index e404889..cb0ef8e 100644 --- a/gold/script-c.h +++ b/gold/script-c.h @@ -1,5 +1,25 @@ /* script-c.h -- C interface for linker scripts in gold. */ +/* Copyright 2006, 2007 Free Software Foundation, Inc. + Written by Ian Lance Taylor <iant@google.com>. + + This file is part of gold. + + 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. */ + /* This file exists so that both the bison parser and script.cc can include it, so that they can communicate back and forth. */ diff --git a/gold/script.cc b/gold/script.cc index 44de551..6600411 100644 --- a/gold/script.cc +++ b/gold/script.cc @@ -1,5 +1,25 @@ // script.cc -- handle linker scripts for gold. +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <string> diff --git a/gold/script.h b/gold/script.h index de2e5af..8198c97 100644 --- a/gold/script.h +++ b/gold/script.h @@ -1,5 +1,25 @@ // script.h -- handle linker scripts for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + // We implement a subset of the original GNU ld linker script language // for compatibility. The goal is not to implement the entire // language. It is merely to implement enough to handle common uses. diff --git a/gold/stringpool.cc b/gold/stringpool.cc index 43f6328..14556ce 100644 --- a/gold/stringpool.cc +++ b/gold/stringpool.cc @@ -1,5 +1,25 @@ // stringpool.cc -- a string pool for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <cstring> diff --git a/gold/stringpool.h b/gold/stringpool.h index 11e9736..8553275 100644 --- a/gold/stringpool.h +++ b/gold/stringpool.h @@ -1,5 +1,25 @@ // stringpool.h -- a string pool for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 <string> #include <list> diff --git a/gold/symtab.cc b/gold/symtab.cc index 09a3b0e..2260aca 100644 --- a/gold/symtab.cc +++ b/gold/symtab.cc @@ -1,5 +1,25 @@ // symtab.cc -- the gold symbol table +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <stdint.h> diff --git a/gold/symtab.h b/gold/symtab.h index 6d9a609..6420638 100644 --- a/gold/symtab.h +++ b/gold/symtab.h @@ -1,5 +1,25 @@ // symtab.h -- the gold symbol table -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + // Symbol_table // The symbol table. diff --git a/gold/target-reloc.h b/gold/target-reloc.h index 1e9ecd0..c827d79 100644 --- a/gold/target-reloc.h +++ b/gold/target-reloc.h @@ -1,5 +1,25 @@ // target-reloc.h -- target specific relocation support -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_TARGET_RELOC_H #define GOLD_TARGET_RELOC_H diff --git a/gold/target-select.cc b/gold/target-select.cc index d15d0e3..085270f 100644 --- a/gold/target-select.cc +++ b/gold/target-select.cc @@ -1,5 +1,25 @@ // target-select.cc -- select a target for an object file +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include "elfcpp.h" diff --git a/gold/target-select.h b/gold/target-select.h index 8ccd75f..b339714 100644 --- a/gold/target-select.h +++ b/gold/target-select.h @@ -1,5 +1,25 @@ // target-select.h -- select a target for an object file -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_TARGET_SELECT_H #define GOLD_TARGET_SELECT_H diff --git a/gold/target.h b/gold/target.h index 17cd40b..32ad143 100644 --- a/gold/target.h +++ b/gold/target.h @@ -1,5 +1,25 @@ // target.h -- target support for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + // The abstract class Target is the interface for target specific // support. It defines abstract methods which each target must // implement. Typically there will be one target per processor, but diff --git a/gold/testsuite/object_unittest.cc b/gold/testsuite/object_unittest.cc index c15237d..e95ea32 100644 --- a/gold/testsuite/object_unittest.cc +++ b/gold/testsuite/object_unittest.cc @@ -1,5 +1,25 @@ // object_unittest.cc -- test Object, Relobj, etc. +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include "object.h" diff --git a/gold/testsuite/test.cc b/gold/testsuite/test.cc index 37a4ada..6eec339 100644 --- a/gold/testsuite/test.cc +++ b/gold/testsuite/test.cc @@ -1,5 +1,25 @@ // test.cc -- simplistic test framework for gold. +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include <cstdio> diff --git a/gold/testsuite/test.h b/gold/testsuite/test.h index e0556e2..cd2628f 100644 --- a/gold/testsuite/test.h +++ b/gold/testsuite/test.h @@ -1,5 +1,25 @@ // test.h -- simplistic test framework for gold unittests -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_TESTSUITE_TEST_H #define GOLD_TESTSUITE_TEST_H diff --git a/gold/testsuite/testfile.cc b/gold/testsuite/testfile.cc index bbbfc21..bb2da76 100644 --- a/gold/testsuite/testfile.cc +++ b/gold/testsuite/testfile.cc @@ -1,5 +1,25 @@ // testfile.cc -- Dummy ELF objects for testing purposes. +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include "target.h" diff --git a/gold/testsuite/testfile.h b/gold/testsuite/testfile.h index c123107..9a5fbc3 100644 --- a/gold/testsuite/testfile.h +++ b/gold/testsuite/testfile.h @@ -1,5 +1,25 @@ // testfile.h -- test input files -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + #ifndef GOLD_TESTSUITE_TESTFILE_H #define GOLD_TESTSUITE_TESTFILE_H diff --git a/gold/testsuite/testmain.cc b/gold/testsuite/testmain.cc index eb46b72..1d087a7 100644 --- a/gold/testsuite/testmain.cc +++ b/gold/testsuite/testmain.cc @@ -1,5 +1,25 @@ // testmain.cc -- main function for simplisitic gold test framework. +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include "test.h" diff --git a/gold/workqueue.cc b/gold/workqueue.cc index 9062118..2c7e880 100644 --- a/gold/workqueue.cc +++ b/gold/workqueue.cc @@ -1,5 +1,25 @@ // workqueue.cc -- the workqueue for gold +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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 "gold.h" #include "workqueue.h" diff --git a/gold/workqueue.h b/gold/workqueue.h index ed7a5b0..0b88f94 100644 --- a/gold/workqueue.h +++ b/gold/workqueue.h @@ -1,5 +1,25 @@ // workqueue.h -- the work queue for gold -*- C++ -*- +// Copyright 2006, 2007 Free Software Foundation, Inc. +// Written by Ian Lance Taylor <iant@google.com>. + +// This file is part of gold. + +// 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. + // After processing the command line, everything the linker does is // driven from a work queue. This permits us to parallelize the // linker where possible. diff --git a/gold/yyscript.y b/gold/yyscript.y index 0bd2b60..b78c09b 100644 --- a/gold/yyscript.y +++ b/gold/yyscript.y @@ -1,5 +1,25 @@ /* yyscript.y -- linker script grammer for gold. */ +/* Copyright 2006, 2007 Free Software Foundation, Inc. + Written by Ian Lance Taylor <iant@google.com>. + + This file is part of gold. + + 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. */ + /* This is a bison grammar to parse a subset of the original GNU ld linker script language. */ |