old-cross-binutils/binutils/size.1

165 lines
3.2 KiB
Groff
Raw Normal View History

1991-11-05 23:19:25 +00:00
.\" Copyright (c) 1991 Free Software Foundation
.\" See section COPYING for conditions for redistribution
.TH size 1 "5 November 1991" "cygnus support" "GNU Development Tools"
.de BP
.sp
.ti \-.2i
\(**
..
.SH NAME
size\(em\&list section sizes and total size.
.SH SYNOPSIS
.hy 0
.na
.TP
.B size
.RB "[\|" \-A \||\| \-B \||\| \c
.BI "\-\-format=" compatibility\c
1991-11-05 23:19:25 +00:00
\&\|]
.RB "[\|" \-\-help "\|]"
1991-11-05 23:19:25 +00:00
.RB "[\|" \-d \||\| \-o \||\| \-x\c
\||\|\c
.BI "\-\-radix=" number\c
1991-11-05 23:19:25 +00:00
\&\|]
.RB "[\|" \c
.BI "\-\-target=" bfdname\c
1991-11-05 23:19:25 +00:00
\&\|]
.RB "[\|" \-V \||\| \-\-version "\|]"
.I objfile\c
1991-11-05 23:19:25 +00:00
\&.\|.\|.
.ad b
.hy 1
.SH DESCRIPTION
The GNU \c
.B size\c
\& utility lists the section sizes\(em\&and the total
size\(em\&for each of the object files
.I objfile
in its argument list.
1991-11-05 23:19:25 +00:00
By default, one line of output is generated for each object file or each
module in an archive.
.SH OPTIONS
.TP
.B \-A
.TP
.B \-B
.TP
.BI "\-\-format " "compatibility"\c
1991-11-05 23:19:25 +00:00
\&
Using one of these options, you can choose whether the output from GNU
\c
.B size\c
\& resembles output from System V \c
.B size\c
\& (using `\|\c
.B \-A\c
\|',
or `\|\c
.B \-\-format sysv\c
1991-11-05 23:19:25 +00:00
\|'), or Berkeley \c
.B size\c
\& (using `\|\c
.B \-B\c
\|', or
`\|\c
.B \-\-format berkeley\c
1991-11-05 23:19:25 +00:00
\|'). The default is the one-line format similar to
Berkeley's.
.TP
.B \-\-help
1991-11-05 23:19:25 +00:00
Show a summary of acceptable arguments and options.
.TP
.B \-d
.TP
.B \-o
.TP
.B \-x
.TP
.BI "\-\-radix " "number"\c
1991-11-05 23:19:25 +00:00
\&
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
1991-11-05 23:19:25 +00:00
\|'); octal
(`\|\c
.B \-o\c
\|', or `\|\c
.B \-\-radix 8\c
1991-11-05 23:19:25 +00:00
\|'); or hexadecimal (`\|\c
.B \-x\c
\|', or
`\|\c
.B \-\-radix 16\c
1991-11-05 23:19:25 +00:00
\|'). In `\|\c
.B \-\-radix \c
1991-11-05 23:19:25 +00:00
.I number\c
\&\c
\|', only the three
values (8, 10, 16) are supported. The total size is always given in two
radices; decimal and hexadecimal for `\|\c
.B \-d\c
\|' or `\|\c
.B \-x\c
\|' output, or
octal and hexadecimal if you're using `\|\c
.B \-o\c
\|'.
.TP
.BI "\-\-target " "bfdname"\c
1991-11-05 23:19:25 +00:00
\&
You can specify a particular object-code format for \c
.I objfile\c
1991-11-05 23:19:25 +00:00
\& as
\c
.I bfdname\c
\&. This may not be necessary; \c
.I size\c
\& can
automatically recognize many formats. See
.BR objdump ( 1 )
for information
on listing available formats.
.TP
.B \-V
.TP
.B \-\-version
1991-11-05 23:19:25 +00:00
Display version number information on \c
.B size\c
\& itself.
.SH "SEE ALSO"
.RB "`\|" binutils "\|'"
entry in
.BR info ;
.IR The GNU Binary Utilities ,
Roland H. Pesch (October 1991);
1991-11-05 23:19:25 +00:00
.BR ar "(" 1 "),"
.BR objdump ( 1 ).
.SH COPYING
Copyright (c) 1991 Free Software Foundation, Inc.
.PP
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
.PP
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
.PP
Permission is granted to copy and distribute translations of this
manual into another language, under the above conditions for modified
versions, except that this permission notice may be included in
translations approved by the Free Software Foundation instead of in
the original English.