Sat Jan 22 16:25:09 1994 Stan Shebs (shebs@andros.cygnus.com)
[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
938fa52b 11size \- list section sizes and total size.
2c8df22d
RP
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
b26ac613
DM
38size\(em\&for each of the object files
39.I objfile
40in its argument list.
2c8df22d
RP
41By default, one line of output is generated for each object file or each
42module in an archive.
43
44.SH OPTIONS
2c8df22d
RP
45.TP
46.B \-A
47.TP
48.B \-B
49.TP
1f72cab1 50.BI "\-\-format " "compatibility"\c
2c8df22d
RP
51\&
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
eae04238 61.B \-\-format=sysv\c
2c8df22d
RP
62\|'), or Berkeley \c
63.B size\c
64\& (using `\|\c
65.B \-B\c
66\|', or
67`\|\c
eae04238 68.B \-\-format=berkeley\c
2c8df22d
RP
69\|'). The default is the one-line format similar to
70Berkeley's.
71
72.TP
1f72cab1 73.B \-\-help
2c8df22d
RP
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
1f72cab1 83.BI "\-\-radix " "number"\c
2c8df22d
RP
84\&
85Using one of these options, you can control whether the size of each
86section is given in decimal (`\|\c
87.B \-d\c
88\|', or `\|\c
1f72cab1 89.B \-\-radix 10\c
2c8df22d
RP
90\|'); octal
91(`\|\c
92.B \-o\c
93\|', or `\|\c
1f72cab1 94.B \-\-radix 8\c
2c8df22d
RP
95\|'); or hexadecimal (`\|\c
96.B \-x\c
97\|', or
98`\|\c
1f72cab1 99.B \-\-radix 16\c
2c8df22d 100\|'). In `\|\c
1f72cab1 101.B \-\-radix \c
2c8df22d
RP
102.I number\c
103\&\c
104\|', only the three
105values (8, 10, 16) are supported. The total size is always given in two
106radices; decimal and hexadecimal for `\|\c
107.B \-d\c
108\|' or `\|\c
109.B \-x\c
110\|' output, or
111octal and hexadecimal if you're using `\|\c
112.B \-o\c
113\|'.
114
115.TP
1f72cab1 116.BI "\-\-target " "bfdname"\c
2c8df22d
RP
117\&
118You can specify a particular object-code format for \c
1f72cab1 119.I objfile\c
2c8df22d
RP
120\& as
121\c
122.I bfdname\c
123\&. This may not be necessary; \c
124.I size\c
125\& can
126automatically recognize many formats. See
127.BR objdump ( 1 )
128for information
129on listing available formats.
130
131.TP
132.B \-V
133.TP
1f72cab1 134.B \-\-version
2c8df22d
RP
135Display version number information on \c
136.B size\c
137\& itself.
138
2c8df22d
RP
139.SH "SEE ALSO"
140.RB "`\|" binutils "\|'"
141entry in
b26ac613
DM
142.BR info ;
143.IR The GNU Binary Utilities ,
144 Roland H. Pesch (October 1991);
2c8df22d
RP
145.BR ar "(" 1 "),"
146.BR objdump ( 1 ).
147
148.SH COPYING
149Copyright (c) 1991 Free Software Foundation, Inc.
150.PP
151Permission is granted to make and distribute verbatim copies of
152this manual provided the copyright notice and this permission notice
153are preserved on all copies.
154.PP
155Permission is granted to copy and distribute modified versions of this
156manual under the conditions for verbatim copying, provided that the
157entire resulting derived work is distributed under the terms of a
158permission notice identical to this one.
159.PP
160Permission is granted to copy and distribute translations of this
161manual into another language, under the above conditions for modified
162versions, except that this permission notice may be included in
163translations approved by the Free Software Foundation instead of in
164the original English.
This page took 0.087715 seconds and 4 git commands to generate.