2005-05-02 15:01:42 +02:00
|
|
|
.TH ASIZE 1
|
|
|
|
.SH NAME
|
|
|
|
asize \- report the size of an object file
|
|
|
|
.SH SYNOPSIS
|
|
|
|
\fBasize \fIfile\fR ...\fR
|
|
|
|
.br
|
|
|
|
.de FL
|
|
|
|
.TP
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
\\$2
|
|
|
|
..
|
|
|
|
.de EX
|
|
|
|
.TP 20
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
# \\$2
|
|
|
|
..
|
|
|
|
.SH EXAMPLES
|
|
|
|
.EX "asize test.o" "Give the size of \fItest.o\fR"
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
|
|
.I Asize
|
|
|
|
prints for each argument
|
|
|
|
the (decimal) number of bytes used by the different sections,
|
|
|
|
as well as their sum in decimal and hexadecimal.
|
|
|
|
If no
|
|
|
|
.I file
|
|
|
|
is given \fIa.out\fR is used.
|
|
|
|
.I Asize
|
2009-06-25 12:41:55 +02:00
|
|
|
can only be used to obtain the size of a \fI.o\fR or \fI.out\fR file.
|
2005-05-02 15:01:42 +02:00
|
|
|
To obtain the size of an executable, use
|
|
|
|
.I size
|
|
|
|
instead.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR anm (1),
|
|
|
|
.BR nm (1),
|
|
|
|
.BR ar (1),
|
|
|
|
.BR size (1).
|