Add new machien types and section flags
[deliverable/binutils-gdb.git] / binutils / objcopy.1
CommitLineData
37cc8ec1 1.\" Copyright (c) 1991, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation
252b5132 2.\" See section COPYING for conditions for redistribution
cf055d54 3.TH objcopy 1 "05 April 2000" "Free Software Foundation" "GNU Development Tools"
252b5132
RH
4.de BP
5.sp
6.ti \-.2i
7\(**
8..
9
10.SH NAME
11objcopy \- copy and translate object files
12
13.SH SYNOPSIS
14.hy 0
15.na
16.TP
17.B objcopy
18.RB "[\|" \-F\ \fIbfdname\fR\ |\ \fB\-\-target=\fIbfdname\fR "\|]"
19.RB "[\|" \-I\ \fIbfdname\fR\ |\ \fB\-\-input\-target=\fIbfdname\fR "\|]"
20.RB "[\|" \-O\ \fIbfdname\fR\ |\ \fB\-\-output\-target=\fIbfdname\fR "\|]"
f91ea849 21.RB "[\|" \-j\ \fIsectionname\fR\ |\ \fB\-\-only\-section=\fIsectionname\fR "\|]"
252b5132
RH
22.RB "[\|" \-R\ \fIsectionname\fR\ |\ \fB\-\-remove\-section=\fIsectionname\fR "\|]"
23.RB "[\|" \-S\fR\ |\ \fB\-\-strip\-all\fR "\|]"
24.RB "[\|" \-g\fR\ |\ \fB\-\-strip\-debug\fR "\|]"
25.RB "[\|" \-\-strip\-unneeded\fR "\|]"
26.RB "[\|" \-K\ \fIsymbolname\fR\ |\ \fB\-\-keep\-symbol=\fIsymbolname\fR "\|]"
27.RB "[\|" \-N\ \fIsymbolname\fR\ |\ \fB\-\-strip\-symbol=\fIsymbolname\fR "\|]"
28.RB "[\|" \-L\ \fIsymbolname\fR\ |\ \fB\-\-localize\-symbol=\fIsymbolname\fR "\|]"
29.RB "[\|" \-W\ \fIsymbolname\fR\ |\ \fB\-\-weaken\-symbol=\fIsymbolname\fR "\|]"
30.RB "[\|" \-x\fR\ |\ \fB\-\-discard\-all\fR "\|]"
31.RB "[\|" \-X\fR\ |\ \fB\-\-discard\-locals\fR "\|]"
32.RB "[\|" \-b\ \fIbyte\fR\ |\ \fB\-\-byte=\fIbyte\fR "\|]"
33.RB "[\|" \-i\ \fIinterleave\fR\ |\ \fB\-\-interleave=\fIinterleave\fR "\|]"
34.RB "[\|" \-p\fR\ |\ \fB\-\-preserve\-dates\fR "\|]"
35.RB "[\|" \-\-debugging "\|]"
36.RB "[\|" \-\-gap\-fill=\fIval\fR "\|]"
37.RB "[\|" \-\-pad\-to=\fIaddress\fR "\|]"
38.RB "[\|" \-\-set\-start=\fIval\fR "\|]"
39.RB "[\|" \-\-change\-start=\fIincr\fR "\|]"
40.RB "[\|" \-\-change\-addresses=\fIincr\fR "\|]"
57938635
AM
41.RB "[\|" \-\-change\-section\-address\ \fIsection{=,+,-}val\fR "\|]"
42.RB "[\|" \-\-change\-section\-lma\ \fIsection{=,+,-}val\fR "\|]"
43.RB "[\|" \-\-change\-section\-vma\ \fIsection{=,+,-}val\fR "\|]"
252b5132
RH
44.RB "[\|" \-\-change\-warnings\fR "\|]"
45.RB "[\|" \-\-no\-change\-warnings\fR "\|]"
57938635
AM
46.RB "[\|" \-\-set\-section\-flags\ \fIsection=flags\fR "\|]"
47.RB "[\|" \-\-add\-section\ \fIsectionname=filename\fR "\|]"
252b5132
RH
48.RB "[\|" \-\-change\-leading\-char\fR "\|]"
49.RB "[\|" \-\-remove\-leading\-char\fR "\|]"
420496c1
NC
50.RB "[\|" \-\-srec\-len=\fIval\fR "\|]"
51.RB "[\|" \-\-srec\-forceS3\fR "\|]"
57938635 52.RB "[\|" \-\-redefine\-sym\ \fIold=new\fR "\|]"
252b5132
RH
53.RB "[\|" \-\-weaken\fR "\|]"
54.RB "[\|" \-v\ |\ \-\-verbose\fR "\|]"
55.RB "[\|" \-V\ |\ \-\-version\fR "\|]"
56.RB "[\|" \-\-help\fR "\|]"
57.B infile
58.RB "[\|" outfile\fR "\|]"
59.SH DESCRIPTION
60The GNU
61.B objcopy
62utility copies the contents of an object file to another.
63.B objcopy
64uses the GNU BFD Library to read and write the object files. It can
65write the destination object file in a format different from that of
66the source object file. The exact behavior of
67.B objcopy
68is controlled by command-line options.
69.PP
70.B objcopy
71creates temporary files to do its translations and deletes them
72afterward.
73.B objcopy
74uses BFD to do all its translation work; it knows about all the
75formats BFD knows about, and thus is able to recognize most formats
76without being told explicitly.
77.PP
78.B objcopy
79can be used to generate S-records by using an output target of
80.B srec
81(e.g., use
82.B -O srec).
83.PP
84.B objcopy
85can be used to generate a raw binary file by using an output target of
86.B binary
87(e.g., use
88.B -O binary).
89When
90.B objcopy
91generates a raw binary file, it will essentially produce a memory dump
92of the contents of the input object file. All symbols and relocation
93information will be discarded. The memory dump will start at the
94virtual address of the lowest section copied into the output file.
95.PP
96When generating an S-record or a raw binary file, it may be helpful to
97use
98.B -S
99to remove sections containing debugging information. In some cases
100.B -R
101will be useful to remove sections which contain information which is
102not needed by the binary file.
103.PP
104.I infile
105and
106.I outfile
107are the source and output files respectively. If you do not specify
108.IR outfile ,
109.B objcopy
110creates a temporary file and destructively renames the result with the
111name of the input file.
112
113.SH OPTIONS
114.TP
115.B \-I \fIbfdname\fR, \fB\-\-input\-target=\fIbfdname
116Consider the source file's object format to be
117.IR bfdname ,
118rather than attempting to deduce it.
119.TP
120.B \-O \fIbfdname\fR, \fB\-\-output\-target=\fIbfdname
121Write the output file using the object format
122.IR bfdname .
123.TP
124.B \-F \fIbfdname\fR, \fB\-\-target=\fIbfdname
125Use
126.I bfdname
127as the object format for both the input and the output file; i.e.
128simply transfer data from source to destination with no translation.
129.TP
f91ea849
ILT
130.B \-j \fIsectionname\fR, \fB\-\-only\-section=\fIsectionname
131Copy only the named section from the input file to the output file,
132discarding all other sections. This option may be given more than
133once. Note that using this option inappropriately may make the output
134file unusable.
135.TP
252b5132
RH
136.B \-R \fIsectionname\fR, \fB\-\-remove-section=\fIsectionname
137Remove the named section from the file. This option may be given more
138than once. Note that using this option inappropriately may make the
139output file unusable.
140.TP
141.B \-S\fR, \fB\-\-strip\-all
142Do not copy relocation and symbol information from the source file.
143.TP
144.B \-g\fR, \fB\-\-strip\-debug
145Do not copy debugging symbols from the source file.
146.TP
147.B \-\-strip\-unneeded
148Strip all symbols that are not needed for relocation processing.
149.TP
150.B \-K \fIsymbolname\fR, \fB\-\-keep\-symbol=\fIsymbolname
151Copy only symbol \fIsymbolname\fP from the source file. This option
152may be given more than once.
153.TP
154.B \-N \fIsymbolname\fR, \fB\-\-strip\-symbol=\fIsymbolname
155Do not copy symbol \fIsymbolname\fP from the source file. This option
156may be given more than once.
157.TP
158.B \-L \fIsymbolname\fR, \fB\-\-localize\-symbol=\fIsymbolname
159Make symbol \fIsymbolname\fP local to the file, so that it is not
160visible externally. This option may be given more than once.
161.TP
162.B \-W \fIsymbolname\fR, \fB\-\-weaken\-symbol=\fIsymbolname
163Make symbol \fIsymbolname\fP weak. This option may be given more than once.
164.TP
57938635 165.B \-x\fR, \fB\-\-discard\-all
252b5132
RH
166Do not copy non-global symbols from the source file.
167.TP
168.B \-X\fR, \fB\-\-discard\-locals
169Do not copy compiler-generated local symbols. (These usually start
170with "L" or ".").
171.TP
172.B \-b \fIbyte\fR, \fB\-\-byte=\fIbyte
173Keep only every \fIbyte\fPth byte of the input file (header data is
174not affected). \fIbyte\fP can be in the range from 0 to the
175interleave-1. This option is useful for creating files to program
176ROMs. It is typically used with an srec output target.
177.TP
178.B \-i \fIinterleave\fR, \fB\-\-interleave=\fIinterleave
179Only copy one out of every \fIinterleave\fP bytes. Which one to copy is
180selected by the \fB\-b\fP or \fB\-\-byte\fP option. The default is 4.
181The interleave is ignored if neither \fB\-b\fP nor \fB\-\-byte\fP is given.
182.TP
183.B \-p\fR, \fB\-\-preserve\-dates
184Set the access and modification dates of the output file to be the same
185as those of the input file.
186.TP
187.B \-\-debugging
188Convert debugging information, if possible. This is not the default
189because only certain debugging formats are supported, and the
190conversion process can be time consuming.
191.TP
192.B \-\-gap\-fill=\fIval
193Fill gaps between sections with \fIval\fP. This operation applies to
194the \fIload address\fP (LMA) of the sections. It is done by increasing
195the size of the section with the lower address, and filling in the extra
196space created with \fIval\fP.
197.TP
198.B \-\-pad\-to=\fIaddress
199Pad the output file up to the load address \fIaddress\fP. This is
200done by increasing the size of the last section. The extra space is
201filled in with the value specified by \fB\-\-gap\-fill\fP (default
202zero).
203.TP
204.B \fB\-\-set\-start=\fIval
205Set the start address of the new file to \fIval\fP. Not all object
206file formats support setting the start address.
207.TP
208.B \fB\-\-change\-start=\fIincr\fR, \fB\-\-adjust\-start=\fIincr
209Changes the start address by adding \fIincr\fP. Not all object file
210formats support setting the start address.
211.TP
212.B \fB\-\-change\-addresses=\fIincr\fR, \fB\-\-adjust\-vma=\fIincr
213Changes the address of all sections, as well as the start address, by
214adding \fIincr\fP. Some object file formats do not permit section
215addresses to be changed arbitrarily. Note that this does not relocate
216the sections; if the program expects sections to be loaded at a
217certain address, and this option is used to change the sections such
218that they are loaded at a different address, the program may fail.
219.TP
57938635 220.B \fB\-\-change\-section\-address\ \fIsection{=,+,-}val\fR, \fB\-\-adjust\-section\-vma\ \fIsection{=,+,-}val
252b5132
RH
221Set or changes the VMA and LMA addresses of the named \fIsection\fP.
222If \fI=\fP is used, the section address is set to \fIval\fP.
223Otherwise, \fIval\fP is added to or subtracted from the section
224address. See the comments under \fB\-\-change\-addresses\fP, above. If
225\fIsection\fP does not exist in the input file, a warning will be
226issued, unless \fB\-\-no\-change\-warnings\fP is used.
227.TP
57938635 228.B \fB\-\-change\-section\-lma\ \fIsection{=,+,-}val
252b5132
RH
229Set or change the LMA address of the named \fIsection\fP. If \fI=\fP is
230used, the section address is set to \fIval\fP. Otherwise, \fIval\fP
231is added to or subtracted from the section address. See the comments
232under \fB\-\-change\-addresses\fP, above. If \fIsection\fP does not exist
233in the input file, a warning will be issued, unless
234\fB\-\-no\-change\-warnings\fP is used.
235.TP
57938635 236.B \fB\-\-change\-section\-vma\ \fIsection{=,+,-}val
252b5132
RH
237Set or change the VMA address of the named \fIsection\fP. If \fI=\fP is
238used, the section address is set to \fIval\fP. Otherwise, \fIval\fP
239is added to or subtracted from the section address. See the comments
240under \fB\-\-change\-addresses\fP, above. If \fIsection\fP does not exist
241in the input file, a warning will be issued, unless
242\fB\-\-no\-change\-warnings\fP is used.
243.TP
244.B \fB\-\-change\-warnings\fR, \fB\-\-adjust\-warnings
245If \fB\-\-change\-section\-XXX\fP is used, and the named section does
246not exist, issue a warning. This is the default.
247.TP
248.B \fB\-\-no\-change\-warnings\fR, \fB\-\-no\-adjust\-warnings
249Do not issue a warning if \fB\-\-change\-section\-XXX\fP is used, even
250if the named section does not exist.
251.TP
57938635 252.B \fB\-\-set\-section\-flags\ \fIsection=flags
252b5132
RH
253Set the flags for the named section. The \fIflags\fP argument is a
254comma separated string of flag names. The recognized names are
3994e2c6
ILT
255\fIalloc\fP, \fIcontents\fP, \fIload\fP, \fInoload\fP, \fIreadonly\fP,
256\fIcode\fP, \fIdata\fP, \fIrom\fP, \fIshare\fP, and \fIdebug\fP. Not
257all flags are meaningful for all object file formats.
252b5132 258.TP
57938635 259.B \fB\-\-add\-section\ \fIsectionname=filename
252b5132
RH
260Add a new section named \fIsectionname\fR while copying the file. The
261contents of the new section are taken from the file \fIfilename\fR.
262The size of the section will be the size of the file. This option
263only works on file formats which can support sections with arbitrary
264names.
265.TP
266.B \-\-change\-leading\-char
267Some object file formats use special characters at the start of
268symbols. The most common such character is underscore, which compilers
269often add before every symbol. This option tells
270.B objcopy
271to change the leading character of every symbol when it converts
272between object file formats. If the object file formats use the same
273leading character, this option has no effect. Otherwise, it will add
274a character, or remove a character, or change a character, as
275appropriate.
276.TP
277.B \-\-remove\-leading\-char
278If the first character of a global symbol is a special symbol leading
279character used by the object file format, remove the character. The
280most common symbol leading character is underscore. This option will
281remove a leading underscore from all global symbols. This can be
282useful if you want to link together objects of different file formats
283with different conventions for symbol names. This is different from
284\fB\-\-change\-leading\-char\fP because it always changes the symbol name
285when appropriate, regardless of the object file format of the output
286.TP
420496c1
NC
287.B \fB\-\-srec\-len=\fIval
288Meaningful only for srec output. Set the length of the Srecords to \fIval\fP.
289This length covers both the address, data and crc fields.
290.TP
291.B \fB\-\-srec\-forceS3
292Meaningful only for srec output. Avoid generation of S1/S2 records, creating
293S3-only record format.
294.TP
57938635
AM
295.B \-\-redefine\-sym\ \fIold=new
296Change the name of symbol \fIold\fR to \fInew\fR. This can be useful
297when one is trying link two things together for which you have no
298source, and there are name collisions.
299.TP
252b5132
RH
300.B \-\-weaken
301Change all global symbols in the file to be weak.
302.TP
303.B \-v\fR, \fB\-\-verbose
304Verbose output: list all object files modified. In the case of
305archives, "\fBobjcopy \-V\fR" lists all members of the archive.
306.TP
307.B \-V\fR, \fB\-\-version
308Show the version number of
309.B objcopy
310and exit.
311.TP
312.B \-\-help
313Show a summary of the options to
314.B objcopy
315and exit.
316.SH "SEE ALSO"
317.RB "`\|" binutils "\|'"
318entry in
319.B
320info\c
321\&;
322.I
323The GNU Binary Utilities\c
324\&, Roland H. Pesch (June 1993).
325
326.SH COPYING
cf055d54
NC
327Copyright (c) 1993, 94, 95, 96, 97, 98, 1999, 2000 Free Software Foundation, Inc.
328.PP
329This document is distributed under the terms of the GNU Free
330Documenation License. That license is described in the GNU Free
331Documentation License section.
332
333.SH GNU Free Documentation License
334 Version 1.1, March 2000
335
336 Copyright (C) 2000 Free Software Foundation, Inc.
337 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
338
339 Everyone is permitted to copy and distribute verbatim
340 copies of this license document, but changing it is
341 not allowed.
342.PP
3430. PREAMBLE
344.PP
345The purpose of this License is to make a manual, textbook, or other
346written document "free" in the sense of freedom: to assure everyone
347the effective freedom to copy and redistribute it, with or without
348modifying it, either commercially or noncommercially. Secondarily,
349this License preserves for the author and publisher a way to get
350credit for their work, while not being considered responsible for
351modifications made by others.
352.PP
353This License is a kind of "copyleft", which means that derivative
354works of the document must themselves be free in the same sense. It
355complements the GNU General Public License, which is a copyleft
356license designed for free software.
357.PP
358We have designed this License in order to use it for manuals for free
359software, because free software needs free documentation: a free
360program should come with manuals providing the same freedoms that the
361software does. But this License is not limited to software manuals;
362it can be used for any textual work, regardless of subject matter or
363whether it is published as a printed book. We recommend this License
364principally for works whose purpose is instruction or reference.
365.PP
3661. APPLICABILITY AND DEFINITIONS
367.PP
368This License applies to any manual or other work that contains a
369notice placed by the copyright holder saying it can be distributed
370under the terms of this License. The "Document", below, refers to any
371such manual or work. Any member of the public is a licensee, and is
372addressed as "you".
373.PP
374A "Modified Version" of the Document means any work containing the
375Document or a portion of it, either copied verbatim, or with
376modifications and/or translated into another language.
377.PP
378A "Secondary Section" is a named appendix or a front-matter section of
379the Document that deals exclusively with the relationship of the
380publishers or authors of the Document to the Document's overall subject
381(or to related matters) and contains nothing that could fall directly
382within that overall subject. (For example, if the Document is in part a
383textbook of mathematics, a Secondary Section may not explain any
384mathematics.) The relationship could be a matter of historical
385connection with the subject or with related matters, or of legal,
386commercial, philosophical, ethical or political position regarding
387them.
388.PP
389The "Invariant Sections" are certain Secondary Sections whose titles
390are designated, as being those of Invariant Sections, in the notice
391that says that the Document is released under this License.
392.PP
393The "Cover Texts" are certain short passages of text that are listed,
394as Front-Cover Texts or Back-Cover Texts, in the notice that says that
395the Document is released under this License.
396.PP
397A "Transparent" copy of the Document means a machine-readable copy,
398represented in a format whose specification is available to the
399general public, whose contents can be viewed and edited directly and
400straightforwardly with generic text editors or (for images composed of
401pixels) generic paint programs or (for drawings) some widely available
402drawing editor, and that is suitable for input to text formatters or
403for automatic translation to a variety of formats suitable for input
404to text formatters. A copy made in an otherwise Transparent file
405format whose markup has been designed to thwart or discourage
406subsequent modification by readers is not Transparent. A copy that is
407not "Transparent" is called "Opaque".
408.PP
409Examples of suitable formats for Transparent copies include plain
410ASCII without markup, Texinfo input format, LaTeX input format, SGML
411or XML using a publicly available DTD, and standard-conforming simple
412HTML designed for human modification. Opaque formats include
413PostScript, PDF, proprietary formats that can be read and edited only
414by proprietary word processors, SGML or XML for which the DTD and/or
415processing tools are not generally available, and the
416machine-generated HTML produced by some word processors for output
417purposes only.
418.PP
419The "Title Page" means, for a printed book, the title page itself,
420plus such following pages as are needed to hold, legibly, the material
421this License requires to appear in the title page. For works in
422formats which do not have any title page as such, "Title Page" means
423the text near the most prominent appearance of the work's title,
424preceding the beginning of the body of the text.
425.PP
4262. VERBATIM COPYING
427.PP
428You may copy and distribute the Document in any medium, either
429commercially or noncommercially, provided that this License, the
430copyright notices, and the license notice saying this License applies
431to the Document are reproduced in all copies, and that you add no other
432conditions whatsoever to those of this License. You may not use
433technical measures to obstruct or control the reading or further
434copying of the copies you make or distribute. However, you may accept
435compensation in exchange for copies. If you distribute a large enough
436number of copies you must also follow the conditions in section 3.
437.PP
438You may also lend copies, under the same conditions stated above, and
439you may publicly display copies.
440.PP
4413. COPYING IN QUANTITY
442.PP
443If you publish printed copies of the Document numbering more than 100,
444and the Document's license notice requires Cover Texts, you must enclose
445the copies in covers that carry, clearly and legibly, all these Cover
446Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
447the back cover. Both covers must also clearly and legibly identify
448you as the publisher of these copies. The front cover must present
449the full title with all words of the title equally prominent and
450visible. You may add other material on the covers in addition.
451Copying with changes limited to the covers, as long as they preserve
452the title of the Document and satisfy these conditions, can be treated
453as verbatim copying in other respects.
454.PP
455If the required texts for either cover are too voluminous to fit
456legibly, you should put the first ones listed (as many as fit
457reasonably) on the actual cover, and continue the rest onto adjacent
458pages.
459.PP
460If you publish or distribute Opaque copies of the Document numbering
461more than 100, you must either include a machine-readable Transparent
462copy along with each Opaque copy, or state in or with each Opaque copy
463a publicly-accessible computer-network location containing a complete
464Transparent copy of the Document, free of added material, which the
465general network-using public has access to download anonymously at no
466charge using public-standard network protocols. If you use the latter
467option, you must take reasonably prudent steps, when you begin
468distribution of Opaque copies in quantity, to ensure that this
469Transparent copy will remain thus accessible at the stated location
470until at least one year after the last time you distribute an Opaque
471copy (directly or through your agents or retailers) of that edition to
472the public.
473.PP
474It is requested, but not required, that you contact the authors of the
475Document well before redistributing any large number of copies, to give
476them a chance to provide you with an updated version of the Document.
477.PP
4784. MODIFICATIONS
479.PP
480You may copy and distribute a Modified Version of the Document under
481the conditions of sections 2 and 3 above, provided that you release
482the Modified Version under precisely this License, with the Modified
483Version filling the role of the Document, thus licensing distribution
484and modification of the Modified Version to whoever possesses a copy
485of it. In addition, you must do these things in the Modified Version:
486.PP
487A. Use in the Title Page (and on the covers, if any) a title distinct
488from that of the Document, and from those of previous versions
489(which should, if there were any, be listed in the History section
490of the Document). You may use the same title as a previous version
491if the original publisher of that version gives permission.
492.PP
493B. List on the Title Page, as authors, one or more persons or entities
494responsible for authorship of the modifications in the Modified
495Version, together with at least five of the principal authors of the
496Document (all of its principal authors, if it has less than five).
497.PP
498C. State on the Title page the name of the publisher of the
499Modified Version, as the publisher.
500.PP
501D. Preserve all the copyright notices of the Document.
502.PP
503E. Add an appropriate copyright notice for your modifications
504adjacent to the other copyright notices.
505.PP
506F. Include, immediately after the copyright notices, a license notice
507giving the public permission to use the Modified Version under the
508terms of this License, in the form shown in the Addendum below.
509Preserve in that license notice the full lists of Invariant Sections
510and required Cover Texts given in the Document's license notice.
511.PP
512H. Include an unaltered copy of this License.
513.PP
514I. Preserve the section entitled "History", and its title, and add to
515it an item stating at least the title, year, new authors, and
516publisher of the Modified Version as given on the Title Page. If
517there is no section entitled "History" in the Document, create one
518stating the title, year, authors, and publisher of the Document as
519given on its Title Page, then add an item describing the Modified
520Version as stated in the previous sentence.
521.PP
522J. Preserve the network location, if any, given in the Document for
523public access to a Transparent copy of the Document, and likewise
524the network locations given in the Document for previous versions
525it was based on. These may be placed in the "History" section.
526You may omit a network location for a work that was published at
527least four years before the Document itself, or if the original
528publisher of the version it refers to gives permission.
529.PP
530K. In any section entitled "Acknowledgements" or "Dedications",
531preserve the section's title, and preserve in the section all the
532substance and tone of each of the contributor acknowledgements
533and/or dedications given therein.
534.PP
535L. Preserve all the Invariant Sections of the Document,
536unaltered in their text and in their titles. Section numbers
537or the equivalent are not considered part of the section titles.
538.PP
539M. Delete any section entitled "Endorsements". Such a section
540may not be included in the Modified Version.
541.PP
542N. Do not retitle any existing section as "Endorsements"
543or to conflict in title with any Invariant Section.
544.PP
545If the Modified Version includes new front-matter sections or
546appendices that qualify as Secondary Sections and contain no material
547copied from the Document, you may at your option designate some or all
548of these sections as invariant. To do this, add their titles to the
549list of Invariant Sections in the Modified Version's license notice.
550These titles must be distinct from any other section titles.
551.PP
552You may add a section entitled "Endorsements", provided it contains
553nothing but endorsements of your Modified Version by various
554parties--for example, statements of peer review or that the text has
555been approved by an organization as the authoritative definition of a
556standard.
557.PP
558You may add a passage of up to five words as a Front-Cover Text, and a
559passage of up to 25 words as a Back-Cover Text, to the end of the list
560of Cover Texts in the Modified Version. Only one passage of
561Front-Cover Text and one of Back-Cover Text may be added by (or
562through arrangements made by) any one entity. If the Document already
563includes a cover text for the same cover, previously added by you or
564by arrangement made by the same entity you are acting on behalf of,
565you may not add another; but you may replace the old one, on explicit
566permission from the previous publisher that added the old one.
567.PP
568The author(s) and publisher(s) of the Document do not by this License
569give permission to use their names for publicity for or to assert or
570imply endorsement of any Modified Version.
571.PP
572
5735. COMBINING DOCUMENTS
574.PP
575You may combine the Document with other documents released under this
576License, under the terms defined in section 4 above for modified
577versions, provided that you include in the combination all of the
578Invariant Sections of all of the original documents, unmodified, and
579list them all as Invariant Sections of your combined work in its
580license notice.
581.PP
582The combined work need only contain one copy of this License, and
583multiple identical Invariant Sections may be replaced with a single
584copy. If there are multiple Invariant Sections with the same name but
585different contents, make the title of each such section unique by
586adding at the end of it, in parentheses, the name of the original
587author or publisher of that section if known, or else a unique number.
588Make the same adjustment to the section titles in the list of
589Invariant Sections in the license notice of the combined work.
590.PP
591In the combination, you must combine any sections entitled "History"
592in the various original documents, forming one section entitled
593"History"; likewise combine any sections entitled "Acknowledgements",
594and any sections entitled "Dedications". You must delete all sections
595entitled "Endorsements."
596.PP
597
5986. COLLECTIONS OF DOCUMENTS
599.PP
600You may make a collection consisting of the Document and other documents
601released under this License, and replace the individual copies of this
602License in the various documents with a single copy that is included in
603the collection, provided that you follow the rules of this License for
604verbatim copying of each of the documents in all other respects.
605.PP
606You may extract a single document from such a collection, and distribute
607it individually under this License, provided you insert a copy of this
608License into the extracted document, and follow this License in all
609other respects regarding verbatim copying of that document.
610.PP
611
6127. AGGREGATION WITH INDEPENDENT WORKS
613.PP
614A compilation of the Document or its derivatives with other separate
615and independent documents or works, in or on a volume of a storage or
616distribution medium, does not as a whole count as a Modified Version
617of the Document, provided no compilation copyright is claimed for the
618compilation. Such a compilation is called an "aggregate", and this
619License does not apply to the other self-contained works thus compiled
620with the Document, on account of their being thus compiled, if they
621are not themselves derivative works of the Document.
622.PP
623If the Cover Text requirement of section 3 is applicable to these
624copies of the Document, then if the Document is less than one quarter
625of the entire aggregate, the Document's Cover Texts may be placed on
626covers that surround only the Document within the aggregate.
627Otherwise they must appear on covers around the whole aggregate.
628.PP
629
6308. TRANSLATION
631.PP
632Translation is considered a kind of modification, so you may
633distribute translations of the Document under the terms of section 4.
634Replacing Invariant Sections with translations requires special
635permission from their copyright holders, but you may include
636translations of some or all Invariant Sections in addition to the
637original versions of these Invariant Sections. You may include a
638translation of this License provided that you also include the
639original English version of this License. In case of a disagreement
640between the translation and the original English version of this
641License, the original English version will prevail.
642.PP
643
6449. TERMINATION
645.PP
646You may not copy, modify, sublicense, or distribute the Document except
647as expressly provided for under this License. Any other attempt to
648copy, modify, sublicense or distribute the Document is void, and will
649automatically terminate your rights under this License. However,
650parties who have received copies, or rights, from you under this
651License will not have their licenses terminated so long as such
652parties remain in full compliance.
653.PP
654
65510. FUTURE REVISIONS OF THIS LICENSE
656.PP
657The Free Software Foundation may publish new, revised versions
658of the GNU Free Documentation License from time to time. Such new
659versions will be similar in spirit to the present version, but may
660differ in detail to address new problems or concerns. See
661http://www.gnu.org/copyleft/.
662.PP
663Each version of the License is given a distinguishing version number.
664If the Document specifies that a particular numbered version of this
665License "or any later version" applies to it, you have the option of
666following the terms and conditions either of that specified version or
667of any later version that has been published (not as a draft) by the
668Free Software Foundation. If the Document does not specify a version
669number of this License, you may choose any version ever published (not
670as a draft) by the Free Software Foundation.
671.PP
672
673ADDENDUM: How to use this License for your documents
674.PP
675To use this License in a document you have written, include a copy of
676the License in the document and put the following copyright and
677license notices just after the title page:
678.PP
679 Copyright (c) YEAR YOUR NAME.
680 Permission is granted to copy, distribute and/or
681 modify this document under the terms of the GNU
682 Free Documentation License, Version 1.1 or any later
683 version published by the Free Software Foundation;
684 with the Invariant Sections being LIST THEIR TITLES,
685 with the Front-Cover Texts being LIST, and with the
686 Back-Cover Texts being LIST. A copy of the license
687 is included in the section entitled "GNU Free
688 Documentation License".
689.PP
690If you have no Invariant Sections, write "with no Invariant Sections"
691instead of saying which ones are invariant. If you have no
692Front-Cover Texts, write "no Front-Cover Texts" instead of
693"Front-Cover Texts being LIST"; likewise for Back-Cover Texts.
694.PP
695If your document contains nontrivial examples of program code, we
696recommend releasing these examples in parallel under your choice of
697free software license, such as the GNU General Public License,
698to permit their use in free software.
This page took 0.077673 seconds and 4 git commands to generate.