You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
3.2 KiB

35 years ago
.\" 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
33 years ago
size \- list section sizes and total size.
35 years ago
.SH SYNOPSIS
.hy 0
.na
.TP
.B size
.RB "[\|" \-A \||\| \-B \||\| \c
.BI "\-\-format=" compatibility\c
35 years ago
\&\|]
.RB "[\|" \-\-help "\|]"
35 years ago
.RB "[\|" \-d \||\| \-o \||\| \-x\c
\||\|\c
.BI "\-\-radix=" number\c
35 years ago
\&\|]
.RB "[\|" \c
.BI "\-\-target=" bfdname\c
35 years ago
\&\|]
.RB "[\|" \-V \||\| \-\-version "\|]"
.I objfile\c
35 years ago
\&.\|.\|.
.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.
35 years ago
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"
35 years ago
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
35 years ago
\|'), or Berkeley \c
.B size\c
\& (using `\|\c
.B \-B\c
\|', or
`\|\c
.B \-\-format=berkeley\c
35 years ago
\|'). The default is the one-line format similar to
Berkeley's.
.TP
.B \-\-help
35 years ago
Show a summary of acceptable arguments and options.
.TP
.B \-d
.TP
.B \-o
.TP
.B \-x
.TP
.BI "\-\-radix " "number"
35 years ago
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
35 years ago
\|'); octal
(`\|\c
.B \-o\c
\|', or `\|\c
.B \-\-radix 8\c
35 years ago
\|'); or hexadecimal (`\|\c
.B \-x\c
\|', or
`\|\c
.B \-\-radix 16\c
35 years ago
\|'). In `\|\c
.B \-\-radix \c
35 years ago
.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"
35 years ago
You can specify a particular object-code format for \c
.I objfile\c
35 years ago
\& 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
35 years ago
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);
35 years ago
.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.