Keil™, An ARM® Company

RealView Linker and Utilities Guide

Listing addresses of static data

7.3.3. Listing addresses of static data

To produce an output listing to stdout that contains all the global and static data variables and all the structure field addresses, use:

fromelf ‑‑text ‑a ‑‑select * infile.axf

Selecting only structures

To produce a text file containing all of the structure addresses in inputfile.axf but none of the global or static data variable information, use:

fromelf ‑‑text ‑a ‑‑select *.* ‑o strucaddress.txt infile.axf

Selecting only nested structures

To produce a text file containing addresses of the nested structures only, use:

fromelf ‑‑text ‑a ‑‑select *.*.* ‑o strucaddress.txt infile.axf

Selecting only variables

To produce a text file containing all of the global or static data variable information in inputfile.axf but none of the structure addresses, use:

fromelf ‑‑text ‑a ‑‑select *, ~*.* ‑o strucaddress.txt infile.axf
Copyright © 2007 ARM Limited. All rights reserved.ARM DUI 0377A