* Makefile.in (Makefile): Added config.status to dependency list.
[deliverable/binutils-gdb.git] / binutils / size.1
... / ...
CommitLineData
1.\" Copyright (c) 1991 Free Software Foundation
2.\" See section COPYING for conditions for redistribution
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 \- 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
19.BI "\-\-format=" compatibility\c
20\&\|]
21.RB "[\|" \-\-help "\|]"
22.RB "[\|" \-d \||\| \-o \||\| \-x\c
23\||\|\c
24.BI "\-\-radix=" number\c
25\&\|]
26.RB "[\|" \c
27.BI "\-\-target=" bfdname\c
28\&\|]
29.RB "[\|" \-V \||\| \-\-version "\|]"
30.I objfile\c
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
39.I objfile
40in 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
46.B \-A
47.TP
48.B \-B
49.TP
50.BI "\-\-format " "compatibility"\c
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
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"\c
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
89.B \-\-radix 10\c
90\|'); octal
91(`\|\c
92.B \-o\c
93\|', or `\|\c
94.B \-\-radix 8\c
95\|'); or hexadecimal (`\|\c
96.B \-x\c
97\|', or
98`\|\c
99.B \-\-radix 16\c
100\|'). In `\|\c
101.B \-\-radix \c
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
116.BI "\-\-target " "bfdname"\c
117\&
118You can specify a particular object-code format for \c
119.I objfile\c
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
134.B \-\-version
135Display version number information on \c
136.B size\c
137\& itself.
138
139.SH "SEE ALSO"
140.RB "`\|" binutils "\|'"
141entry in
142.BR info ;
143.IR The GNU Binary Utilities ,
144 Roland H. Pesch (October 1991);
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.023238 seconds and 4 git commands to generate.