.\" Copyright (c) 1991 Free Software Foundation
.\" See section COPYING for conditions for redistribution
-.\" $Id$
.TH size 1 "5 November 1991" "cygnus support" "GNU Development Tools"
.de BP
.sp
..
.SH NAME
-size\(em\&list section sizes and total size.
+size \- list section sizes and total size.
.SH SYNOPSIS
.hy 0
.TP
.B size
.RB "[\|" \-A \||\| \-B \||\| \c
-.BI "+format\ " compatibility\c
+.BI "\-\-format=" compatibility\c
\&\|]
-.RB "[\|" +help "\|]"
+.RB "[\|" \-\-help "\|]"
.RB "[\|" \-d \||\| \-o \||\| \-x\c
\||\|\c
-.BI "+radix\ " number\c
+.BI "\-\-radix=" number\c
\&\|]
.RB "[\|" \c
-.BI "+target\ " bfdname\c
+.BI "\-\-target=" bfdname\c
\&\|]
-.RB "[\|" \-V \||\| +version "\|]"
-.I objfiles\c
+.RB "[\|" \-V \||\| \-\-version "\|]"
+.I objfile\c
\&.\|.\|.
.ad b
.hy 1
The GNU \c
.B size\c
\& utility lists the section sizes\(em\&and the total
-size\(em\&for each of the object files \c
-.I objfiles\c
-\& in its argument list.
+size\(em\&for each of the object files
+.I objfile
+in its argument list.
By default, one line of output is generated for each object file or each
module in an archive.
.SH OPTIONS
-.TP
-.IR "objfiles" .\|.\|.
-The object files to be examined.
-
.TP
.B \-A
.TP
.B \-B
.TP
-.BI "+format " "compatibility"\c
-\&
+.BI "\-\-format " "compatibility"
Using one of these options, you can choose whether the output from GNU
\c
.B size\c
.B \-A\c
\|',
or `\|\c
-.B +format sysv\c
+.B \-\-format=sysv\c
\|'), or Berkeley \c
.B size\c
\& (using `\|\c
.B \-B\c
\|', or
`\|\c
-.B +format berkeley\c
+.B \-\-format=berkeley\c
\|'). The default is the one-line format similar to
Berkeley's.
.TP
-.B +help
+.B \-\-help
Show a summary of acceptable arguments and options.
.TP
.TP
.B \-x
.TP
-.BI "+radix " "number"\c
-\&
+.BI "\-\-radix " "number"
Using one of these options, you can control whether the size of each
section is given in decimal (`\|\c
.B \-d\c
\|', or `\|\c
-.B +radix 10\c
+.B \-\-radix 10\c
\|'); octal
(`\|\c
.B \-o\c
\|', or `\|\c
-.B +radix 8\c
+.B \-\-radix 8\c
\|'); or hexadecimal (`\|\c
.B \-x\c
\|', or
`\|\c
-.B +radix 16\c
+.B \-\-radix 16\c
\|'). In `\|\c
-.B +radix \c
+.B \-\-radix \c
.I number\c
\&\c
\|', only the three
\|'.
.TP
-.BI "+target " "bfdname"\c
-\&
+.BI "\-\-target " "bfdname"
You can specify a particular object-code format for \c
-.I objfiles\c
+.I objfile\c
\& as
\c
.I bfdname\c
.TP
.B \-V
.TP
-.B +version
+.B \-\-version
Display version number information on \c
.B size\c
\& itself.
-.PP
-
.SH "SEE ALSO"
.RB "`\|" binutils "\|'"
entry in
-.B
-info\c
-\&;
-.I
-The GNU Binary Utilities\c
-\&, Roland H. Pesch (October 1991);
+.BR info ;
+.IR "The GNU Binary Utilities" ,
+ Roland H. Pesch (October 1991);
.BR ar "(" 1 "),"
.BR objdump ( 1 ).