8.107 --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.

Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.