List section and total sizes for an archive or object file (POSIX)
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 |
Linux, Mac, Microsoft Windows
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 https://www.gnu.org/software/binutils/manual/.
GNU