Add an install-info target too.
[deliverable/binutils-gdb.git] / binutils / size.1
CommitLineData
2c8df22d
RP
1.\" Copyright (c) 1991 Free Software Foundation
2.\" See section COPYING for conditions for redistribution
2c8df22d
RP
3.TH size 1 "5 November 1991" "cygnus support" "GNU Development Tools"
4.de BP
5.sp
6.ti \-.2i
7\(**
8..
9
10.SH NAME
11size\(em\&list section sizes and total size.
12
13.SH SYNOPSIS
14.hy 0
15.na
16.TP
17.B size
18.RB "[\|" \-A \||\| \-B \||\| \c
1f72cab1 19.BI "\-\-format=" compatibility\c
2c8df22d 20\&\|]
1f72cab1 21.RB "[\|" \-\-help "\|]"
2c8df22d
RP
22.RB "[\|" \-d \||\| \-o \||\| \-x\c
23\||\|\c
1f72cab1 24.BI "\-\-radix=" number\c
2c8df22d
RP
25\&\|]
26.RB "[\|" \c
1f72cab1 27.BI "\-\-target=" bfdname\c
2c8df22d 28\&\|]
1f72cab1
DM
29.RB "[\|" \-V \||\| \-\-version "\|]"
30.I objfile\c
2c8df22d
RP
31\&.\|.\|.
32.ad b
33.hy 1
34.SH DESCRIPTION
35The GNU \c
36.B size\c
37\& utility lists the section sizes\(em\&and the total
38size\(em\&for each of the object files \c
1f72cab1 39.I objfile\c
2c8df22d
RP
40\& in its argument list.
41By default, one line of output is generated for each object file or each
42module in an archive.
43
44.SH OPTIONS
45.TP
1f72cab1 46.IR "objfile" .\|.\|.
2c8df22d
RP
47The object files to be examined.
48
49.TP
50.B \-A
51.TP
52.B \-B
53.TP
1f72cab1 54.BI "\-\-format " "compatibility"\c
2c8df22d
RP
55\&
56Using one of these options, you can choose whether the output from GNU
57\c
58.B size\c
59\& resembles output from System V \c
60.B size\c
61\& (using `\|\c
62.B \-A\c
63\|',
64or `\|\c
1f72cab1 65.B \-\-format sysv\c
2c8df22d
RP
66\|'), or Berkeley \c
67.B size\c
68\& (using `\|\c
69.B \-B\c
70\|', or
71`\|\c
1f72cab1 72.B \-\-format berkeley\c
2c8df22d
RP
73\|'). The default is the one-line format similar to
74Berkeley's.
75
76.TP
1f72cab1 77.B \-\-help
2c8df22d
RP
78Show a summary of acceptable arguments and options.
79
80.TP
81.B \-d
82.TP
83.B \-o
84.TP
85.B \-x
86.TP
1f72cab1 87.BI "\-\-radix " "number"\c
2c8df22d
RP
88\&
89Using one of these options, you can control whether the size of each
90section is given in decimal (`\|\c
91.B \-d\c
92\|', or `\|\c
1f72cab1 93.B \-\-radix 10\c
2c8df22d
RP
94\|'); octal
95(`\|\c
96.B \-o\c
97\|', or `\|\c
1f72cab1 98.B \-\-radix 8\c
2c8df22d
RP
99\|'); or hexadecimal (`\|\c
100.B \-x\c
101\|', or
102`\|\c
1f72cab1 103.B \-\-radix 16\c
2c8df22d 104\|'). In `\|\c
1f72cab1 105.B \-\-radix \c
2c8df22d
RP
106.I number\c
107\&\c
108\|', only the three
109values (8, 10, 16) are supported. The total size is always given in two
110radices; decimal and hexadecimal for `\|\c
111.B \-d\c
112\|' or `\|\c
113.B \-x\c
114\|' output, or
115octal and hexadecimal if you're using `\|\c
116.B \-o\c
117\|'.
118
119.TP
1f72cab1 120.BI "\-\-target " "bfdname"\c
2c8df22d
RP
121\&
122You can specify a particular object-code format for \c
1f72cab1 123.I objfile\c
2c8df22d
RP
124\& as
125\c
126.I bfdname\c
127\&. This may not be necessary; \c
128.I size\c
129\& can
130automatically recognize many formats. See
131.BR objdump ( 1 )
132for information
133on listing available formats.
134
135.TP
136.B \-V
137.TP
1f72cab1 138.B \-\-version
2c8df22d
RP
139Display version number information on \c
140.B size\c
141\& itself.
142
143.PP
144
145.SH "SEE ALSO"
146.RB "`\|" binutils "\|'"
147entry in
148.B
149info\c
150\&;
151.I
152The GNU Binary Utilities\c
153\&, Roland H. Pesch (October 1991);
154.BR ar "(" 1 "),"
155.BR objdump ( 1 ).
156
157.SH COPYING
158Copyright (c) 1991 Free Software Foundation, Inc.
159.PP
160Permission is granted to make and distribute verbatim copies of
161this manual provided the copyright notice and this permission notice
162are preserved on all copies.
163.PP
164Permission is granted to copy and distribute modified versions of this
165manual under the conditions for verbatim copying, provided that the
166entire resulting derived work is distributed under the terms of a
167permission notice identical to this one.
168.PP
169Permission is granted to copy and distribute translations of this
170manual into another language, under the above conditions for modified
171versions, except that this permission notice may be included in
172translations approved by the Free Software Foundation instead of in
173the original English.
This page took 0.0604209999999999 seconds and 4 git commands to generate.