Add GNU Free Documentation License
[deliverable/binutils-gdb.git] / binutils / ranlib.1
CommitLineData
cf055d54 1.\" Copyright (c) 1991, 2000 Free Software Foundation
252b5132 2.\" See section COPYING for conditions for redistribution
cf055d54 3.TH ranlib 1 "5 November 1991" "Free Software Foundation" "GNU Development Tools"
252b5132
RH
4.de BP
5.sp
6.ti \-.2i
7\(**
8..
9
10.SH NAME
11ranlib \- generate index to archive.
12
13.SH SYNOPSIS
14.hy 0
15.na
16.B ranlib \c
17.RB "[\|" \-v | \-V "\|]"
18.I archive\c
19\&
20.ad b
21.hy 1
22.SH DESCRIPTION
23.B ranlib
24generates an index to the contents of an archive, and
25stores it in the archive. The index lists each symbol defined by a
26member of an archive that is a relocatable object file.
27.PP
28You may use
29.RB ` "nm \-s" '
30or
31.RB ` "nm \-\-print-armap" '
32to list this index.
33.PP
34An archive with such an index speeds up linking to the library, and
35allows routines in the library to call each other without regard to
36their placement in the archive.
37.PP
38The GNU
39.B ranlib
40program is another form of GNU
41.BR ar ;
42running
43.B ranlib
44is completely equivalent to executing
45.RB ` "ar \-s" '.
46
47.SH OPTIONS
48.TP
49.B \-v
50Print the version number of
51.B ranlib
52and exit.
53
54.SH "SEE ALSO"
55.RB "`\|" binutils "\|'"
56entry in
57.B
58info\c
59\&;
60.I
61The GNU Binary Utilities\c
62\&, Roland H. Pesch (October 1991);
63.BR ar "(" 1 "),"
64.BR nm "(" 1 ")."
65
66
67.SH COPYING
cf055d54
NC
68Copyright (c) 1991, 2000 Free Software Foundation, Inc.
69.PP
70This document is distributed under the terms of the GNU Free
71Documenation License. That license is described in the GNU Free
72Documentation License section.
73
74.SH GNU Free Documentation License
75 Version 1.1, March 2000
76
77 Copyright (C) 2000 Free Software Foundation, Inc.
78 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
79
80 Everyone is permitted to copy and distribute verbatim
81 copies of this license document, but changing it is
82 not allowed.
83.PP
840. PREAMBLE
85.PP
86The purpose of this License is to make a manual, textbook, or other
87written document "free" in the sense of freedom: to assure everyone
88the effective freedom to copy and redistribute it, with or without
89modifying it, either commercially or noncommercially. Secondarily,
90this License preserves for the author and publisher a way to get
91credit for their work, while not being considered responsible for
92modifications made by others.
93.PP
94This License is a kind of "copyleft", which means that derivative
95works of the document must themselves be free in the same sense. It
96complements the GNU General Public License, which is a copyleft
97license designed for free software.
98.PP
99We have designed this License in order to use it for manuals for free
100software, because free software needs free documentation: a free
101program should come with manuals providing the same freedoms that the
102software does. But this License is not limited to software manuals;
103it can be used for any textual work, regardless of subject matter or
104whether it is published as a printed book. We recommend this License
105principally for works whose purpose is instruction or reference.
106.PP
1071. APPLICABILITY AND DEFINITIONS
108.PP
109This License applies to any manual or other work that contains a
110notice placed by the copyright holder saying it can be distributed
111under the terms of this License. The "Document", below, refers to any
112such manual or work. Any member of the public is a licensee, and is
113addressed as "you".
114.PP
115A "Modified Version" of the Document means any work containing the
116Document or a portion of it, either copied verbatim, or with
117modifications and/or translated into another language.
118.PP
119A "Secondary Section" is a named appendix or a front-matter section of
120the Document that deals exclusively with the relationship of the
121publishers or authors of the Document to the Document's overall subject
122(or to related matters) and contains nothing that could fall directly
123within that overall subject. (For example, if the Document is in part a
124textbook of mathematics, a Secondary Section may not explain any
125mathematics.) The relationship could be a matter of historical
126connection with the subject or with related matters, or of legal,
127commercial, philosophical, ethical or political position regarding
128them.
129.PP
130The "Invariant Sections" are certain Secondary Sections whose titles
131are designated, as being those of Invariant Sections, in the notice
132that says that the Document is released under this License.
133.PP
134The "Cover Texts" are certain short passages of text that are listed,
135as Front-Cover Texts or Back-Cover Texts, in the notice that says that
136the Document is released under this License.
137.PP
138A "Transparent" copy of the Document means a machine-readable copy,
139represented in a format whose specification is available to the
140general public, whose contents can be viewed and edited directly and
141straightforwardly with generic text editors or (for images composed of
142pixels) generic paint programs or (for drawings) some widely available
143drawing editor, and that is suitable for input to text formatters or
144for automatic translation to a variety of formats suitable for input
145to text formatters. A copy made in an otherwise Transparent file
146format whose markup has been designed to thwart or discourage
147subsequent modification by readers is not Transparent. A copy that is
148not "Transparent" is called "Opaque".
149.PP
150Examples of suitable formats for Transparent copies include plain
151ASCII without markup, Texinfo input format, LaTeX input format, SGML
152or XML using a publicly available DTD, and standard-conforming simple
153HTML designed for human modification. Opaque formats include
154PostScript, PDF, proprietary formats that can be read and edited only
155by proprietary word processors, SGML or XML for which the DTD and/or
156processing tools are not generally available, and the
157machine-generated HTML produced by some word processors for output
158purposes only.
159.PP
160The "Title Page" means, for a printed book, the title page itself,
161plus such following pages as are needed to hold, legibly, the material
162this License requires to appear in the title page. For works in
163formats which do not have any title page as such, "Title Page" means
164the text near the most prominent appearance of the work's title,
165preceding the beginning of the body of the text.
166.PP
1672. VERBATIM COPYING
168.PP
169You may copy and distribute the Document in any medium, either
170commercially or noncommercially, provided that this License, the
171copyright notices, and the license notice saying this License applies
172to the Document are reproduced in all copies, and that you add no other
173conditions whatsoever to those of this License. You may not use
174technical measures to obstruct or control the reading or further
175copying of the copies you make or distribute. However, you may accept
176compensation in exchange for copies. If you distribute a large enough
177number of copies you must also follow the conditions in section 3.
178.PP
179You may also lend copies, under the same conditions stated above, and
180you may publicly display copies.
181.PP
1823. COPYING IN QUANTITY
183.PP
184If you publish printed copies of the Document numbering more than 100,
185and the Document's license notice requires Cover Texts, you must enclose
186the copies in covers that carry, clearly and legibly, all these Cover
187Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
188the back cover. Both covers must also clearly and legibly identify
189you as the publisher of these copies. The front cover must present
190the full title with all words of the title equally prominent and
191visible. You may add other material on the covers in addition.
192Copying with changes limited to the covers, as long as they preserve
193the title of the Document and satisfy these conditions, can be treated
194as verbatim copying in other respects.
195.PP
196If the required texts for either cover are too voluminous to fit
197legibly, you should put the first ones listed (as many as fit
198reasonably) on the actual cover, and continue the rest onto adjacent
199pages.
200.PP
201If you publish or distribute Opaque copies of the Document numbering
202more than 100, you must either include a machine-readable Transparent
203copy along with each Opaque copy, or state in or with each Opaque copy
204a publicly-accessible computer-network location containing a complete
205Transparent copy of the Document, free of added material, which the
206general network-using public has access to download anonymously at no
207charge using public-standard network protocols. If you use the latter
208option, you must take reasonably prudent steps, when you begin
209distribution of Opaque copies in quantity, to ensure that this
210Transparent copy will remain thus accessible at the stated location
211until at least one year after the last time you distribute an Opaque
212copy (directly or through your agents or retailers) of that edition to
213the public.
214.PP
215It is requested, but not required, that you contact the authors of the
216Document well before redistributing any large number of copies, to give
217them a chance to provide you with an updated version of the Document.
218.PP
2194. MODIFICATIONS
220.PP
221You may copy and distribute a Modified Version of the Document under
222the conditions of sections 2 and 3 above, provided that you release
223the Modified Version under precisely this License, with the Modified
224Version filling the role of the Document, thus licensing distribution
225and modification of the Modified Version to whoever possesses a copy
226of it. In addition, you must do these things in the Modified Version:
227.PP
228A. Use in the Title Page (and on the covers, if any) a title distinct
229from that of the Document, and from those of previous versions
230(which should, if there were any, be listed in the History section
231of the Document). You may use the same title as a previous version
232if the original publisher of that version gives permission.
233.PP
234B. List on the Title Page, as authors, one or more persons or entities
235responsible for authorship of the modifications in the Modified
236Version, together with at least five of the principal authors of the
237Document (all of its principal authors, if it has less than five).
238.PP
239C. State on the Title page the name of the publisher of the
240Modified Version, as the publisher.
241.PP
242D. Preserve all the copyright notices of the Document.
243.PP
244E. Add an appropriate copyright notice for your modifications
245adjacent to the other copyright notices.
246.PP
247F. Include, immediately after the copyright notices, a license notice
248giving the public permission to use the Modified Version under the
249terms of this License, in the form shown in the Addendum below.
250Preserve in that license notice the full lists of Invariant Sections
251and required Cover Texts given in the Document's license notice.
252.PP
253H. Include an unaltered copy of this License.
254.PP
255I. Preserve the section entitled "History", and its title, and add to
256it an item stating at least the title, year, new authors, and
257publisher of the Modified Version as given on the Title Page. If
258there is no section entitled "History" in the Document, create one
259stating the title, year, authors, and publisher of the Document as
260given on its Title Page, then add an item describing the Modified
261Version as stated in the previous sentence.
262.PP
263J. Preserve the network location, if any, given in the Document for
264public access to a Transparent copy of the Document, and likewise
265the network locations given in the Document for previous versions
266it was based on. These may be placed in the "History" section.
267You may omit a network location for a work that was published at
268least four years before the Document itself, or if the original
269publisher of the version it refers to gives permission.
270.PP
271K. In any section entitled "Acknowledgements" or "Dedications",
272preserve the section's title, and preserve in the section all the
273substance and tone of each of the contributor acknowledgements
274and/or dedications given therein.
275.PP
276L. Preserve all the Invariant Sections of the Document,
277unaltered in their text and in their titles. Section numbers
278or the equivalent are not considered part of the section titles.
279.PP
280M. Delete any section entitled "Endorsements". Such a section
281may not be included in the Modified Version.
282.PP
283N. Do not retitle any existing section as "Endorsements"
284or to conflict in title with any Invariant Section.
285.PP
286If the Modified Version includes new front-matter sections or
287appendices that qualify as Secondary Sections and contain no material
288copied from the Document, you may at your option designate some or all
289of these sections as invariant. To do this, add their titles to the
290list of Invariant Sections in the Modified Version's license notice.
291These titles must be distinct from any other section titles.
292.PP
293You may add a section entitled "Endorsements", provided it contains
294nothing but endorsements of your Modified Version by various
295parties--for example, statements of peer review or that the text has
296been approved by an organization as the authoritative definition of a
297standard.
298.PP
299You may add a passage of up to five words as a Front-Cover Text, and a
300passage of up to 25 words as a Back-Cover Text, to the end of the list
301of Cover Texts in the Modified Version. Only one passage of
302Front-Cover Text and one of Back-Cover Text may be added by (or
303through arrangements made by) any one entity. If the Document already
304includes a cover text for the same cover, previously added by you or
305by arrangement made by the same entity you are acting on behalf of,
306you may not add another; but you may replace the old one, on explicit
307permission from the previous publisher that added the old one.
308.PP
309The author(s) and publisher(s) of the Document do not by this License
310give permission to use their names for publicity for or to assert or
311imply endorsement of any Modified Version.
312.PP
313
3145. COMBINING DOCUMENTS
315.PP
316You may combine the Document with other documents released under this
317License, under the terms defined in section 4 above for modified
318versions, provided that you include in the combination all of the
319Invariant Sections of all of the original documents, unmodified, and
320list them all as Invariant Sections of your combined work in its
321license notice.
322.PP
323The combined work need only contain one copy of this License, and
324multiple identical Invariant Sections may be replaced with a single
325copy. If there are multiple Invariant Sections with the same name but
326different contents, make the title of each such section unique by
327adding at the end of it, in parentheses, the name of the original
328author or publisher of that section if known, or else a unique number.
329Make the same adjustment to the section titles in the list of
330Invariant Sections in the license notice of the combined work.
331.PP
332In the combination, you must combine any sections entitled "History"
333in the various original documents, forming one section entitled
334"History"; likewise combine any sections entitled "Acknowledgements",
335and any sections entitled "Dedications". You must delete all sections
336entitled "Endorsements."
337.PP
338
3396. COLLECTIONS OF DOCUMENTS
340.PP
341You may make a collection consisting of the Document and other documents
342released under this License, and replace the individual copies of this
343License in the various documents with a single copy that is included in
344the collection, provided that you follow the rules of this License for
345verbatim copying of each of the documents in all other respects.
346.PP
347You may extract a single document from such a collection, and distribute
348it individually under this License, provided you insert a copy of this
349License into the extracted document, and follow this License in all
350other respects regarding verbatim copying of that document.
351.PP
352
3537. AGGREGATION WITH INDEPENDENT WORKS
354.PP
355A compilation of the Document or its derivatives with other separate
356and independent documents or works, in or on a volume of a storage or
357distribution medium, does not as a whole count as a Modified Version
358of the Document, provided no compilation copyright is claimed for the
359compilation. Such a compilation is called an "aggregate", and this
360License does not apply to the other self-contained works thus compiled
361with the Document, on account of their being thus compiled, if they
362are not themselves derivative works of the Document.
363.PP
364If the Cover Text requirement of section 3 is applicable to these
365copies of the Document, then if the Document is less than one quarter
366of the entire aggregate, the Document's Cover Texts may be placed on
367covers that surround only the Document within the aggregate.
368Otherwise they must appear on covers around the whole aggregate.
369.PP
370
3718. TRANSLATION
372.PP
373Translation is considered a kind of modification, so you may
374distribute translations of the Document under the terms of section 4.
375Replacing Invariant Sections with translations requires special
376permission from their copyright holders, but you may include
377translations of some or all Invariant Sections in addition to the
378original versions of these Invariant Sections. You may include a
379translation of this License provided that you also include the
380original English version of this License. In case of a disagreement
381between the translation and the original English version of this
382License, the original English version will prevail.
383.PP
384
3859. TERMINATION
386.PP
387You may not copy, modify, sublicense, or distribute the Document except
388as expressly provided for under this License. Any other attempt to
389copy, modify, sublicense or distribute the Document is void, and will
390automatically terminate your rights under this License. However,
391parties who have received copies, or rights, from you under this
392License will not have their licenses terminated so long as such
393parties remain in full compliance.
394.PP
395
39610. FUTURE REVISIONS OF THIS LICENSE
397.PP
398The Free Software Foundation may publish new, revised versions
399of the GNU Free Documentation License from time to time. Such new
400versions will be similar in spirit to the present version, but may
401differ in detail to address new problems or concerns. See
402http://www.gnu.org/copyleft/.
403.PP
404Each version of the License is given a distinguishing version number.
405If the Document specifies that a particular numbered version of this
406License "or any later version" applies to it, you have the option of
407following the terms and conditions either of that specified version or
408of any later version that has been published (not as a draft) by the
409Free Software Foundation. If the Document does not specify a version
410number of this License, you may choose any version ever published (not
411as a draft) by the Free Software Foundation.
412.PP
413
414ADDENDUM: How to use this License for your documents
415.PP
416To use this License in a document you have written, include a copy of
417the License in the document and put the following copyright and
418license notices just after the title page:
419.PP
420 Copyright (c) YEAR YOUR NAME.
421 Permission is granted to copy, distribute and/or
422 modify this document under the terms of the GNU
423 Free Documentation License, Version 1.1 or any later
424 version published by the Free Software Foundation;
425 with the Invariant Sections being LIST THEIR TITLES,
426 with the Front-Cover Texts being LIST, and with the
427 Back-Cover Texts being LIST. A copy of the license
428 is included in the section entitled "GNU Free
429 Documentation License".
430.PP
431If you have no Invariant Sections, write "with no Invariant Sections"
432instead of saying which ones are invariant. If you have no
433Front-Cover Texts, write "no Front-Cover Texts" instead of
434"Front-Cover Texts being LIST"; likewise for Back-Cover Texts.
435.PP
436If your document contains nontrivial examples of program code, we
437recommend releasing these examples in parallel under your choice of
438free software license, such as the GNU General Public License,
439to permit their use in free software.
This page took 0.070481 seconds and 4 git commands to generate.