Add licensing text to every source file.

This commit is contained in:
Ian Lance Taylor 2007-09-22 21:02:10 +00:00
parent 7e0cdd2361
commit 6cb15b7f89
63 changed files with 1443 additions and 149 deletions

View File

@ -1,5 +1,34 @@
// elfcpp.h -- main header file for elfcpp -*- C++ -*- // elfcpp.h -- main header file for elfcpp -*- C++ -*-
// Copyright 2006, 2007, Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of elfcpp.
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public License
// as published by the Free Software Foundation; either version 2, or
// (at your option) any later version.
// In addition to the permissions in the GNU Library General Public
// License, the Free Software Foundation gives you unlimited
// permission to link the compiled version of this file into
// combinations with other programs, and to distribute those
// combinations without any restriction coming from the use of this
// file. (The Library Public License restrictions do apply in other
// respects; for example, they cover modification of the file, and
/// distribution when not linked into a combined executable.)
// 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
// Library General Public License for more details.
// You should have received a copy of the GNU Library 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 the external interface for elfcpp. // This is the external interface for elfcpp.
#ifndef ELFCPP_H #ifndef ELFCPP_H

View File

@ -1,5 +1,34 @@
// elfcpp_file.h -- file access for elfcpp -*- C++ -*- // elfcpp_file.h -- file access for elfcpp -*- C++ -*-
// Copyright 2006, 2007, Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of elfcpp.
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public License
// as published by the Free Software Foundation; either version 2, or
// (at your option) any later version.
// In addition to the permissions in the GNU Library General Public
// License, the Free Software Foundation gives you unlimited
// permission to link the compiled version of this file into
// combinations with other programs, and to distribute those
// combinations without any restriction coming from the use of this
// file. (The Library Public License restrictions do apply in other
// respects; for example, they cover modification of the file, and
/// distribution when not linked into a combined executable.)
// 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
// Library General Public License for more details.
// You should have received a copy of the GNU Library 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 file defines the class Elf_file which can be used to // This header file defines the class Elf_file which can be used to
// read useful data from an ELF file. The functions here are all // read useful data from an ELF file. The functions here are all
// templates which take a file interface object as a parameter. This // templates which take a file interface object as a parameter. This

View File

@ -1,5 +1,34 @@
// elfcpp_internal.h -- internals for elfcpp -*- C++ -*- // elfcpp_internal.h -- internals for elfcpp -*- C++ -*-
// Copyright 2006, 2007, Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of elfcpp.
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public License
// as published by the Free Software Foundation; either version 2, or
// (at your option) any later version.
// In addition to the permissions in the GNU Library General Public
// License, the Free Software Foundation gives you unlimited
// permission to link the compiled version of this file into
// combinations with other programs, and to distribute those
// combinations without any restriction coming from the use of this
// file. (The Library Public License restrictions do apply in other
// respects; for example, they cover modification of the file, and
/// distribution when not linked into a combined executable.)
// 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
// Library General Public License for more details.
// You should have received a copy of the GNU Library 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 included by elfcpp.h, the external interface, but holds // This is included by elfcpp.h, the external interface, but holds
// information which we want to keep private. // information which we want to keep private.

View File

@ -1,5 +1,34 @@
// elfcpp_swap.h -- Handle swapping for elfcpp -*- C++ -*- // elfcpp_swap.h -- Handle swapping for elfcpp -*- C++ -*-
// Copyright 2006, 2007, Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of elfcpp.
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public License
// as published by the Free Software Foundation; either version 2, or
// (at your option) any later version.
// In addition to the permissions in the GNU Library General Public
// License, the Free Software Foundation gives you unlimited
// permission to link the compiled version of this file into
// combinations with other programs, and to distribute those
// combinations without any restriction coming from the use of this
// file. (The Library Public License restrictions do apply in other
// respects; for example, they cover modification of the file, and
/// distribution when not linked into a combined executable.)
// 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
// Library General Public License for more details.
// You should have received a copy of the GNU Library 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 file defines basic template classes to efficiently swap // This header file defines basic template classes to efficiently swap
// numbers between host form and target form. When the host and // numbers between host form and target form. When the host and
// target have the same endianness, these turn into no-ops. // target have the same endianness, these turn into no-ops.

View File

@ -1,5 +1,34 @@
// i386.h -- ELF definitions specific to EM_386 -*- C++ -*- // i386.h -- ELF definitions specific to EM_386 -*- C++ -*-
// Copyright 2006, 2007, Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of elfcpp.
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public License
// as published by the Free Software Foundation; either version 2, or
// (at your option) any later version.
// In addition to the permissions in the GNU Library General Public
// License, the Free Software Foundation gives you unlimited
// permission to link the compiled version of this file into
// combinations with other programs, and to distribute those
// combinations without any restriction coming from the use of this
// file. (The Library Public License restrictions do apply in other
// respects; for example, they cover modification of the file, and
/// distribution when not linked into a combined executable.)
// 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
// Library General Public License for more details.
// You should have received a copy of the GNU Library 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 ELFCPP_I386_H #ifndef ELFCPP_I386_H
#define ELFCPP_I386_H #define ELFCPP_I386_H

View File

@ -1,5 +1,34 @@
// x86-64.h -- ELF definitions specific to EM_X86_64 -*- C++ -*- // x86-64.h -- ELF definitions specific to EM_X86_64 -*- C++ -*-
// Copyright 2006, 2007, Free Software Foundation, Inc.
// Written by Andrew Chatham <chatham@google.com>.
// This file is part of elfcpp.
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public License
// as published by the Free Software Foundation; either version 2, or
// (at your option) any later version.
// In addition to the permissions in the GNU Library General Public
// License, the Free Software Foundation gives you unlimited
// permission to link the compiled version of this file into
// combinations with other programs, and to distribute those
// combinations without any restriction coming from the use of this
// file. (The Library Public License restrictions do apply in other
// respects; for example, they cover modification of the file, and
/// distribution when not linked into a combined executable.)
// 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
// Library General Public License for more details.
// You should have received a copy of the GNU Library 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 ELFCPP_X86_64_H #ifndef ELFCPP_X86_64_H
#define ELFCPP_X86_64_H #define ELFCPP_X86_64_H

View File

@ -1,5 +1,25 @@
// archive.cc -- archive support for gold // 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 "gold.h"
#include <cerrno> #include <cerrno>

