data.load.elf

This command loads an ARM Executable and Linking Format (ELF) file. This format is described in the ARM ELF specification and uses the .axf file extension.

Note

Loading an ELF image sets the program counter to the entry point of the image, if present.

Show/hideSyntax

data.load.elf filename [/flag]...

Where:

filename

Specifies the image file.

flag

Specifies additional flags:

nocode

Do not load code and data to the target.

nosymbol

Do not load symbols.

noclear

Symbol table is not cleared before loading the image.

noreg

Do not set register values, for example, PC and status registers.

Show/hideDefault

By default, this command loads code and data to the target, clears the existing symbol table before loading the new symbols into the symbol table, and sets the registers.

You must use additional flags if you want to modify the default options. For example, you must use /noclear if you want to load the symbols from multiple images.

Show/hideExample

Example 151. data.load.elf

data.load.elf "myFile.axf"                 ; Load image and symbols
data.load.elf "../my directory/myFile.axf" ; Load image and symbols
data.load.elf "myFile.axf" /nosymbol       ; Load image without symbols

Show/hideSee also

Copyright © 2010 ARM. All rights reserved.ARM DUI 0452B
Non-ConfidentialID100410