Skip to main content

When using the command "readelf -l" for an elf file, I see two addresses type: logical and physical. Which one is used when loading the file? - Knowledgebase / TRACE32 PowerView - Lauterbach Support

When using the command "readelf -l" for an elf file, I see two addresses type: logical and physical. Which one is used when loading the file?

If the physical address is non-zero, then it is used.
If it is zero, the logical address is used.
You can force the use of one of them using these options with the Data.LOAD command: /LOGLOAD or /PHYSLOAD
The command sYmbol.List.MAP displays address ranges where code was saved during download.

Helpful Unhelpful

1 of 1 people found this page helpful

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image