cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
561 Views
Registered: ‎09-12-2019

Creating a Map for application code

Hello, 

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

 
0 Kudos
2 Replies
484 Views
Registered: ‎09-12-2019

The gnu nm utility/command will spit out symbols and address from elf files.

 

C:\Xilinx\Vivado\2019.2\tps\win64\msys64\mingw64\bin\nm.exe

0 Kudos
sadanan
Xilinx Employee
Xilinx Employee
419 Views
Registered: ‎10-21-2010

hi martin.haran@oracle.com,

-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.