View File

@ -1,5 +1,25 @@
// archive.h -- archive support for gold -*- C++ -*- // 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 #ifndef GOLD_ARCHIVE_H
#define GOLD_ARCHIVE_H #define GOLD_ARCHIVE_H

View File

@ -1,5 +1,25 @@
// common.cc -- handle common symbols for gold // 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 "gold.h"
#include <algorithm> #include <algorithm>

View File

@ -1,5 +1,25 @@
// common.h -- handle common symbols for gold -*- C++ -*- // 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 #ifndef GOLD_COMMON_H
#define GOLD_COMMON_H #define GOLD_COMMON_H

View File

@ -1,5 +1,25 @@
// defstd.cc -- define standard symbols for gold. // 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 "gold.h"
#include "symtab.h" #include "symtab.h"

View File

@ -1,5 +1,25 @@
// defstd.h -- define standard symbols for gold -*- C++ -*- // 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 #ifndef GOLD_DEFSTD_H
#define GOLD_DEFSTD_H #define GOLD_DEFSTD_H

View File

@ -1,5 +1,25 @@
// dirsearch.cc -- directory searching for gold // 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 "gold.h"
#include <cerrno> #include <cerrno>

View File

@ -1,5 +1,25 @@
// dirsearch.h -- directory searching for gold -*- C++ -*- // 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 #ifndef GOLD_DIRSEARCH_H
#define GOLD_DIRSEARCH_H #define GOLD_DIRSEARCH_H

View File

@ -1,5 +1,25 @@
// dynobj.cc -- dynamic object support for gold // 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 "gold.h"
#include <vector> #include <vector>

View File

@ -1,5 +1,25 @@
// dynobj.h -- dynamic object support for gold -*- C++ -*- // 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 #ifndef GOLD_DYNOBJ_H
#define GOLD_DYNOBJ_H #define GOLD_DYNOBJ_H

View File

@ -1,5 +1,25 @@
// fileread.cc -- read files for gold // 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 "gold.h"
#include <cstring> #include <cstring>

View File

@ -1,5 +1,25 @@
// fileread.h -- read files for gold -*- C++ -*- // 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. // Classes used to read data from binary input files.
#ifndef GOLD_FILEREAD_H #ifndef GOLD_FILEREAD_H

View File

@ -1,5 +1,25 @@
// gold-threads.cc -- thread support for gold // 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" #include "gold.h"
#ifdef ENABLE_THREADS #ifdef ENABLE_THREADS

View File

@ -1,5 +1,25 @@
// gold-threads.h -- thread support for gold -*- C++ -*- // 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 // gold can be configured to support threads. If threads are
// supported, the user can specify at runtime whether or not to // supported, the user can specify at runtime whether or not to
// support them. This provides an interface to manage locking // support them. This provides an interface to manage locking

View File

@ -1,5 +1,25 @@
// gold.cc -- main linker functions // 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 "gold.h"
#include <cstdlib> #include <cstdlib>

View File

@ -1,5 +1,25 @@
// gold.h -- general definitions for gold -*- C++ -*- // 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 #ifndef GOLD_GOLD_H
#define GOLD_GOLD_H #define GOLD_GOLD_H

View File

@ -1,5 +1,25 @@
// i386.cc -- i386 target support for gold. // 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 "gold.h"
#include <cstring> #include <cstring>

View File

@ -1,5 +1,25 @@
// layout.cc -- lay out output file sections for gold // 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 "gold.h"
#include <cstring> #include <cstring>

View File

@ -1,5 +1,25 @@
// layout.h -- lay out output file sections for gold -*- C++ -*- // 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 #ifndef GOLD_LAYOUT_H
#define GOLD_LAYOUT_H #define GOLD_LAYOUT_H

View File

@ -1,5 +1,25 @@
// main.cc -- gold main function. // 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 "gold.h"
#include "options.h" #include "options.h"

View File

@ -1,5 +1,25 @@
// merge.cc -- handle section merging for gold // 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 "gold.h"
#include <cstdlib> #include <cstdlib>

View File

@ -1,5 +1,25 @@
// merge.h -- handle section merging for gold -*- C++ -*- // 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 #ifndef GOLD_MERGE_H
#define GOLD_MERGE_H #define GOLD_MERGE_H

View File

@ -1,5 +1,25 @@
// object.cc -- support for an object file for linking in gold // 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 "gold.h"
#include <cerrno> #include <cerrno>

View File

@ -1,5 +1,25 @@
// object.h -- support for an object file for linking in gold -*- C++ -*- // 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 #ifndef GOLD_OBJECT_H
#define GOLD_OBJECT_H #define GOLD_OBJECT_H

View File

@ -1,5 +1,25 @@
// options.c -- handle command line options for gold // 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 <iostream>
#include "gold.h" #include "gold.h"

View File

@ -1,5 +1,25 @@
// options.h -- handle command line options for gold -*- C++ -*- // 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 // Command_line
// Holds everything we get from the command line. // Holds everything we get from the command line.
// General_options (from Command_line::options()) // General_options (from Command_line::options())

View File

@ -1,5 +1,25 @@
// output.cc -- manage the output file for gold // 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 "gold.h"
#include <cstdlib> #include <cstdlib>

View File

@ -1,5 +1,25 @@
// output.h -- manage the output file for gold -*- C++ -*- // 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 #ifndef GOLD_OUTPUT_H
#define GOLD_OUTPUT_H #define GOLD_OUTPUT_H

View File

@ -1,5 +1,25 @@
// parameters.cc -- general parameters for a link using gold // 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 "gold.h"
#include "options.h" #include "options.h"

View File

