7.86 --info=totals

Reports total sizes of the object code and data for each object file.

The compiler returns the same totals that fromelf returns when fromelf --text -z is used, in a similar format. The totals include embedded assembly code sizes when embedded assembly exists in the source code.

Example

Code (inc. data)   RO Data   RW Data    ZI Data      Debug   File Name
3308       1556          0        44      10200       8402   dhry_1.o
Code (inc. data)   RO Data   RW Data    ZI Data      Debug   File Name
416          28          0         0          0       7722   dhry_2.o
The (inc. data) column gives the size of constants, string literals, and other data items used as part of the code. The Code column, shown in the example, includes this value.
Related concepts
4.9 Code metrics
Related reference
7.99 --list
Related information
--info=topic[,topic,...] fromelf option
--text fromelf option
--info=topic[,topic,...] linker option
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.