size

List section and total sizes for an archive or object file (POSIX)

Syntax:

size_variant [options]  [objfile…]

where size_variant depends on the target platform, as follows:

Target platform size_variant
ARMv7 ntoarmv7-size
AArch64 ntoaarch64-size
x86 ntox86-size
x86 64-bit ntox86_64-size

Runs on:

Linux, Mac, Microsoft Windows

Description:

The size utility lists the section sizes and the total size for each of the object or archive files objfile in its argument list. By default, one line of output is generated for each object file or each module in an archive.

For more information, see the Binutils documentation on the GNU website at http://www.gnu.org/.

Contributing author:

GNU