@ -1,5 +1,25 @@
// parameters.h -- general parameters for a link using gold -*- C++ -*- // 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 #ifndef GOLD_PARAMETERS_H
#define GOLD_PARAMETERS_H #define GOLD_PARAMETERS_H

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -16,704 +16,704 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: archive.cc:69 #: archive.cc:89
#, c-format #, c-format
msgid "%s: %s: no archive symbol table (run ranlib)\n" msgid "%s: %s: no archive symbol table (run ranlib)\n"
msgstr "" msgstr ""
#: archive.cc:121 #: archive.cc:141
#, c-format #, c-format
msgid "%s: %s: bad archive symbol table names\n" msgid "%s: %s: bad archive symbol table names\n"
msgstr "" msgstr ""
#: archive.cc:153 #: archive.cc:173
#, c-format #, c-format
msgid "%s; %s: malformed archive header at %ld\n" msgid "%s; %s: malformed archive header at %ld\n"
msgstr "" msgstr ""
#: archive.cc:174 #: archive.cc:194
#, c-format #, c-format
msgid "%s: %s: malformed archive header size at %ld\n" msgid "%s: %s: malformed archive header size at %ld\n"
msgstr "" msgstr ""
#: archive.cc:186 #: archive.cc:206
#, c-format #, c-format
msgid "%s: %s: malformed archive header name at %ld\n" msgid "%s: %s: malformed archive header name at %ld\n"
msgstr "" msgstr ""
#: archive.cc:212 #: archive.cc:232
#, c-format #, c-format
msgid "%s: %s: bad extended name index at %ld\n" msgid "%s: %s: bad extended name index at %ld\n"
msgstr "" msgstr ""
#: archive.cc:223 #: archive.cc:243
#, c-format #, c-format
msgid "%s: %s: bad extended name entry at header %ld\n" msgid "%s: %s: bad extended name entry at header %ld\n"
msgstr "" msgstr ""
#: archive.cc:318 #: archive.cc:338
#, c-format #, c-format
msgid "%s: %s: short archive header at %ld\n" msgid "%s: %s: short archive header at %ld\n"
msgstr "" msgstr ""
#: archive.cc:367 archive.cc:380 #: archive.cc:387 archive.cc:400
#, c-format #, c-format
msgid "%s: %s: member at %ld is not an ELF object" msgid "%s: %s: member at %ld is not an ELF object"
msgstr "" msgstr ""
#: dirsearch.cc:50 #: dirsearch.cc:70
#, c-format #, c-format
msgid "can not read directory %s" msgid "can not read directory %s"
msgstr "" msgstr ""
#: dynobj.cc:110 #: dynobj.cc:130
#, c-format #, c-format
msgid "%s: %s: unexpected duplicate type %u section: %u, %u\n" msgid "%s: %s: unexpected duplicate type %u section: %u, %u\n"
msgstr "" msgstr ""
#: dynobj.cc:151 #: dynobj.cc:171
#, c-format #, c-format
msgid "%s: %s: unexpected link in section %u header: %u != %u\n" msgid "%s: %s: unexpected link in section %u header: %u != %u\n"
msgstr "" msgstr ""
#: dynobj.cc:189 #: dynobj.cc:209
#, c-format #, c-format
msgid "%s: %s: DYNAMIC section %u link out of range: %u\n" msgid "%s: %s: DYNAMIC section %u link out of range: %u\n"
msgstr "" msgstr ""
#: dynobj.cc:199 #: dynobj.cc:219
#, c-format #, c-format
msgid "%s: %s: DYNAMIC section %u link %u is not a strtab\n" msgid "%s: %s: DYNAMIC section %u link %u is not a strtab\n"
msgstr "" msgstr ""
#: dynobj.cc:221 #: dynobj.cc:241
#, c-format #, c-format
msgid "%s: %s: DT_SONAME value out of range: %lld >= %lld\n" msgid "%s: %s: DT_SONAME value out of range: %lld >= %lld\n"
msgstr "" msgstr ""
#: dynobj.cc:238 #: dynobj.cc:258
#, c-format #, c-format
msgid "%s: %s: missing DT_NULL in dynamic segment\n" msgid "%s: %s: missing DT_NULL in dynamic segment\n"
msgstr "" msgstr ""
#: dynobj.cc:286 #: dynobj.cc:306
#, c-format #, c-format
msgid "%s: %s: invalid dynamic symbol table name index: %u\n" msgid "%s: %s: invalid dynamic symbol table name index: %u\n"
msgstr "" msgstr ""
#: dynobj.cc:294 #: dynobj.cc:314
#, c-format #, c-format
msgid "%s: %s: dynamic symbol table name section has wrong type: %u\n" msgid "%s: %s: dynamic symbol table name section has wrong type: %u\n"
msgstr "" msgstr ""
#: dynobj.cc:368 object.cc:419 #: dynobj.cc:388 object.cc:439
#, c-format #, c-format
msgid "%s: %s: bad section name offset for section %u: %lu\n" msgid "%s: %s: bad section name offset for section %u: %lu\n"
msgstr "" msgstr ""
#: dynobj.cc:399 #: dynobj.cc:419
#, c-format #, c-format
msgid "%s: %s: duplicate definition for version %u\n" msgid "%s: %s: duplicate definition for version %u\n"
msgstr "" msgstr ""
#: dynobj.cc:431 #: dynobj.cc:451
#, c-format #, c-format
msgid "%s: %s: unexpected verdef version %u\n" msgid "%s: %s: unexpected verdef version %u\n"
msgstr "" msgstr ""
#: dynobj.cc:447 #: dynobj.cc:467
#, c-format #, c-format
msgid "%s: %s: verdef vd_cnt field too small: %u\n" msgid "%s: %s: verdef vd_cnt field too small: %u\n"
msgstr "" msgstr ""
#: dynobj.cc:456 #: dynobj.cc:476
#, c-format #, c-format
msgid "%s: %s: verdef vd_aux field out of range: %u\n" msgid "%s: %s: verdef vd_aux field out of range: %u\n"
msgstr "" msgstr ""
#: dynobj.cc:468 #: dynobj.cc:488
#, c-format #, c-format
msgid "%s: %s: verdaux vda_name field out of range: %u\n" msgid "%s: %s: verdaux vda_name field out of range: %u\n"
msgstr "" msgstr ""
#: dynobj.cc:479 #: dynobj.cc:499
#, c-format #, c-format
msgid "%s: %s: verdef vd_next field out of range: %u\n" msgid "%s: %s: verdef vd_next field out of range: %u\n"
msgstr "" msgstr ""
#: dynobj.cc:513 #: dynobj.cc:533
#, c-format #, c-format
msgid "%s: %s: unexpected verneed version %u\n" msgid "%s: %s: unexpected verneed version %u\n"
msgstr "" msgstr ""
#: dynobj.cc:524 #: dynobj.cc:544
#, c-format #, c-format
msgid "%s: %s: verneed vn_aux field out of range: %u\n" msgid "%s: %s: verneed vn_aux field out of range: %u\n"
msgstr "" msgstr ""
#: dynobj.cc:539 #: dynobj.cc:559
#, c-format #, c-format
msgid "%s: %s: vernaux vna_name field out of range: %u\n" msgid "%s: %s: vernaux vna_name field out of range: %u\n"
msgstr "" msgstr ""
#: dynobj.cc:552 #: dynobj.cc:572
#, c-format #, c-format
msgid "%s: %s: verneed vna_next field out of range: %u\n" msgid "%s: %s: verneed vna_next field out of range: %u\n"
msgstr "" msgstr ""
#: dynobj.cc:565 #: dynobj.cc:585
#, c-format #, c-format
msgid "%s: %s: verneed vn_next field out of range: %u\n" msgid "%s: %s: verneed vn_next field out of range: %u\n"
msgstr "" msgstr ""
#: dynobj.cc:613 #: dynobj.cc:633
#, c-format #, c-format
msgid "%s: %s: size of dynamic symbols is not multiple of symbol size\n" msgid "%s: %s: size of dynamic symbols is not multiple of symbol size\n"
msgstr "" msgstr ""
#: dynobj.cc:1244 #: dynobj.cc:1264
#, c-format #, c-format
msgid "%s: symbol %s has undefined version %s\n" msgid "%s: symbol %s has undefined version %s\n"
msgstr "" msgstr ""
#: fileread.cc:55 #: fileread.cc:75
#, c-format #, c-format
msgid "%s: warning: close(%s) failed: %s" msgid "%s: warning: close(%s) failed: %s"
msgstr "" msgstr ""
#: fileread.cc:143 #: fileread.cc:163
#, c-format #, c-format
msgid "%s: %s: lseek to %lld failed: %s" msgid "%s: %s: lseek to %lld failed: %s"
msgstr "" msgstr ""
#: fileread.cc:153 #: fileread.cc:173
#, c-format #, c-format
msgid "%s: %s: read failed: %s\n" msgid "%s: %s: read failed: %s\n"
msgstr "" msgstr ""
#: fileread.cc:173 fileread.cc:256 #: fileread.cc:193 fileread.cc:276
#, c-format #, c-format
msgid "%s: %s: file too short: read only %lld of %lld bytes at %lld\n" msgid "%s: %s: file too short: read only %lld of %lld bytes at %lld\n"
msgstr "" msgstr ""
#: fileread.cc:365 #: fileread.cc:385
#, c-format #, c-format
msgid "%s: cannot find %s\n" msgid "%s: cannot find %s\n"
msgstr "" msgstr ""
#: fileread.cc:373 #: fileread.cc:393
#, c-format #, c-format
msgid "%s: cannot open %s: %s\n" msgid "%s: cannot open %s: %s\n"
msgstr "" msgstr ""
#: gold.cc:106 #: gold.cc:126
msgid "no input files" msgid "no input files"
msgstr "" msgstr ""
#: gold-threads.cc:46 #: gold-threads.cc:66
msgid "pthead_mutextattr_init failed" msgid "pthead_mutextattr_init failed"
msgstr "" msgstr ""
#: gold-threads.cc:49 #: gold-threads.cc:69
msgid "pthread_mutextattr_settype failed" msgid "pthread_mutextattr_settype failed"
msgstr "" msgstr ""
#: gold-threads.cc:53 #: gold-threads.cc:73
msgid "pthread_mutex_init failed" msgid "pthread_mutex_init failed"
msgstr "" msgstr ""
#: gold-threads.cc:56 #: gold-threads.cc:76
msgid "pthread_mutexattr_destroy failed" msgid "pthread_mutexattr_destroy failed"
msgstr "" msgstr ""
#: gold-threads.cc:62 #: gold-threads.cc:82
msgid "pthread_mutex_destroy failed" msgid "pthread_mutex_destroy failed"
msgstr "" msgstr ""
#: gold-threads.cc:69 #: gold-threads.cc:89
msgid "pthread_mutex_lock failed" msgid "pthread_mutex_lock failed"
msgstr "" msgstr ""
#: gold-threads.cc:76 #: gold-threads.cc:96
msgid "pthread_mutex_unlock failed" msgid "pthread_mutex_unlock failed"
msgstr "" msgstr ""
#: gold-threads.cc:157 #: gold-threads.cc:177
msgid "pthread_cond_init failed" msgid "pthread_cond_init failed"
msgstr "" msgstr ""
#: gold-threads.cc:163 #: gold-threads.cc:183
msgid "pthread_cond_destroy failed" msgid "pthread_cond_destroy failed"
msgstr "" msgstr ""
#: gold-threads.cc:170 #: gold-threads.cc:190
msgid "pthread_cond_wait failed" msgid "pthread_cond_wait failed"
msgstr "" msgstr ""
#: gold-threads.cc:177 #: gold-threads.cc:197
msgid "pthread_cond_signal failed" msgid "pthread_cond_signal failed"
msgstr "" msgstr ""
#. FIXME: This needs to specify the location somehow. #. FIXME: This needs to specify the location somehow.
#: i386.cc:105 #: i386.cc:125
#, c-format #, c-format
msgid "%s: missing expected TLS relocation\n" msgid "%s: missing expected TLS relocation\n"
msgstr "" msgstr ""
#: i386.cc:726 i386.cc:876 i386.cc:1138 #: i386.cc:746 i386.cc:896 i386.cc:1158
#, c-format #, c-format
msgid "%s: %s: unexpected reloc %u in object file\n" msgid "%s: %s: unexpected reloc %u in object file\n"
msgstr "" msgstr ""
#: i386.cc:763 i386.cc:783 #: i386.cc:783 i386.cc:803
#, c-format #, c-format
msgid "%s: %s: unsupported reloc %u against local symbol\n" msgid "%s: %s: unsupported reloc %u against local symbol\n"
msgstr "" msgstr ""
#: i386.cc:912 i386.cc:933 #: i386.cc:932 i386.cc:953
#, c-format #, c-format
msgid "%s: %s: unsupported reloc %u against global symbol %s\n" msgid "%s: %s: unsupported reloc %u against global symbol %s\n"
msgstr "" msgstr ""
#: i386.cc:956 #: i386.cc:976
#, c-format #, c-format
msgid "%s: %s: unsupported RELA reloc section\n" msgid "%s: %s: unsupported RELA reloc section\n"
msgstr "" msgstr ""
#: i386.cc:1046 #: i386.cc:1066
#, c-format #, c-format
msgid "%s: %s: missing expected TLS relocation\n" msgid "%s: %s: missing expected TLS relocation\n"
msgstr "" msgstr ""
#: i386.cc:1170 i386.cc:1247 i386.cc:1258 #: i386.cc:1190 i386.cc:1267 i386.cc:1278
#, c-format #, c-format
msgid "%s: %s: unsupported reloc %u\n" msgid "%s: %s: unsupported reloc %u\n"
msgstr "" msgstr ""
#: i386.cc:1197 #: i386.cc:1217
#, c-format #, c-format
msgid "%s: %s: TLS reloc but no TLS segment\n" msgid "%s: %s: TLS reloc but no TLS segment\n"
msgstr "" msgstr ""
#: i386.cc:1232 #: i386.cc:1252
#, c-format #, c-format
msgid "%s: %s: unsupported reloc type %u\n" msgid "%s: %s: unsupported reloc type %u\n"
msgstr "" msgstr ""
#: i386.cc:1441 #: i386.cc:1461
#, c-format #, c-format
msgid "%s: %s: TLS relocation out of range\n" msgid "%s: %s: TLS relocation out of range\n"
msgstr "" msgstr ""
#: i386.cc:1459 #: i386.cc:1479
#, c-format #, c-format
msgid "%s: %s: TLS relocation against invalid instruction\n" msgid "%s: %s: TLS relocation against invalid instruction\n"
msgstr "" msgstr ""
#: merge.cc:252 #: merge.cc:246
#, c-format #, c-format
msgid "" msgid ""
"%s: %s: mergeable string section length not multiple of character size\n" "%s: %s: mergeable string section length not multiple of character size\n"
msgstr "" msgstr ""
#: merge.cc:269 #: merge.cc:263
#, c-format #, c-format
msgid "%s: %s: entry in mergeable string section not null terminated\n" msgid "%s: %s: entry in mergeable string section not null terminated\n"
msgstr "" msgstr ""
#: object.cc:30 #: object.cc:50
#, c-format #, c-format
msgid "%s: %s: unsupported ELF machine number %d\n" msgid "%s: %s: unsupported ELF machine number %d\n"
msgstr "" msgstr ""
#: object.cc:86 #: object.cc:106
#, c-format #, c-format
msgid "%s: %s: section name section has wrong type: %u\n" msgid "%s: %s: section name section has wrong type: %u\n"
msgstr "" msgstr ""
#: object.cc:228 #: object.cc:248
#, c-format #, c-format
msgid "%s: %s: invalid symbol table name index: %u\n" msgid "%s: %s: invalid symbol table name index: %u\n"
msgstr "" msgstr ""
#: object.cc:236 #: object.cc:256
#, c-format #, c-format
msgid "%s: %s: symbol table name section has wrong type: %u\n" msgid "%s: %s: symbol table name section has wrong type: %u\n"
msgstr "" msgstr ""
#: object.cc:292 #: object.cc:312
#, c-format #, c-format
msgid "%s: %s: section group %u info %u out of range\n" msgid "%s: %s: section group %u info %u out of range\n"
msgstr "" msgstr ""
#: object.cc:309 #: object.cc:329
#, c-format #, c-format
msgid "%s: %s: symbol %u name offset %u out of range\n" msgid "%s: %s: symbol %u name offset %u out of range\n"
msgstr "" msgstr ""
#: object.cc:343 #: object.cc:363
#, c-format #, c-format
msgid "%s: %s: section %u in section group %u out of range" msgid "%s: %s: section %u in section group %u out of range"
msgstr "" msgstr ""
#: object.cc:487 #: object.cc:507
#, c-format #, c-format
msgid "%s: %s: size of symbols is not multiple of symbol size\n" msgid "%s: %s: size of symbols is not multiple of symbol size\n"
msgstr "" msgstr ""
#: object.cc:575 #: object.cc:595
#, c-format #, c-format
msgid "%s: %s: unknown section index %u for local symbol %u\n" msgid "%s: %s: unknown section index %u for local symbol %u\n"
msgstr "" msgstr ""
#: object.cc:586 #: object.cc:606
#, c-format #, c-format
msgid "%s: %s: local symbol %u section index %u out of range\n" msgid "%s: %s: local symbol %u section index %u out of range\n"
msgstr "" msgstr ""
#: object.cc:620 #: object.cc:640
#, c-format #, c-format
msgid "%s: %s: local symbol %u section name out of range: %u >= %u\n" msgid "%s: %s: local symbol %u section name out of range: %u >= %u\n"
msgstr "" msgstr ""
#: object.cc:834 #: object.cc:854
#, c-format #, c-format
msgid "%s: %s: unsupported ELF file type %d\n" msgid "%s: %s: unsupported ELF file type %d\n"
msgstr "" msgstr ""
#: object.cc:853 object.cc:906 object.cc:941 #: object.cc:873 object.cc:926 object.cc:961
#, c-format #, c-format
msgid "%s: %s: ELF file too short\n" msgid "%s: %s: ELF file too short\n"
msgstr "" msgstr ""
#: object.cc:862 #: object.cc:882
#, c-format #, c-format
msgid "%s: %s: invalid ELF version 0\n" msgid "%s: %s: invalid ELF version 0\n"
msgstr "" msgstr ""
#: object.cc:865 #: object.cc:885
#, c-format #, c-format
msgid "%s: %s: unsupported ELF version %d\n" msgid "%s: %s: unsupported ELF version %d\n"
msgstr "" msgstr ""
#: object.cc:873 #: object.cc:893
#, c-format #, c-format
msgid "%s: %s: invalid ELF class 0\n" msgid "%s: %s: invalid ELF class 0\n"
msgstr "" msgstr ""
#: object.cc:880 #: object.cc:900
#, c-format #, c-format
msgid "%s: %s: unsupported ELF class %d\n" msgid "%s: %s: unsupported ELF class %d\n"
msgstr "" msgstr ""
#: object.cc:888 #: object.cc:908
#, c-format #, c-format
msgid "%s: %s: invalid ELF data encoding\n" msgid "%s: %s: invalid ELF data encoding\n"
msgstr "" msgstr ""
#: object.cc:895 #: object.cc:915
#, c-format #, c-format
msgid "%s: %s: unsupported ELF data encoding %d\n" msgid "%s: %s: unsupported ELF data encoding %d\n"
msgstr "" msgstr ""
#: object.cc:918 #: object.cc:938
#, c-format #, c-format
msgid "%s: %s: not configured to support 32-bit big-endian object\n" msgid "%s: %s: not configured to support 32-bit big-endian object\n"
msgstr "" msgstr ""
#: object.cc:931 #: object.cc:951
#, c-format #, c-format
msgid "%s: %s: not configured to support 32-bit little-endian object\n" msgid "%s: %s: not configured to support 32-bit little-endian object\n"
msgstr "" msgstr ""
#: object.cc:953 #: object.cc:973
#, c-format #, c-format
msgid "%s: %s: not configured to support 64-bit big-endian object\n" msgid "%s: %s: not configured to support 64-bit big-endian object\n"
msgstr "" msgstr ""
#: object.cc:966 #: object.cc:986
#, c-format #, c-format
msgid "%s: %s: not configured to support 64-bit little-endian object\n" msgid "%s: %s: not configured to support 64-bit little-endian object\n"
msgstr "" msgstr ""
#: options.cc:115 #: options.cc:135
#, c-format #, c-format
msgid "" msgid ""
"Usage: %s [options] file...\n" "Usage: %s [options] file...\n"
"Options:\n" "Options:\n"
msgstr "" msgstr ""
#: options.cc:230 #: options.cc:250
msgid "Search for library LIBNAME" msgid "Search for library LIBNAME"
msgstr "" msgstr ""
#: options.cc:231 #: options.cc:251
msgid "-lLIBNAME, --library LIBNAME" msgid "-lLIBNAME, --library LIBNAME"
msgstr "" msgstr ""
#: options.cc:233 #: options.cc:253
msgid "Start a library search group" msgid "Start a library search group"
msgstr "" msgstr ""
#: options.cc:235 #: options.cc:255
msgid "End a library search group" msgid "End a library search group"
msgstr "" msgstr ""
#: options.cc:237 #: options.cc:257
msgid "Export all dynamic symbols" msgid "Export all dynamic symbols"
msgstr "" msgstr ""
#: options.cc:239 #: options.cc:259
msgid "Set dynamic linker path" msgid "Set dynamic linker path"
msgstr "" msgstr ""
#: options.cc:240 #: options.cc:260
msgid "-I PROGRAM, --dynamic-linker PROGRAM" msgid "-I PROGRAM, --dynamic-linker PROGRAM"
msgstr "" msgstr ""
#: options.cc:242 #: options.cc:262
msgid "Add directory to search path" msgid "Add directory to search path"
msgstr "" msgstr ""
#: options.cc:243 #: options.cc:263
msgid "-L DIR, --library-path DIR" msgid "-L DIR, --library-path DIR"
msgstr "" msgstr ""
#: options.cc:245 #: options.cc:265
msgid "Ignored for compatibility" msgid "Ignored for compatibility"
msgstr "" msgstr ""
#: options.cc:247 #: options.cc:267
msgid "Optimize output file size" msgid "Optimize output file size"
msgstr "" msgstr ""
#: options.cc:248 #: options.cc:268
msgid "-O level" msgid "-O level"
msgstr "" msgstr ""
#: options.cc:250 #: options.cc:270
msgid "Set output file name" msgid "Set output file name"
msgstr "" msgstr ""
#: options.cc:251 #: options.cc:271
msgid "-o FILE, --output FILE" msgid "-o FILE, --output FILE"
msgstr "" msgstr ""
#: options.cc:253 #: options.cc:273
msgid "Generate relocatable output" msgid "Generate relocatable output"
msgstr "" msgstr ""
#: options.cc:255 #: options.cc:275
msgid "Add DIR to runtime search path" msgid "Add DIR to runtime search path"
msgstr "" msgstr ""
#: options.cc:256 #: options.cc:276
msgid "-R DIR, -rpath DIR" msgid "-R DIR, -rpath DIR"
msgstr "" msgstr ""
#: options.cc:258 #: options.cc:278
msgid "Create exception frame header" msgid "Create exception frame header"
msgstr "" msgstr ""
#: options.cc:261 #: options.cc:281
msgid "Add DIR to link time shared library search path" msgid "Add DIR to link time shared library search path"
msgstr "" msgstr ""
#: options.cc:262 #: options.cc:282
msgid "--rpath-link DIR" msgid "--rpath-link DIR"
msgstr "" msgstr ""
#: options.cc:264 #: options.cc:284
msgid "Generate shared library" msgid "Generate shared library"
msgstr "" msgstr ""
#: options.cc:266 #: options.cc:286
msgid "Do not link against shared libraries" msgid "Do not link against shared libraries"
msgstr "" msgstr ""
#: options.cc:269 #: options.cc:289
msgid "Only set DT_NEEDED for dynamic libs if used" msgid "Only set DT_NEEDED for dynamic libs if used"
msgstr "" msgstr ""
#: options.cc:272 #: options.cc:292
msgid "Always DT_NEEDED for dynamic libs (default)" msgid "Always DT_NEEDED for dynamic libs (default)"
msgstr "" msgstr ""
#: options.cc:275 #: options.cc:295
msgid "Include all archive contents" msgid "Include all archive contents"
msgstr "" msgstr ""
#: options.cc:279 #: options.cc:299
msgid "Include only needed archive contents" msgid "Include only needed archive contents"
msgstr "" msgstr ""
#: options.cc:282 #: options.cc:302
msgid "Report usage information" msgid "Report usage information"
msgstr "" msgstr ""
#: options.cc:425 options.cc:476 options.cc:555 #: options.cc:445 options.cc:496 options.cc:575
msgid "missing argument" msgid "missing argument"
msgstr "" msgstr ""
#: options.cc:438 options.cc:485 #: options.cc:458 options.cc:505
msgid "unknown option" msgid "unknown option"
msgstr "" msgstr ""
#: options.cc:493 #: options.cc:513
#, c-format #, c-format
msgid "%s: missing group end" msgid "%s: missing group end"
msgstr "" msgstr ""
#: options.cc:568 #: options.cc:588
msgid "may not nest groups" msgid "may not nest groups"
msgstr "" msgstr ""
#: options.cc:578 #: options.cc:598
msgid "group end without group start" msgid "group end without group start"
msgstr "" msgstr ""
#: options.cc:588 #: options.cc:608
#, c-format #, c-format
msgid "%s: use the --help option for usage information\n" msgid "%s: use the --help option for usage information\n"
msgstr "" msgstr ""
#: options.cc:597 script.cc:1133 #: options.cc:617 script.cc:1153
#, c-format #, c-format
msgid "%s: %s: %s\n" msgid "%s: %s: %s\n"
msgstr "" msgstr ""
#: options.cc:606 #: options.cc:626
#, c-format #, c-format
msgid "%s: -%c: %s\n" msgid "%s: -%c: %s\n"
msgstr "" msgstr ""
#: output.cc:901 #: output.cc:921
#, c-format #, c-format
msgid "%s: %s: invalid alignment %lu for section \"%s\"\n" msgid "%s: %s: invalid alignment %lu for section \"%s\"\n"
msgstr "" msgstr ""
#: output.cc:1550 #: output.cc:1570
#, c-format #, c-format
msgid "%s: %s: open: %s\n" msgid "%s: %s: open: %s\n"
msgstr "" msgstr ""
#: output.cc:1559 #: output.cc:1579
#, c-format #, c-format
msgid "%s: %s: lseek: %s\n" msgid "%s: %s: lseek: %s\n"
msgstr "" msgstr ""
#: output.cc:1566 #: output.cc:1586
#, c-format #, c-format
msgid "%s: %s: write: %s\n" msgid "%s: %s: write: %s\n"
msgstr "" msgstr ""
#: output.cc:1576 #: output.cc:1596
#, c-format #, c-format
msgid "%s: %s: mmap: %s\n" msgid "%s: %s: mmap: %s\n"
msgstr "" msgstr ""
#: output.cc:1590 #: output.cc:1610
#, c-format #, c-format
msgid "%s: %s: munmap: %s\n" msgid "%s: %s: munmap: %s\n"
msgstr "" msgstr ""
#: output.cc:1598 #: output.cc:1618
#, c-format #, c-format
msgid "%s: %s: close: %s\n" msgid "%s: %s: close: %s\n"
msgstr "" msgstr ""
#: readsyms.cc:93 #: readsyms.cc:113
#, c-format #, c-format
msgid "%s: %s: ordinary object found in input group\n" msgid "%s: %s: ordinary object found in input group\n"
msgstr "" msgstr ""
#: readsyms.cc:134 #: readsyms.cc:154
#, c-format #, c-format
msgid "%s: %s: file is empty\n" msgid "%s: %s: file is empty\n"
msgstr "" msgstr ""
#. Here we have to handle any other input file types we need. #. Here we have to handle any other input file types we need.
#: readsyms.cc:147 #: readsyms.cc:167
#, c-format #, c-format
msgid "%s: %s: not an object or archive\n" msgid "%s: %s: not an object or archive\n"
msgstr "" msgstr ""
#: reloc.cc:169 reloc.cc:413 #: reloc.cc:189 reloc.cc:433
#, c-format #, c-format
msgid "%s: %s: relocation section %u has bad info %u\n" msgid "%s: %s: relocation section %u has bad info %u\n"
msgstr "" msgstr ""
#: reloc.cc:188 reloc.cc:430 #: reloc.cc:208 reloc.cc:450
#, c-format #, c-format
msgid "%s: %s: relocation section %u uses unexpected symbol table %u\n" msgid "%s: %s: relocation section %u uses unexpected symbol table %u\n"
msgstr "" msgstr ""
#: reloc.cc:204 reloc.cc:449 #: reloc.cc:224 reloc.cc:469
#, c-format #, c-format
msgid "%s: %s: unexpected entsize for reloc section %u: %lu != %u" msgid "%s: %s: unexpected entsize for reloc section %u: %lu != %u"
msgstr "" msgstr ""
#: reloc.cc:215 reloc.cc:460 #: reloc.cc:235 reloc.cc:480
#, c-format #, c-format
msgid "%s: %s: reloc section %u size %lu uneven" msgid "%s: %s: reloc section %u size %lu uneven"
msgstr "" msgstr ""
#: resolve.cc:117 #: resolve.cc:137
#, c-format #, c-format
msgid "%s: %s: invalid STB_LOCAL symbol %s in external symbols\n" msgid "%s: %s: invalid STB_LOCAL symbol %s in external symbols\n"
msgstr "" msgstr ""
#: resolve.cc:123 #: resolve.cc:143
#, c-format #, c-format
msgid "%s: %s: unsupported symbol binding %d for symbol %s\n" msgid "%s: %s: unsupported symbol binding %d for symbol %s\n"
msgstr "" msgstr ""
#: symtab.cc:456 symtab.cc:553 #: symtab.cc:476 symtab.cc:573
#, c-format #, c-format
msgid "%s: %s: mixing 32-bit and 64-bit ELF objects\n" msgid "%s: %s: mixing 32-bit and 64-bit ELF objects\n"
msgstr "" msgstr ""
#: symtab.cc:473 #: symtab.cc:493
#, c-format #, c-format
msgid "%s: %s: bad global symbol name offset %u at %lu\n" msgid "%s: %s: bad global symbol name offset %u at %lu\n"
msgstr "" msgstr ""
#: symtab.cc:560 #: symtab.cc:580
#, c-format #, c-format
msgid "%s: %s: too few symbol versions\n" msgid "%s: %s: too few symbol versions\n"
msgstr "" msgstr ""
#: symtab.cc:580 #: symtab.cc:600
#, c-format #, c-format
msgid "%s: %s: bad symbol name offset %u at %lu\n" msgid "%s: %s: bad symbol name offset %u at %lu\n"
msgstr "" msgstr ""
#: symtab.cc:633 #: symtab.cc:653
#, c-format #, c-format
msgid "%s: %s: versym for symbol %zu out of range: %u\n" msgid "%s: %s: versym for symbol %zu out of range: %u\n"
msgstr "" msgstr ""
#: symtab.cc:641 #: symtab.cc:661
#, c-format #, c-format
msgid "%s: %s: versym for symbol %zu has no name: %u\n" msgid "%s: %s: versym for symbol %zu has no name: %u\n"
msgstr "" msgstr ""
#: symtab.cc:1180 symtab.cc:1352 #: symtab.cc:1200 symtab.cc:1372
#, c-format #, c-format
msgid "%s: %s: unsupported symbol section 0x%x\n" msgid "%s: %s: unsupported symbol section 0x%x\n"
msgstr "" msgstr ""
#: symtab.cc:1545 #: symtab.cc:1565
#, c-format #, c-format
msgid "%s: %s: warning: %s\n" msgid "%s: %s: warning: %s\n"
msgstr "" msgstr ""
#: target-reloc.h:170 #: target-reloc.h:190
#, c-format #, c-format
msgid "%s: %s: reloc has bad offset %zu\n" msgid "%s: %s: reloc has bad offset %zu\n"
msgstr "" msgstr ""
#: target-reloc.h:180 #: target-reloc.h:200
#, c-format #, c-format
msgid "%s: %s: undefined reference to '%s'\n" msgid "%s: %s: undefined reference to '%s'\n"
msgstr "" msgstr ""

