* coffcode.h (coff_set_arch_mach_hook): Don't use variable-size
[deliverable/binutils-gdb.git] / binutils / size.1
CommitLineData
252b5132
RH
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"
51Using one of these options, you can choose whether the output from GNU
52\c
53.B size\c
54\& resembles output from System V \c
55.B size\c
56\& (using `\|\c
57.B \-A\c
58\|',
59or `\|\c
60.B \-\-format=sysv\c
61\|'), or Berkeley \c
62.B size\c
63\& (using `\|\c
64.B \-B\c
65\|', or
66`\|\c
67.B \-\-format=berkeley\c
68\|'). The default is the one-line format similar to
69Berkeley's.
70
71.TP
72.B \-\-help
73Show a summary of acceptable arguments and options.
74
75.TP
76.B \-d
77.TP
78.B \-o
79.TP
80.B \-x
81.TP
82.BI "\-\-radix " "number"
83Using one of these options, you can control whether the size of each
84section is given in decimal (`\|\c
85.B \-d\c
86\|', or `\|\c
87.B \-\-radix 10\c
88\|'); octal
89(`\|\c
90.B \-o\c
91\|', or `\|\c
92.B \-\-radix 8\c
93\|'); or hexadecimal (`\|\c
94.B \-x\c
95\|', or
96`\|\c
97.B \-\-radix 16\c
98\|'). In `\|\c
99.B \-\-radix \c
100.I number\c
101\&\c
102\|', only the three
103values (8, 10, 16) are supported. The total size is always given in two
104radices; decimal and hexadecimal for `\|\c
105.B \-d\c
106\|' or `\|\c
107.B \-x\c
108\|' output, or
109octal and hexadecimal if you're using `\|\c
110.B \-o\c
111\|'.
112
113.TP
114.BI "\-\-target " "bfdname"
115You can specify a particular object-code format for \c
116.I objfile\c
117\& as
118\c
119.I bfdname\c
120\&. This may not be necessary; \c
121.I size\c
122\& can
123automatically recognize many formats. See
124.BR objdump ( 1 )
125for information
126on listing available formats.
127
128.TP
129.B \-V
130.TP
131.B \-\-version
132Display version number information on \c
133.B size\c
134\& itself.
135
136.SH "SEE ALSO"
137.RB "`\|" binutils "\|'"
138entry in
139.BR info ;
140.IR "The GNU Binary Utilities" ,
141 Roland H. Pesch (October 1991);
142.BR ar "(" 1 "),"
143.BR objdump ( 1 ).
144
145.SH COPYING
146Copyright (c) 1991 Free Software Foundation, Inc.
147.PP
148Permission is granted to make and distribute verbatim copies of
149this manual provided the copyright notice and this permission notice
150are preserved on all copies.
151.PP
152Permission is granted to copy and distribute modified versions of this
153manual under the conditions for verbatim copying, provided that the
154entire resulting derived work is distributed under the terms of a
155permission notice identical to this one.
156.PP
157Permission is granted to copy and distribute translations of this
158manual into another language, under the above conditions for modified
159versions, except that this permission notice may be included in
160translations approved by the Free Software Foundation instead of in
161the original English.
This page took 0.038999 seconds and 4 git commands to generate.