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