View File

@ -1,5 +1,25 @@
// readsyms.cc -- read input file symbols for gold // 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 "gold.h"
#include <cstring> #include <cstring>

View File

@ -1,5 +1,25 @@
// readsyms.h -- read input file symbols for gold -*- C++ -*- // 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 #ifndef GOLD_READSYMS_H
#define GOLD_READSYMS_H #define GOLD_READSYMS_H

View File

@ -1,5 +1,25 @@
// reloc-types.h -- ELF relocation templates for gold -*- C++ -*- // 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 // This header files defines a few convenient templated types for use
// when handling ELF relocations. // when handling ELF relocations.

View File

@ -1,5 +1,25 @@
// reloc.cc -- relocate input files for gold. // 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 "gold.h"
#include "workqueue.h" #include "workqueue.h"

View File

@ -1,5 +1,25 @@
// reloc.h -- relocate input files for gold -*- C++ -*- // 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 #ifndef GOLD_RELOC_H
#define GOLD_RELOC_H #define GOLD_RELOC_H

View File

@ -1,5 +1,25 @@
// resolve.cc -- symbol resolution for gold // 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 "gold.h"
#include "elfcpp.h" #include "elfcpp.h"

View File

@ -1,5 +1,25 @@
/* script-c.h -- C interface for linker scripts in gold. */ /* 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 /* This file exists so that both the bison parser and script.cc can
include it, so that they can communicate back and forth. */ include it, so that they can communicate back and forth. */

