OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-newlib/] [newlib-1.17.0/] [newlib/] [libc/] [sys/] [linux/] [linuxthreads/] [LICENSE] - Blame information for rev 9

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 jlechner
GNU LIBRARY GENERAL PUBLIC LICENSE
2
**********************************
3
 
4
                         Version 2, June 1991
5
 
6
     Copyright (C) 1991 Free Software Foundation, Inc.
7
     59 Temple Place -- Suite 330, Boston, MA 02111-1307, USA
8
 
9
     Everyone is permitted to copy and distribute verbatim copies
10
     of this license document, but changing it is not allowed.
11
 
12
     [This is the first released version of the library GPL.  It is
13
      numbered 2 because it goes with version 2 of the ordinary GPL.]
14
 
15
Preamble
16
========
17
 
18
   The licenses for most software are designed to take away your
19
freedom to share and change it.  By contrast, the GNU General Public
20
Licenses are intended to guarantee your freedom to share and change
21
free software--to make sure the software is free for all its users.
22
 
23
   This license, the Library General Public License, applies to some
24
specially designated Free Software Foundation software, and to any
25
other libraries whose authors decide to use it.  You can use it for
26
your libraries, too.
27
 
28
   When we speak of free software, we are referring to freedom, not
29
price.  Our General Public Licenses are designed to make sure that you
30
have the freedom to distribute copies of free software (and charge for
31
this service if you wish), that you receive source code or can get it
32
if you want it, that you can change the software or use pieces of it in
33
new free programs; and that you know you can do these things.
34
 
35
   To protect your rights, we need to make restrictions that forbid
36
anyone to deny you these rights or to ask you to surrender the rights.
37
These restrictions translate to certain responsibilities for you if you
38
distribute copies of the library, or if you modify it.
39
 
40
   For example, if you distribute copies of the library, whether gratis
41
or for a fee, you must give the recipients all the rights that we gave
42
you.  You must make sure that they, too, receive or can get the source
43
code.  If you link a program with the library, you must provide
44
complete object files to the recipients so that they can relink them
45
with the library, after making changes to the library and recompiling
46
it.  And you must show them these terms so they know their rights.
47
 
48
   Our method of protecting your rights has two steps: (1) copyright
49
the library, and (2) offer you this license which gives you legal
50
permission to copy, distribute and/or modify the library.
51
 
52
   Also, for each distributor's protection, we want to make certain
53
that everyone understands that there is no warranty for this free
54
library.  If the library is modified by someone else and passed on, we
55
want its recipients to know that what they have is not the original
56
version, so that any problems introduced by others will not reflect on
57
the original authors' reputations.
58
 
59
   Finally, any free program is threatened constantly by software
60
patents.  We wish to avoid the danger that companies distributing free
61
software will individually obtain patent licenses, thus in effect
62
transforming the program into proprietary software.  To prevent this,
63
we have made it clear that any patent must be licensed for everyone's
64
free use or not licensed at all.
65
 
66
   Most GNU software, including some libraries, is covered by the
67
ordinary GNU General Public License, which was designed for utility
68
programs.  This license, the GNU Library General Public License,
69
applies to certain designated libraries.  This license is quite
70
different from the ordinary one; be sure to read it in full, and don't
71
assume that anything in it is the same as in the ordinary license.
72
 
73
   The reason we have a separate public license for some libraries is
74
that they blur the distinction we usually make between modifying or
75
adding to a program and simply using it.  Linking a program with a
76
library, without changing the library, is in some sense simply using
77
the library, and is analogous to running a utility program or
78
application program.  However, in a textual and legal sense, the linked
79
executable is a combined work, a derivative of the original library,
80
and the ordinary General Public License treats it as such.
81
 
82
   Because of this blurred distinction, using the ordinary General
83
Public License for libraries did not effectively promote software
84
sharing, because most developers did not use the libraries.  We
85
concluded that weaker conditions might promote sharing better.
86
 
87
   However, unrestricted linking of non-free programs would deprive the
88
users of those programs of all benefit from the free status of the
89
libraries themselves.  This Library General Public License is intended
90
to permit developers of non-free programs to use free libraries, while
91
preserving your freedom as a user of such programs to change the free
92
libraries that are incorporated in them.  (We have not seen how to
93
achieve this as regards changes in header files, but we have achieved
94
it as regards changes in the actual functions of the Library.)  The
95
hope is that this will lead to faster development of free libraries.
96
 
97
   The precise terms and conditions for copying, distribution and
98
modification follow.  Pay close attention to the difference between a
99
"work based on the library" and a "work that uses the library".  The
100
former contains code derived from the library, while the latter only
101
works together with the library.
102
 
103
   Note that it is possible for a library to be covered by the ordinary
104
General Public License rather than by this special one.
105
 
106
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
107
 
108
  0. This License Agreement applies to any software library which
109
     contains a notice placed by the copyright holder or other
110
     authorized party saying it may be distributed under the terms of
111
     this Library General Public License (also called "this License").
112
     Each licensee is addressed as "you".
113
 
114
     A "library" means a collection of software functions and/or data
115
     prepared so as to be conveniently linked with application programs
116
     (which use some of those functions and data) to form executables.
117
 
118
     The "Library", below, refers to any such software library or work
119
     which has been distributed under these terms.  A "work based on the
120
     Library" means either the Library or any derivative work under
121
     copyright law: that is to say, a work containing the Library or a
122
     portion of it, either verbatim or with modifications and/or
123
     translated straightforwardly into another language.  (Hereinafter,
124
     translation is included without limitation in the term
125
     "modification".)
126
 
127
     "Source code" for a work means the preferred form of the work for
128
     making modifications to it.  For a library, complete source code
129
     means all the source code for all modules it contains, plus any
130
     associated interface definition files, plus the scripts used to
131
     control compilation and installation of the library.
132
 
133
     Activities other than copying, distribution and modification are
134
     not covered by this License; they are outside its scope.  The act
135
     of running a program using the Library is not restricted, and
136
     output from such a program is covered only if its contents
137
     constitute a work based on the Library (independent of the use of
138
     the Library in a tool for writing it).  Whether that is true
139
     depends on what the Library does and what the program that uses
140
     the Library does.
141
 
142
  1. You may copy and distribute verbatim copies of the Library's
143
     complete source code as you receive it, in any medium, provided
144
     that you conspicuously and appropriately publish on each copy an
145
     appropriate copyright notice and disclaimer of warranty; keep
146
     intact all the notices that refer to this License and to the
147
     absence of any warranty; and distribute a copy of this License
148
     along with the Library.
149
 
150
     You may charge a fee for the physical act of transferring a copy,
151
     and you may at your option offer warranty protection in exchange
152
     for a fee.
153
 
154
  2. You may modify your copy or copies of the Library or any portion
155
     of it, thus forming a work based on the Library, and copy and
156
     distribute such modifications or work under the terms of Section 1
157
     above, provided that you also meet all of these conditions:
158
 
159
       a. The modified work must itself be a software library.
160
 
161
       b. You must cause the files modified to carry prominent notices
162
          stating that you changed the files and the date of any change.
163
 
164
       c. You must cause the whole of the work to be licensed at no
165
          charge to all third parties under the terms of this License.
166
 
167
       d. If a facility in the modified Library refers to a function or
168
          a table of data to be supplied by an application program that
169
          uses the facility, other than as an argument passed when the
170
          facility is invoked, then you must make a good faith effort
171
          to ensure that, in the event an application does not supply
172
          such function or table, the facility still operates, and
173
          performs whatever part of its purpose remains meaningful.
174
 
175
          (For example, a function in a library to compute square roots
176
          has a purpose that is entirely well-defined independent of the
177
          application.  Therefore, Subsection 2d requires that any
178
          application-supplied function or table used by this function
179
          must be optional: if the application does not supply it, the
180
          square root function must still compute square roots.)
181
 
182
     These requirements apply to the modified work as a whole.  If
183
     identifiable sections of that work are not derived from the
184
     Library, and can be reasonably considered independent and separate
185
     works in themselves, then this License, and its terms, do not
186
     apply to those sections when you distribute them as separate
187
     works.  But when you distribute the same sections as part of a
188
     whole which is a work based on the Library, the distribution of
189
     the whole must be on the terms of this License, whose permissions
190
     for other licensees extend to the entire whole, and thus to each
191
     and every part regardless of who wrote it.
192
 
193
     Thus, it is not the intent of this section to claim rights or
194
     contest your rights to work written entirely by you; rather, the
