2.1.65. --info=totals

This option instructs the compiler to give totals of the object code and data size for each object file.

The compiler returns the same totals as fromelf returns when fromelf -z is used, in a similar format. The totals include embedded assembler 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.

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential