size(1)size(1)NAMEsize - print section sizes of object files
SYNOPSIS
files
DESCRIPTION
produces section size information for each section in the object files.
The size of the text, data and bss (uninitialized data) sections are
printed along with the total size of the object file. If an archive
file is input to the command, the information for all archive members
is displayed.
Options
recognizes the following options:
Print sizes in decimal. This is the default.
Print sizes in octal.
Print sizes in hexadecimal.
Print version information about the command.
Print a verbose list of the subspaces in the object files.
Each subspace is listed on a separate line with its
size, physical address, and virtual address.
Print the size of each allocatable section (ELF only).
Print the size and permission bits of each loadable segment (ELF
only).
Print the sizes of non loadable segments or non allocatable sec‐
tions
(ELF only).
Print the usage menu.
EXTERNAL INFLUENCES
Environment Variables
The following internationalization variables affect the execution of
Determines the locale category for native language, local customs and
coded character set in the absence of and other environment
variables. If is not specified or is set to the empty string, a
default of (see lang(5)) is used instead of
Determines the values for all locale categories and has precedence over
and other environment variables.
Determines the locale that should be used to affect the format
and contents of diagnostic messages written to standard error.
Determines the locale category for numeric formatting.
Determines the locale category for character handling functions.
Determines the location of message catalogues for the processing
of
If any internationalization variable contains an invalid set‐
ting, behaves as if all internationalization variables are set
to See environ(5).
International Code Set Support
Single- and multi-byte character code sets are supported.
DIAGNOSTICS
name cannot be read.
name is not an appropriate object
file.
EXAMPLES
Compare the sizes of the text, data, and bss sections for two
versions of a program:
SEE ALSO
System Tools:
as(1) translate assembly code to machine code
cc(1) invoke the HP-UX C compiler
ld(1) invoke the link editor
Miscellaneous:
a.out(4) assembler, compiler, and linker output
ar(4) archive format
STANDARDS CONFORMANCEsize(1)