195
     intent is to exercise the right to control the distribution of
196
     derivative or collective works based on the Library.
197
 
198
     In addition, mere aggregation of another work not based on the
199
     Library with the Library (or with a work based on the Library) on
200
     a volume of a storage or distribution medium does not bring the
201
     other work under the scope of this License.
202
 
203
  3. You may opt to apply the terms of the ordinary GNU General Public
204
     License instead of this License to a given copy of the Library.
205
     To do this, you must alter all the notices that refer to this
206
     License, so that they refer to the ordinary GNU General Public
207
     License, version 2, instead of to this License.  (If a newer
208
     version than version 2 of the ordinary GNU General Public License
209
     has appeared, then you can specify that version instead if you
210
     wish.)  Do not make any other change in these notices.
211
 
212
     Once this change is made in a given copy, it is irreversible for
213
     that copy, so the ordinary GNU General Public License applies to
214
     all subsequent copies and derivative works made from that copy.
215
 
216
     This option is useful when you wish to copy part of the code of
217
     the Library into a program that is not a library.
218
 
219
  4. You may copy and distribute the Library (or a portion or
220
     derivative of it, under Section 2) in object code or executable
221
     form under the terms of Sections 1 and 2 above provided that you
222
     accompany it with the complete corresponding machine-readable
223
     source code, which must be distributed under the terms of Sections
224
     1 and 2 above on a medium customarily used for software
225
     interchange.
226
 
227
     If distribution of object code is made by offering access to copy
228
     from a designated place, then offering equivalent access to copy
229
     the source code from the same place satisfies the requirement to
230
     distribute the source code, even though third parties are not
231
     compelled to copy the source along with the object code.
232
 
233
  5. A program that contains no derivative of any portion of the
234
     Library, but is designed to work with the Library by being
235
     compiled or linked with it, is called a "work that uses the
236
     Library".  Such a work, in isolation, is not a derivative work of
237
     the Library, and therefore falls outside the scope of this License.
238
 
239
     However, linking a "work that uses the Library" with the Library
240
     creates an executable that is a derivative of the Library (because
241
     it contains portions of the Library), rather than a "work that
242
     uses the library".  The executable is therefore covered by this
243
     License.  Section 6 states terms for distribution of such
244
     executables.
245
 
246
     When a "work that uses the Library" uses material from a header
247
     file that is part of the Library, the object code for the work may
248
     be a derivative work of the Library even though the source code is
249
     not.  Whether this is true is especially significant if the work
250
     can be linked without the Library, or if the work is itself a
251
     library.  The threshold for this to be true is not precisely
252
     defined by law.
253
 
254
     If such an object file uses only numerical parameters, data
255
     structure layouts and accessors, and small macros and small inline
256
     functions (ten lines or less in length), then the use of the object
257
     file is unrestricted, regardless of whether it is legally a
258
     derivative work.  (Executables containing this object code plus
259
     portions of the Library will still fall under Section 6.)
260
 
261
     Otherwise, if the work is a derivative of the Library, you may
262
     distribute the object code for the work under the terms of Section
263
     6.  Any executables containing that work also fall under Section 6,
264
     whether or not they are linked directly with the Library itself.
265
 
266
  6. As an exception to the Sections above, you may also compile or
267
     link a "work that uses the Library" with the Library to produce a
268
     work containing portions of the Library, and distribute that work
269
     under terms of your choice, provided that the terms permit
270
     modification of the work for the customer's own use and reverse
271
     engineering for debugging such modifications.
272
 
273
     You must give prominent notice with each copy of the work that the
274
     Library is used in it and that the Library and its use are covered
275
     by this License.  You must supply a copy of this License.  If the
276
     work during execution displays copyright notices, you must include
277
     the copyright notice for the Library among them, as well as a
278
     reference directing the user to the copy of this License.  Also,
279
     you must do one of these things:
280
 
281
       a. Accompany the work with the complete corresponding
282
          machine-readable source code for the Library including
283
          whatever changes were used in the work (which must be
284
          distributed under Sections 1 and 2 above); and, if the work
285
          is an executable linked with the Library, with the complete
286
          machine-readable "work that uses the Library", as object code
287
          and/or source code, so that the user can modify the Library
288
          and then relink to produce a modified executable containing
