05-21-2020 08:58 AM
I'm using the Vitis 19.2 SDK for creating application code for the Z706 Xilinx development board. I wish to create a map file for my application code. I've tried a lot of different options with the linker and finally one option that seems to work is -Xlinker -Map=z706-dev.elf When I add this Xlinker option, the linker doesn't complain but I a map file isn't created. What am I missing? What is the best command for creating a map file for the application code.
Note this is for a ARM Cortex A9 AMP image
05-22-2020 07:42 AM
The gnu nm utility/command will spit out symbols and address from elf files.
05-25-2020 09:39 PM
-XLinker -Map=output.map is the standard gcc option to create linker map file. output.map is created at <app project>/<Build Configuration>/output.map. Examples of Build Configuration are Debug, Release, etc.