11.2. Measuring code and data size

To measure code size, do not look at the linked image size or object module size, as these include symbolic information that is not part of the binary data. Instead, use one of the following armlink options:

-info sizes

this option gives a breakdown of the code and data sizes of each object file or library member making up an image

-info totals

this option gives a summary of the total code and data sizes of all object files and all library members making up an image

Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0040D