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