View File

@ -1,5 +1,25 @@
// script.cc -- handle linker scripts for gold. // 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 "gold.h"
#include <string> #include <string>

View File

@ -1,5 +1,25 @@
// script.h -- handle linker scripts for gold -*- C++ -*- // 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 // We implement a subset of the original GNU ld linker script language
// for compatibility. The goal is not to implement the entire // for compatibility. The goal is not to implement the entire
// language. It is merely to implement enough to handle common uses. // language. It is merely to implement enough to handle common uses.

View File

@ -1,5 +1,25 @@
// stringpool.cc -- a string pool for gold // 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 "gold.h"
#include <cstring> #include <cstring>

View File

@ -1,5 +1,25 @@
// stringpool.h -- a string pool for gold -*- C++ -*- // 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 <string>
#include <list> #include <list>

View File

@ -1,5 +1,25 @@
// symtab.cc -- the gold symbol table // 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 "gold.h"
#include <stdint.h> #include <stdint.h>

View File

@ -1,5 +1,25 @@
// symtab.h -- the gold symbol table -*- C++ -*- // 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 // Symbol_table
// The symbol table. // The symbol table.

View File

@ -1,5 +1,25 @@
// target-reloc.h -- target specific relocation support -*- C++ -*- // 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 #ifndef GOLD_TARGET_RELOC_H
#define GOLD_TARGET_RELOC_H #define GOLD_TARGET_RELOC_H

