Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/libiberty/COPYING.LIB

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    1                   GNU LIBRARY GENERAL PUBLIC LICENSE
    2                        Version 2, June 1991
    3 
    4  Copyright (C) 1991 Free Software Foundation, Inc.
    5  59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
     1                  GNU LESSER GENERAL PUBLIC LICENSE
     2                       Version 2.1, February 1999
     3
     4 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
     5     59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
    66 Everyone is permitted to copy and distribute verbatim copies
    77 of this license document, but changing it is not allowed.
    88
    9 [This is the first released version of the library GPL.  It is
    10  numbered 2 because it goes with version 2 of the ordinary GPL.]
     9[This is the first released version of the Lesser GPL.  It also counts
     10 as the successor of the GNU Library Public License, version 2, hence
     11 the version number 2.1.]
    1112
    1213                            Preamble
     
    1718free software--to make sure the software is free for all its users.
    1819
    19   This license, the Library General Public License, applies to some
    20 specially designated Free Software Foundation software, and to any
    21 other libraries whose authors decide to use it.  You can use it for
    22 your libraries, too.
    23 
    24   When we speak of free software, we are referring to freedom, not
    25 price.  Our General Public Licenses are designed to make sure that you
    26 have the freedom to distribute copies of free software (and charge for
    27 this service if you wish), that you receive source code or can get it
    28 if you want it, that you can change the software or use pieces of it
    29 in new free programs; and that you know you can do these things.
     20  This license, the Lesser General Public License, applies to some
     21specially designated software packages--typically libraries--of the
     22Free Software Foundation and other authors who decide to use it.  You
     23can use it too, but we suggest you first think carefully about whether
     24this license or the ordinary General Public License is the better
     25strategy to use in any particular case, based on the explanations below.
     26
     27  When we speak of free software, we are referring to freedom of use,
     28not price.  Our General Public Licenses are designed to make sure that
     29you have the freedom to distribute copies of free software (and charge
     30for this service if you wish); that you receive source code or can get
     31it if you want it; that you can change the software and use pieces of
     32it in new free programs; and that you are informed that you can do
     33these things.
    3034
    3135  To protect your rights, we need to make restrictions that forbid
    32 anyone to deny you these rights or to ask you to surrender the rights.
    33 These restrictions translate to certain responsibilities for you if
    34 you distribute copies of the library, or if you modify it.
     36distributors to deny you these rights or to ask you to surrender these
     37rights.  These restrictions translate to certain responsibilities for
     38you if you distribute copies of the library or if you modify it.
    3539
    3640  For example, if you distribute copies of the library, whether gratis
    3741or for a fee, you must give the recipients all the rights that we gave
    3842you.  You must make sure that they, too, receive or can get the source
    39 code.  If you link a program with the library, you must provide
    40 complete object files to the recipients so that they can relink them
    41 with the library, after making changes to the library and recompiling
     43code.  If you link other code with the library, you must provide
     44complete object files to the recipients, so that they can relink them
     45with the library after making changes to the library and recompiling
    4246it.  And you must show them these terms so they know their rights.
    4347
    44   Our method of protecting your rights has two steps: (1) copyright
    45 the library, and (2) offer you this license which gives you legal
     48  We protect your rights with a two-step method: (1) we copyright the
     49library, and (2) we offer you this license, which gives you legal
    4650permission to copy, distribute and/or modify the library.
    4751
    48   Also, for each distributor's protection, we want to make certain
    49 that everyone understands that there is no warranty for this free
    50 library.  If the library is modified by someone else and passed on, we
    51 want its recipients to know that what they have is not the original
    52 version, so that any problems introduced by others will not reflect on
    53 the original authors' reputations.
    54 
    55 
    56   Finally, any free program is threatened constantly by software
    57 patents.  We wish to avoid the danger that companies distributing free
    58 software will individually obtain patent licenses, thus in effect
    59 transforming the program into proprietary software.  To prevent this,
    60 we have made it clear that any patent must be licensed for everyone's
    61 free use or not licensed at all.
    62 
    63   Most GNU software, including some libraries, is covered by the ordinary
    64 GNU General Public License, which was designed for utility programs.  This
    65 license, the GNU Library General Public License, applies to certain
    66 designated libraries.  This license is quite different from the ordinary
    67 one; be sure to read it in full, and don't assume that anything in it is
    68 the same as in the ordinary license.
    69 
    70   The reason we have a separate public license for some libraries is that
    71 they blur the distinction we usually make between modifying or adding to a
    72 program and simply using it.  Linking a program with a library, without
    73 changing the library, is in some sense simply using the library, and is
    74 analogous to running a utility program or application program.  However, in
    75 a textual and legal sense, the linked executable is a combined work, a
    76 derivative of the original library, and the ordinary General Public License
    77 treats it as such.
    78 
    79   Because of this blurred distinction, using the ordinary General
    80 Public License for libraries did not effectively promote software
    81 sharing, because most developers did not use the libraries.  We
    82 concluded that weaker conditions might promote sharing better.
    83 
    84   However, unrestricted linking of non-free programs would deprive the
    85 users of those programs of all benefit from the free status of the
    86 libraries themselves.  This Library General Public License is intended to
    87 permit developers of non-free programs to use free libraries, while
    88 preserving your freedom as a user of such programs to change the free
    89 libraries that are incorporated in them.  (We have not seen how to achieve
    90 this as regards changes in header files, but we have achieved it as regards
    91 changes in the actual functions of the Library.)  The hope is that this
    92 will lead to faster development of free libraries.
     52  To protect each distributor, we want to make it very clear that
     53there is no warranty for the free library.  Also, if the library is
     54modified by someone else and passed on, the recipients should know
     55that what they have is not the original version, so that the original
     56author's reputation will not be affected by problems that might be
     57introduced by others.
     58
     59
     60  Finally, software patents pose a constant threat to the existence of
     61any free program.  We wish to make sure that a company cannot
     62effectively restrict the users of a free program by obtaining a
     63restrictive license from a patent holder.  Therefore, we insist that
     64any patent license obtained for a version of the library must be
     65consistent with the full freedom of use specified in this license.
     66
     67  Most GNU software, including some libraries, is covered by the
     68ordinary GNU General Public License.  This license, the GNU Lesser
     69General Public License, applies to certain designated libraries, and
     70is quite different from the ordinary General Public License.  We use
     71this license for certain libraries in order to permit linking those
     72libraries into non-free programs.
     73
     74  When a program is linked with a library, whether statically or using
     75a shared library, the combination of the two is legally speaking a
     76combined work, a derivative of the original library.  The ordinary
     77General Public License therefore permits such linking only if the
     78entire combination fits its criteria of freedom.  The Lesser General
     79Public License permits more lax criteria for linking other code with
     80the library.
     81
     82  We call this license the "Lesser" General Public License because it
     83does Less to protect the user's freedom than the ordinary General
     84Public License.  It also provides other free software developers Less
     85of an advantage over competing non-free programs.  These disadvantages
     86are the reason we use the ordinary General Public License for many
     87libraries.  However, the Lesser license provides advantages in certain
     88special circumstances.
     89
     90  For example, on rare occasions, there may be a special need to
     91encourage the widest possible use of a certain library, so that it becomes
     92a de-facto standard.  To achieve this, non-free programs must be
     93allowed to use the library.  A more frequent case is that a free
     94library does the same job as widely used non-free libraries.  In this
     95case, there is little to gain by limiting the free library to free
     96software only, so we use the Lesser General Public License.
     97
     98  In other cases, permission to use a particular library in non-free
     99programs enables a greater number of people to use a large body of
     100free software.  For example, permission to use the GNU C Library in
     101non-free programs enables many more people to use the whole GNU
     102operating system, as well as its variant, the GNU/Linux operating
     103system.
     104
     105  Although the Lesser General Public License is Less protective of the
     106users' freedom, it does ensure that the user of a program that is
     107linked with the Library has the freedom and the wherewithal to run
     108that program using a modified version of the Library.
    93109
    94110  The precise terms and conditions for copying, distribution and
    95111modification follow.  Pay close attention to the difference between a
    96112"work based on the library" and a "work that uses the library".  The
    97 former contains code derived from the library, while the latter only
    98 works together with the library.
    99 
    100   Note that it is possible for a library to be covered by the ordinary
    101 General Public License rather than by this special one.
    102 
    103 
    104                   GNU LIBRARY GENERAL PUBLIC LICENSE
     113former contains code derived from the library, whereas the latter must
     114be combined with the library in order to run.
     115
     116
     117                  GNU LESSER GENERAL PUBLIC LICENSE
    105118   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    106119
    107   0. This License Agreement applies to any software library which
    108 contains a notice placed by the copyright holder or other authorized
    109 party saying it may be distributed under the terms of this Library
    110 General Public License (also called "this License").  Each licensee is
    111 addressed as "you".
     120  0. This License Agreement applies to any software library or other
     121program which contains a notice placed by the copyright holder or
     122other authorized party saying it may be distributed under the terms of
     123this Lesser General Public License (also called "this License").
     124Each licensee is addressed as "you".
    112125
    113126  A "library" means a collection of software functions and/or data
     
    261274
    262275
    263   6. As an exception to the Sections above, you may also compile or
     276  6. As an exception to the Sections above, you may also combine or
    264277link a "work that uses the Library" with the Library to produce a
    265278work containing portions of the Library, and distribute that work
     
    288301    to use the modified definitions.)
    289302
    290     b) Accompany the work with a written offer, valid for at
     303    b) Use a suitable shared library mechanism for linking with the
     304    Library.  A suitable mechanism is one that (1) uses at run time a
     305    copy of the library already present on the user's computer system,
     306    rather than copying library functions into the executable, and (2)
     307    will operate properly with a modified version of the library, if
     308    the user installs one, as long as the modified version is
     309    interface-compatible with the version that the work was made with.
     310
     311    c) Accompany the work with a written offer, valid for at
    291312    least three years, to give the same user the materials
    292313    specified in Subsection 6a, above, for a charge no more
    293314    than the cost of performing this distribution.
    294315
    295     c) If distribution of the work is made by offering access to copy
     316    d) If distribution of the work is made by offering access to copy
    296317    from a designated place, offer equivalent access to copy the above
    297318    specified materials from the same place.
    298319
    299     d) Verify that the user has already received a copy of these
     320    e) Verify that the user has already received a copy of these
    300321    materials or that you have already sent this user a copy.
    301322
     
    303324Library" must include any data and utility programs needed for
    304325reproducing the executable from it.  However, as a special exception,
    305 the source code distributed need not include anything that is normally
    306 distributed (in either source or binary form) with the major
     326the materials to be distributed need not include anything that is
     327normally distributed (in either source or binary form) with the major
    307328components (compiler, kernel, and so on) of the operating system on
    308329which the executable runs, unless that component itself accompanies
     
    354375subject to these terms and conditions.  You may not impose any further
    355376restrictions on the recipients' exercise of the rights granted herein.
    356 You are not responsible for enforcing compliance by third parties to
     377You are not responsible for enforcing compliance by third parties with
    357378this License.
    358379
     
    398419
    399420  13. The Free Software Foundation may publish revised and/or new
    400 versions of the Library General Public License from time to time.
     421versions of the Lesser General Public License from time to time.
    401422Such new versions will be similar in spirit to the present version,
    402423but may differ in detail to address new problems or concerns.
     
    446467
    447468
    448      Appendix: How to Apply These Terms to Your New Libraries
     469           How to Apply These Terms to Your New Libraries
    449470
    450471  If you develop a new library, and you want it to be of the greatest
     
    463484
    464485    This library is free software; you can redistribute it and/or
    465     modify it under the terms of the GNU Library General Public
     486    modify it under the terms of the GNU Lesser General Public
    466487    License as published by the Free Software Foundation; either
    467     version 2 of the License, or (at your option) any later version.
     488    version 2.1 of the License, or (at your option) any later version.
    468489
    469490    This library is distributed in the hope that it will be useful,
    470491    but WITHOUT ANY WARRANTY; without even the implied warranty of
    471492    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    472     Library General Public License for more details.
    473 
    474     You should have received a copy of the GNU Library General Public
    475     License along with this library; if not, write to the Free
    476     Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
    477     MA 02111-1307, USA
     493    Lesser General Public License for more details.
     494
     495    You should have received a copy of the GNU Lesser General Public
     496    License along with this library; if not, write to the Free Software
     497    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    478498
    479499Also add information on how to contact you by electronic and paper mail.
     
    490510
    491511That's all there is to it!
     512
     513
Note: See TracChangeset for help on using the changeset viewer.