289
          the modified Library.  (It is understood that the user who
290
          changes the contents of definitions files in the Library will
291
          not necessarily be able to recompile the application to use
292
          the modified definitions.)
293
 
294
       b. Accompany the work with a written offer, valid for at least
295
          three years, to give the same user the materials specified in
296
          Subsection 6a, above, for a charge no more than the cost of
297
          performing this distribution.
298
 
299
       c. If distribution of the work is made by offering access to copy
300
          from a designated place, offer equivalent access to copy the
301
          above specified materials from the same place.
302
 
303
       d. Verify that the user has already received a copy of these
304
          materials or that you have already sent this user a copy.
305
 
306
     For an executable, the required form of the "work that uses the
307
     Library" must include any data and utility programs needed for
308
     reproducing the executable from it.  However, as a special
309
     exception, the source code distributed need not include anything
310
     that is normally distributed (in either source or binary form)
311
     with the major components (compiler, kernel, and so on) of the
312
     operating system on which the executable runs, unless that
313
     component itself accompanies the executable.
314
 
315
     It may happen that this requirement contradicts the license
316
     restrictions of other proprietary libraries that do not normally
317
     accompany the operating system.  Such a contradiction means you
318
     cannot use both them and the Library together in an executable
319
     that you distribute.
320
 
321
  7. You may place library facilities that are a work based on the
322
     Library side-by-side in a single library together with other
323
     library facilities not covered by this License, and distribute
324
     such a combined library, provided that the separate distribution
325
     of the work based on the Library and of the other library
326
     facilities is otherwise permitted, and provided that you do these
327
     two things:
328
 
329
       a. Accompany the combined library with a copy of the same work
330
          based on the Library, uncombined with any other library
331
          facilities.  This must be distributed under the terms of the
332
          Sections above.
333
 
334
       b. Give prominent notice with the combined library of the fact
335
          that part of it is a work based on the Library, and explaining
336
          where to find the accompanying uncombined form of the same
337
          work.
338
 
339
  8. You may not copy, modify, sublicense, link with, or distribute the
340
     Library except as expressly provided under this License.  Any
341
     attempt otherwise to copy, modify, sublicense, link with, or
342
     distribute the Library is void, and will automatically terminate
343
     your rights under this License.  However, parties who have
344
     received copies, or rights, from you under this License will not
345
     have their licenses terminated so long as such parties remain in
346
     full compliance.
347
 
348
  9. You are not required to accept this License, since you have not
349
     signed it.  However, nothing else grants you permission to modify
350
     or distribute the Library or its derivative works.  These actions
351
     are prohibited by law if you do not accept this License.
352
     Therefore, by modifying or distributing the Library (or any work
353
     based on the Library), you indicate your acceptance of this
354
     License to do so, and all its terms and conditions for copying,
355
     distributing or modifying the Library or works based on it.
356
 
357
 10. Each time you redistribute the Library (or any work based on the
358
     Library), the recipient automatically receives a license from the
359
     original licensor to copy, distribute, link with or modify the
360
     Library subject to these terms and conditions.  You may not impose
361
     any further restrictions on the recipients' exercise of the rights
362
     granted herein.  You are not responsible for enforcing compliance
363
     by third parties to this License.
364
 
365
 11. If, as a consequence of a court judgment or allegation of patent
366
     infringement or for any other reason (not limited to patent
367
     issues), conditions are imposed on you (whether by court order,
368
     agreement or otherwise) that contradict the conditions of this
369
     License, they do not excuse you from the conditions of this
370
     License.  If you cannot distribute so as to satisfy simultaneously
371
     your obligations under this License and any other pertinent
372
     obligations, then as a consequence you may not distribute the
373
     Library at all.  For example, if a patent license would not permit
374
     royalty-free redistribution of the Library by all those who
375
     receive copies directly or indirectly through you, then the only
376
     way you could satisfy both it and this License would be to refrain
377
     entirely from distribution of the Library.
378
 
379
     If any portion of this section is held invalid or unenforceable
380
     under any particular circumstance, the balance of the section is
381
     intended to apply, and the section as a whole is intended to apply
382
     in other circumstances.
383
 
384
     It is not the purpose of this section to induce you to infringe any
385
     patents or other property right claims or to contest validity of
386
     any such claims; this section has the sole purpose of protecting
387
     the integrity of the free software distribution system which is