View File

@ -1,5 +1,25 @@
// target-select.cc -- select a target for an object file // 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 "gold.h"
#include "elfcpp.h" #include "elfcpp.h"

View File

@ -1,5 +1,25 @@
// target-select.h -- select a target for an object file -*- C++ -*- // 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 #ifndef GOLD_TARGET_SELECT_H
#define GOLD_TARGET_SELECT_H #define GOLD_TARGET_SELECT_H

View File

@ -1,5 +1,25 @@
// target.h -- target support for gold -*- C++ -*- // 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 // The abstract class Target is the interface for target specific
// support. It defines abstract methods which each target must // support. It defines abstract methods which each target must
// implement. Typically there will be one target per processor, but // implement. Typically there will be one target per processor, but

View File

@ -1,5 +1,25 @@
// object_unittest.cc -- test Object, Relobj, etc. // 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 "gold.h"
#include "object.h" #include "object.h"

View File

@ -1,5 +1,25 @@
// test.cc -- simplistic test framework for gold. // 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 "gold.h"
#include <cstdio> #include <cstdio>

View File

@ -1,5 +1,25 @@
// test.h -- simplistic test framework for gold unittests -*- C++ -*- // 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 #ifndef GOLD_TESTSUITE_TEST_H
#define GOLD_TESTSUITE_TEST_H #define GOLD_TESTSUITE_TEST_H

