size
Section: GNU Development Tools (1)
Updated: 5 November 1991
Index
Return to Main Contents
NAME
size - list section sizes and total size.
SYNOPSIS
- size
-
[-A|-B|--format=compatibility]
[--help]
[-d|-o|-x|--radix=number]
[--target=bfdname]
[-V|--version]
objfile...
DESCRIPTION
The GNU size utility lists the section sizes---and the total
size---for each of the object files
objfile
in its argument list.
By default, one line of output is generated for each object file or each
module in an archive.
OPTIONS
- -A
-
- -B
-
- --format compatibility
-
Using one of these options, you can choose whether the output from GNU
size resembles output from System V size (using `-A',
or `--format=sysv'), or Berkeley size (using `-B', or
`--format=berkeley'). The default is the one-line format similar to
Berkeley's.
- --help
-
Show a summary of acceptable arguments and options.
- -d
-
- -o
-
- -x
-
- --radix number
-
Using one of these options, you can control whether the size of each
section is given in decimal (`-d', or `--radix 10'); octal
(`-o', or `--radix 8'); or hexadecimal (`-x', or
`--radix 16'). In `--radix number', only the three
values (8, 10, 16) are supported. The total size is always given in two
radices; decimal and hexadecimal for `-d' or `-x' output, or
octal and hexadecimal if you're using `-o'.
- --target bfdname
-
You can specify a particular object-code format for objfile as
bfdname. This may not be necessary; size can
automatically recognize many formats. See
objdump(1)
for information
on listing available formats.
- -V
-
- --version
-
Display version number information on size itself.
SEE ALSO
`binutils'
entry in
info;
The GNU Binary Utilities,
Roland H. Pesch (October 1991);
ar(1),
objdump(1).
COPYING
Copyright (c) 1991 Free Software Foundation, Inc.
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.
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.
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.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- SEE ALSO
-
- COPYING
-
This document was created by
man2html,
using the manual pages.
Time: 15:33:14 GMT, January 15, 2023