388
     implemented by public license practices.  Many people have made
389
     generous contributions to the wide range of software distributed
390
     through that system in reliance on consistent application of that
391
     system; it is up to the author/donor to decide if he or she is
392
     willing to distribute software through any other system and a
393
     licensee cannot impose that choice.
394
 
395
     This section is intended to make thoroughly clear what is believed
396
     to be a consequence of the rest of this License.
397
 
398
 12. If the distribution and/or use of the Library is restricted in
399
     certain countries either by patents or by copyrighted interfaces,
400
     the original copyright holder who places the Library under this
401
     License may add an explicit geographical distribution limitation
402
     excluding those countries, so that distribution is permitted only
403
     in or among countries not thus excluded.  In such case, this
404
     License incorporates the limitation as if written in the body of
405
     this License.
406
 
407
 13. The Free Software Foundation may publish revised and/or new
408
     versions of the Library General Public License from time to time.
409
     Such new versions will be similar in spirit to the present version,
410
     but may differ in detail to address new problems or concerns.
411
 
412
     Each version is given a distinguishing version number.  If the
413
     Library specifies a version number of this License which applies
414
     to it and "any later version", you have the option of following
415
     the terms and conditions either of that version or of any later
416
     version published by the Free Software Foundation.  If the Library
417
     does not specify a license version number, you may choose any
418
     version ever published by the Free Software Foundation.
419
 
420
 14. If you wish to incorporate parts of the Library into other free
421
     programs whose distribution conditions are incompatible with these,
422
     write to the author to ask for permission.  For software which is
423
     copyrighted by the Free Software Foundation, write to the Free
424
     Software Foundation; we sometimes make exceptions for this.  Our
425
     decision will be guided by the two goals of preserving the free
426
     status of all derivatives of our free software and of promoting
427
     the sharing and reuse of software generally.
428
 
429
                                NO WARRANTY
430
 
431
 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
432
     WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE
433
     LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
434
     HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT
435
     WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
436
     NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
437
     FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE
438
     QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU.  SHOULD THE
439
     LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
440
     SERVICING, REPAIR OR CORRECTION.
441
 
442
 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
443
     WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
444
     MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE
445
     LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
446
     INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
447
     INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF
448
     DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU
449
     OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY
450
     OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
451
     ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
452
 
453
                      END OF TERMS AND CONDITIONS
454
 
455
How to Apply These Terms to Your New Libraries
456
==============================================
457
 
458
   If you develop a new library, and you want it to be of the greatest
459
possible use to the public, we recommend making it free software that
460
everyone can redistribute and change.  You can do so by permitting
461
redistribution under these terms (or, alternatively, under the terms of
462
the ordinary General Public License).
463
 
464
   To apply these terms, attach the following notices to the library.
465
It is safest to attach them to the start of each source file to most
466
effectively convey the exclusion of warranty; and each file should have
467
at least the "copyright" line and a pointer to where the full notice is
468
found.
469
 
470
     ONE LINE TO GIVE THE LIBRARY'S NAME AND AN IDEA OF WHAT IT DOES.
471
     Copyright (C) YEAR  NAME OF AUTHOR
472
 
473
     This library is free software; you can redistribute it and/or modify it
474
     under the terms of the GNU Library General Public License as published
475
     by the Free Software Foundation; either version 2 of the License, or (at
476
     your option) any later version.
477
 
478
     This library is distributed in the hope that it will be useful, but
479
     WITHOUT ANY WARRANTY; without even the implied warranty of
480
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
481
     Library General Public License for more details.
482
 
483
     You should have received a copy of the GNU General Public License along
484
     with this program; if not, write to the Free Software Foundation, Inc.,
485
     59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
486
 
487
   Also add information on how to contact you by electronic and paper
488
mail.
489
 
490
   You should also get your employer (if you work as a programmer) or
491
your school, if any, to sign a "copyright disclaimer" for the library,
492
if necessary.  Here is a sample; alter the names:
493
 
494
     Yoyodyne, Inc., hereby disclaims all copyright interest in the library
495
     `Frob' (a library for tweaking knobs) written by James Random Hacker.
496
 
497
     SIGNATURE OF TY COON, 1 April 1990
498
     Ty Coon, President of Vice
499
 
500
   That's all there is to it!
501
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.