]> git.ipfire.org Git - thirdparty/gcc.git/blob - doc/gnu_free_documentation_license.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / doc / gnu_free_documentation_license.rst
1 ..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6 .. _gnu_fdl:
7
8 ******************************
9 GNU Free Documentation License
10 ******************************
11
12 Version 1.3, 3 November 2008
13
14 Copyright 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc
15 https://fsf.org/
16
17 Everyone is permitted to copy and distribute verbatim copies of this
18 license document, but changing it is not allowed.
19
20 Preamble
21 ~~~~~~~~
22
23 The purpose of this License is to make a manual, textbook, or other
24 functional and useful document "free" in the sense of freedom: to
25 assure everyone the effective freedom to copy and redistribute it,
26 with or without modifying it, either commercially or noncommercially.
27 Secondarily, this License preserves for the author and publisher a way
28 to get credit for their work, while not being considered responsible
29 for modifications made by others.
30
31 This License is a kind of "copyleft", which means that derivative
32 works of the document must themselves be free in the same sense. It
33 complements the GNU General Public License, which is a copyleft
34 license designed for free software.
35
36 We have designed this License in order to use it for manuals for free
37 software, because free software needs free documentation: a free
38 program should come with manuals providing the same freedoms that the
39 software does. But this License is not limited to software manuals;
40 it can be used for any textual work, regardless of subject matter or
41 whether it is published as a printed book. We recommend this License
42 principally for works whose purpose is instruction or reference.
43
44 1. APPLICABILITY AND DEFINITIONS
45 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46
47 This License applies to any manual or other work, in any medium, that
48 contains a notice placed by the copyright holder saying it can be
49 distributed under the terms of this License. Such a notice grants a
50 world-wide, royalty-free license, unlimited in duration, to use that
51 work under the conditions stated herein. The **Document**, below,
52 refers to any such manual or work. Any member of the public is a
53 licensee, and is addressed as "**you**". You accept the license if you
54 copy, modify or distribute the work in a way requiring permission
55 under copyright law.
56
57 A "**Modified Version**" of the Document means any work containing the
58 Document or a portion of it, either copied verbatim, or with
59 modifications and/or translated into another language.
60
61 A "**Secondary Section**" is a named appendix or a front-matter section of
62 the Document that deals exclusively with the relationship of the
63 publishers or authors of the Document to the Document's overall subject
64 (or to related matters) and contains nothing that could fall directly
65 within that overall subject. (Thus, if the Document is in part a
66 textbook of mathematics, a Secondary Section may not explain any
67 mathematics.) The relationship could be a matter of historical
68 connection with the subject or with related matters, or of legal,
69 commercial, philosophical, ethical or political position regarding
70 them.
71
72 The "**Invariant Sections**" are certain Secondary Sections whose titles
73 are designated, as being those of Invariant Sections, in the notice
74 that says that the Document is released under this License. If a
75 section does not fit the above definition of Secondary then it is not
76 allowed to be designated as Invariant. The Document may contain zero
77 Invariant Sections. If the Document does not identify any Invariant
78 Sections then there are none.
79
80 The "**Cover Texts**" are certain short passages of text that are listed,
81 as Front-Cover Texts or Back-Cover Texts, in the notice that says that
82 the Document is released under this License. A Front-Cover Text may
83 be at most 5 words, and a Back-Cover Text may be at most 25 words.
84
85 A "**Transparent**" copy of the Document means a machine-readable copy,
86 represented in a format whose specification is available to the
87 general public, that is suitable for revising the document
88 straightforwardly with generic text editors or (for images composed of
89 pixels) generic paint programs or (for drawings) some widely available
90 drawing editor, and that is suitable for input to text formatters or
91 for automatic translation to a variety of formats suitable for input
92 to text formatters. A copy made in an otherwise Transparent file
93 format whose markup, or absence of markup, has been arranged to thwart
94 or discourage subsequent modification by readers is not Transparent.
95 An image format is not Transparent if used for any substantial amount
96 of text. A copy that is not "Transparent" is called **Opaque**.
97
98 Examples of suitable formats for Transparent copies include plain
99 ASCII without markup, Texinfo input format, LaTeX input format, SGML
100 or XML using a publicly available DTD, and standard-conforming simple
101 HTML, PostScript or PDF designed for human modification. Examples of
102 transparent image formats include PNG, XCF and JPG. Opaque formats
103 include proprietary formats that can be read and edited only by
104 proprietary word processors, SGML or XML for which the DTD and/or
105 processing tools are not generally available, and the
106 machine-generated HTML, PostScript or PDF produced by some word
107 processors for output purposes only.
108
109 The "**Title Page**" means, for a printed book, the title page itself,
110 plus such following pages as are needed to hold, legibly, the material
111 this License requires to appear in the title page. For works in
112 formats which do not have any title page as such, "Title Page" means
113 the text near the most prominent appearance of the work's title,
114 preceding the beginning of the body of the text.
115
116 The "**publisher**" means any person or entity that distributes
117 copies of the Document to the public.
118
119 A section "**Entitled XYZ**" means a named subunit of the Document whose
120 title either is precisely XYZ or contains XYZ in parentheses following
121 text that translates XYZ in another language. (Here XYZ stands for a
122 specific section name mentioned below, such as "**Acknowledgements**",
123 "**Dedications**", "**Endorsements**", or "**History**".)
124 To "**Preserve the Title**"
125 of such a section when you modify the Document means that it remains a
126 section "Entitled XYZ" according to this definition.
127
128 The Document may include Warranty Disclaimers next to the notice which
129 states that this License applies to the Document. These Warranty
130 Disclaimers are considered to be included by reference in this
131 License, but only as regards disclaiming warranties: any other
132 implication that these Warranty Disclaimers may have is void and has
133 no effect on the meaning of this License.
134
135 2. VERBATIM COPYING
136 ~~~~~~~~~~~~~~~~~~~
137
138 You may copy and distribute the Document in any medium, either
139 commercially or noncommercially, provided that this License, the
140 copyright notices, and the license notice saying this License applies
141 to the Document are reproduced in all copies, and that you add no other
142 conditions whatsoever to those of this License. You may not use
143 technical measures to obstruct or control the reading or further
144 copying of the copies you make or distribute. However, you may accept
145 compensation in exchange for copies. If you distribute a large enough
146 number of copies you must also follow the conditions in section 3.
147
148 You may also lend copies, under the same conditions stated above, and
149 you may publicly display copies.
150
151 3. COPYING IN QUANTITY
152 ~~~~~~~~~~~~~~~~~~~~~~
153
154 If you publish printed copies (or copies in media that commonly have
155 printed covers) of the Document, numbering more than 100, and the
156 Document's license notice requires Cover Texts, you must enclose the
157 copies in covers that carry, clearly and legibly, all these Cover
158 Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
159 the back cover. Both covers must also clearly and legibly identify
160 you as the publisher of these copies. The front cover must present
161 the full title with all words of the title equally prominent and
162 visible. You may add other material on the covers in addition.
163 Copying with changes limited to the covers, as long as they preserve
164 the title of the Document and satisfy these conditions, can be treated
165 as verbatim copying in other respects.
166
167 If the required texts for either cover are too voluminous to fit
168 legibly, you should put the first ones listed (as many as fit
169 reasonably) on the actual cover, and continue the rest onto adjacent
170 pages.
171
172 If you publish or distribute Opaque copies of the Document numbering
173 more than 100, you must either include a machine-readable Transparent
174 copy along with each Opaque copy, or state in or with each Opaque copy
175 a computer-network location from which the general network-using
176 public has access to download using public-standard network protocols
177 a complete Transparent copy of the Document, free of added material.
178 If you use the latter option, you must take reasonably prudent steps,
179 when you begin distribution of Opaque copies in quantity, to ensure
180 that this Transparent copy will remain thus accessible at the stated
181 location until at least one year after the last time you distribute an
182 Opaque copy (directly or through your agents or retailers) of that
183 edition to the public.
184
185 It is requested, but not required, that you contact the authors of the
186 Document well before redistributing any large number of copies, to give
187 them a chance to provide you with an updated version of the Document.
188
189 4. MODIFICATIONS
190 ~~~~~~~~~~~~~~~~
191
192 You may copy and distribute a Modified Version of the Document under
193 the conditions of sections 2 and 3 above, provided that you release
194 the Modified Version under precisely this License, with the Modified
195 Version filling the role of the Document, thus licensing distribution
196 and modification of the Modified Version to whoever possesses a copy
197 of it. In addition, you must do these things in the Modified Version:
198
199 A. Use in the Title Page (and on the covers, if any) a title distinct
200 from that of the Document, and from those of previous versions
201 (which should, if there were any, be listed in the History section
202 of the Document). You may use the same title as a previous version
203 if the original publisher of that version gives permission.
204
205 B. List on the Title Page, as authors, one or more persons or entities
206 responsible for authorship of the modifications in the Modified
207 Version, together with at least five of the principal authors of the
208 Document (all of its principal authors, if it has fewer than five),
209 unless they release you from this requirement.
210
211 C. State on the Title page the name of the publisher of the
212 Modified Version, as the publisher.
213
214 D. Preserve all the copyright notices of the Document.
215
216 E. Add an appropriate copyright notice for your modifications
217 adjacent to the other copyright notices.
218
219 F. Include, immediately after the copyright notices, a license notice
220 giving the public permission to use the Modified Version under the
221 terms of this License, in the form shown in the Addendum below.
222
223 G. Preserve in that license notice the full lists of Invariant Sections
224 and required Cover Texts given in the Document's license notice.
225 H. Include an unaltered copy of this License.
226
227 I. Preserve the section Entitled "History", Preserve its Title, and add
228 to it an item stating at least the title, year, new authors, and
229 publisher of the Modified Version as given on the Title Page. If
230 there is no section Entitled "History" in the Document, create one
231 stating the title, year, authors, and publisher of the Document as
232 given on its Title Page, then add an item describing the Modified
233 Version as stated in the previous sentence.
234
235 J. Preserve the network location, if any, given in the Document for
236 public access to a Transparent copy of the Document, and likewise
237 the network locations given in the Document for previous versions
238 it was based on. These may be placed in the "History" section.
239 You may omit a network location for a work that was published at
240 least four years before the Document itself, or if the original
241 publisher of the version it refers to gives permission.
242
243 K. For any section Entitled "Acknowledgements" or "Dedications",
244 Preserve the Title of the section, and preserve in the section all
245 the substance and tone of each of the contributor acknowledgements
246 and/or dedications given therein.
247
248 L. Preserve all the Invariant Sections of the Document,
249 unaltered in their text and in their titles. Section numbers
250 or the equivalent are not considered part of the section titles.
251
252 M. Delete any section Entitled "Endorsements". Such a section
253 may not be included in the Modified Version.
254
255 N. Do not retitle any existing section to be Entitled "Endorsements"
256 or to conflict in title with any Invariant Section.
257
258 O. Preserve any Warranty Disclaimers.
259
260 If the Modified Version includes new front-matter sections or
261 appendices that qualify as Secondary Sections and contain no material
262 copied from the Document, you may at your option designate some or all
263 of these sections as invariant. To do this, add their titles to the
264 list of Invariant Sections in the Modified Version's license notice.
265 These titles must be distinct from any other section titles.
266
267 You may add a section Entitled "Endorsements", provided it contains
268 nothing but endorsements of your Modified Version by various
269 parties---for example, statements of peer review or that the text has
270 been approved by an organization as the authoritative definition of a
271 standard.
272
273 You may add a passage of up to five words as a Front-Cover Text, and a
274 passage of up to 25 words as a Back-Cover Text, to the end of the list
275 of Cover Texts in the Modified Version. Only one passage of
276 Front-Cover Text and one of Back-Cover Text may be added by (or
277 through arrangements made by) any one entity. If the Document already
278 includes a cover text for the same cover, previously added by you or
279 by arrangement made by the same entity you are acting on behalf of,
280 you may not add another; but you may replace the old one, on explicit
281 permission from the previous publisher that added the old one.
282
283 The author(s) and publisher(s) of the Document do not by this License
284 give permission to use their names for publicity for or to assert or
285 imply endorsement of any Modified Version.
286
287 5. COMBINING DOCUMENTS
288 ~~~~~~~~~~~~~~~~~~~~~~
289
290 You may combine the Document with other documents released under this
291 License, under the terms defined in section 4 above for modified
292 versions, provided that you include in the combination all of the
293 Invariant Sections of all of the original documents, unmodified, and
294 list them all as Invariant Sections of your combined work in its
295 license notice, and that you preserve all their Warranty Disclaimers.
296
297 The combined work need only contain one copy of this License, and
298 multiple identical Invariant Sections may be replaced with a single
299 copy. If there are multiple Invariant Sections with the same name but
300 different contents, make the title of each such section unique by
301 adding at the end of it, in parentheses, the name of the original
302 author or publisher of that section if known, or else a unique number.
303 Make the same adjustment to the section titles in the list of
304 Invariant Sections in the license notice of the combined work.
305
306 In the combination, you must combine any sections Entitled "History"
307 in the various original documents, forming one section Entitled
308 "History"; likewise combine any sections Entitled "Acknowledgements",
309 and any sections Entitled "Dedications". You must delete all sections
310 Entitled "Endorsements".
311
312 6. COLLECTIONS OF DOCUMENTS
313 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
314
315 You may make a collection consisting of the Document and other documents
316 released under this License, and replace the individual copies of this
317 License in the various documents with a single copy that is included in
318 the collection, provided that you follow the rules of this License for
319 verbatim copying of each of the documents in all other respects.
320
321 You may extract a single document from such a collection, and distribute
322 it individually under this License, provided you insert a copy of this
323 License into the extracted document, and follow this License in all
324 other respects regarding verbatim copying of that document.
325
326 7. AGGREGATION WITH INDEPENDENT WORKS
327 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328
329 A compilation of the Document or its derivatives with other separate
330 and independent documents or works, in or on a volume of a storage or
331 distribution medium, is called an "aggregate" if the copyright
332 resulting from the compilation is not used to limit the legal rights
333 of the compilation's users beyond what the individual works permit.
334 When the Document is included in an aggregate, this License does not
335 apply to the other works in the aggregate which are not themselves
336 derivative works of the Document.
337
338 If the Cover Text requirement of section 3 is applicable to these
339 copies of the Document, then if the Document is less than one half of
340 the entire aggregate, the Document's Cover Texts may be placed on
341 covers that bracket the Document within the aggregate, or the
342 electronic equivalent of covers if the Document is in electronic form.
343 Otherwise they must appear on printed covers that bracket the whole
344 aggregate.
345
346 8. TRANSLATION
347 ~~~~~~~~~~~~~~
348
349 Translation is considered a kind of modification, so you may
350 distribute translations of the Document under the terms of section 4.
351 Replacing Invariant Sections with translations requires special
352 permission from their copyright holders, but you may include
353 translations of some or all Invariant Sections in addition to the
354 original versions of these Invariant Sections. You may include a
355 translation of this License, and all the license notices in the
356 Document, and any Warranty Disclaimers, provided that you also include
357 the original English version of this License and the original versions
358 of those notices and disclaimers. In case of a disagreement between
359 the translation and the original version of this License or a notice
360 or disclaimer, the original version will prevail.
361
362 If a section in the Document is Entitled "Acknowledgements",
363 "Dedications", or "History", the requirement (section 4) to Preserve
364 its Title (section 1) will typically require changing the actual
365 title.
366
367 9. TERMINATION
368 ~~~~~~~~~~~~~~
369
370 You may not copy, modify, sublicense, or distribute the Document
371 except as expressly provided under this License. Any attempt
372 otherwise to copy, modify, sublicense, or distribute it is void, and
373 will automatically terminate your rights under this License.
374
375 However, if you cease all violation of this License, then your license
376 from a particular copyright holder is reinstated (a) provisionally,
377 unless and until the copyright holder explicitly and finally
378 terminates your license, and (b) permanently, if the copyright holder
379 fails to notify you of the violation by some reasonable means prior to
380 60 days after the cessation.
381
382 Moreover, your license from a particular copyright holder is
383 reinstated permanently if the copyright holder notifies you of the
384 violation by some reasonable means, this is the first time you have
385 received notice of violation of this License (for any work) from that
386 copyright holder, and you cure the violation prior to 30 days after
387 your receipt of the notice.
388
389 Termination of your rights under this section does not terminate the
390 licenses of parties who have received copies or rights from you under
391 this License. If your rights have been terminated and not permanently
392 reinstated, receipt of a copy of some or all of the same material does
393 not give you any rights to use it.
394
395 10. FUTURE REVISIONS OF THIS LICENSE
396 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
397
398 The Free Software Foundation may publish new, revised versions
399 of the GNU Free Documentation License from time to time. Such new
400 versions will be similar in spirit to the present version, but may
401 differ in detail to address new problems or concerns. See
402 https://www.gnu.org/copyleft/.
403
404 Each version of the License is given a distinguishing version number.
405 If the Document specifies that a particular numbered version of this
406 License "or any later version" applies to it, you have the option of
407 following the terms and conditions either of that specified version or
408 of any later version that has been published (not as a draft) by the
409 Free Software Foundation. If the Document does not specify a version
410 number of this License, you may choose any version ever published (not
411 as a draft) by the Free Software Foundation. If the Document
412 specifies that a proxy can decide which future versions of this
413 License can be used, that proxy's public statement of acceptance of a
414 version permanently authorizes you to choose that version for the
415 Document.
416
417 11. RELICENSING
418 ~~~~~~~~~~~~~~~
419
420 "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
421 World Wide Web server that publishes copyrightable works and also
422 provides prominent facilities for anybody to edit those works. A
423 public wiki that anybody can edit is an example of such a server. A
424 "Massive Multiauthor Collaboration" (or "MMC") contained in the
425 site means any set of copyrightable works thus published on the MMC
426 site.
427
428 "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
429 license published by Creative Commons Corporation, a not-for-profit
430 corporation with a principal place of business in San Francisco,
431 California, as well as future copyleft versions of that license
432 published by that same organization.
433
434 "Incorporate" means to publish or republish a Document, in whole or
435 in part, as part of another Document.
436
437 An MMC is "eligible for relicensing" if it is licensed under this
438 License, and if all works that were first published under this License
439 somewhere other than this MMC, and subsequently incorporated in whole
440 or in part into the MMC, (1) had no cover texts or invariant sections,
441 and (2) were thus incorporated prior to November 1, 2008.
442
443 The operator of an MMC Site may republish an MMC contained in the site
444 under CC-BY-SA on the same site at any time before August 1, 2009,
445 provided the MMC is eligible for relicensing.
446
447 ADDENDUM: How to use this License for your documents
448 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
449
450 To use this License in a document you have written, include a copy of
451 the License in the document and put the following copyright and
452 license notices just after the title page:
453
454 Copyright © YEAR YOUR NAME.
455 Permission is granted to copy, distribute and/or modify this document
456 under the terms of the GNU Free Documentation License, Version 1.3
457 or any later version published by the Free Software Foundation;
458 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
459 A copy of the license is included in the section entitled "GNU
460 Free Documentation License".
461
462
463 If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
464 replace the "with ... Texts." line with this:
465
466 with the Invariant Sections being LIST THEIR TITLES, with the
467 Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
468
469 If you have Invariant Sections without Cover Texts, or some other
470 combination of the three, merge those two alternatives to suit the
471 situation.
472
473 If your document contains nontrivial examples of program code, we
474 recommend releasing these examples in parallel under your choice of
475 free software license, such as the GNU General Public License,
476 to permit their use in free software.