View File

@ -1,5 +1,25 @@
// testfile.cc -- Dummy ELF objects for testing purposes. // 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 "gold.h"
#include "target.h" #include "target.h"

View File

@ -1,5 +1,25 @@
// testfile.h -- test input files -*- C++ -*- // 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 #ifndef GOLD_TESTSUITE_TESTFILE_H
#define GOLD_TESTSUITE_TESTFILE_H #define GOLD_TESTSUITE_TESTFILE_H

View File

@ -1,5 +1,25 @@
// testmain.cc -- main function for simplisitic gold test framework. // 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 "gold.h"
#include "test.h" #include "test.h"

View File

@ -1,5 +1,25 @@
// workqueue.cc -- the workqueue for gold // 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 "gold.h"
#include "workqueue.h" #include "workqueue.h"

View File

@ -1,5 +1,25 @@
// workqueue.h -- the work queue for gold -*- C++ -*- // 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 // After processing the command line, everything the linker does is
// driven from a work queue. This permits us to parallelize the // driven from a work queue. This permits us to parallelize the
// linker where possible. // linker where possible.

View File

@ -1,5 +1,25 @@
/* yyscript.y -- linker script grammer for gold. */ /* 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 /* This is a bison grammar to parse a subset of the original GNU ld
linker script language. */ linker script language. */