aboutsummaryrefslogtreecommitdiff
path: root/elfcpp/elfcpp_swap.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-22 21:02:10 +0000
committerIan Lance Taylor <iant@google.com>2007-09-22 21:02:10 +0000
commit6cb15b7f89d59fb61780b01ad3de2340f33c3728 (patch)
tree2991c93090be7416cebba80f52f61b002ab79225 /elfcpp/elfcpp_swap.h
parent7e0cdd236148e7689aaccbea096c602b88e82e30 (diff)
downloadbinutils-6cb15b7f89d59fb61780b01ad3de2340f33c3728.zip
binutils-6cb15b7f89d59fb61780b01ad3de2340f33c3728.tar.gz
binutils-6cb15b7f89d59fb61780b01ad3de2340f33c3728.tar.bz2
Add licensing text to every source file.
Diffstat (limited to 'elfcpp/elfcpp_swap.h')
-rw-r--r--elfcpp/elfcpp_swap.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/elfcpp/elfcpp_swap.h b/elfcpp/elfcpp_swap.h
index 71b02eb..24ffccd 100644
--- a/elfcpp/elfcpp_swap.h
+++ b/elfcpp/elfcpp_swap.h
@@ -1,5 +1,34 @@
// 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
// numbers between host form and target form. When the host and
// target have the same endianness, these turn into no-ops.