Linker

Creating a link map

To create a linker map file:

Creating a symbolic load map

The objdump ('arm-none-eabi-objdump') utility is used create a load map. This is the information used to load the image into memory. To automatically create a load map every time you do a build:

arm-none-eabi-objdump -h -S ${BuildArtifactFileName} >${BuildArtifactFileBaseName}.lss

Next time you do a build, this will now run and create you a linker map in a file called <projectname>.lss

Additional information

1. Within the pre- and post-build steps, you can enter multiple commands, separated by a ";". For example, to display the size of the target executable and get a link map, enter the following command To enable it, do the following: <pre> arm-none-eabi-size ${BuildArtifactFileName}; arm-none-eabi-objdump -h -S ${BuildArtifactFileName} >${BuildArtifactFileBaseName}.lss </pre>

2. To view the objdump documentation: To find the options you can use with objdump, see

Help->Help Contents

Map (last edited 2011-08-22 07:45:10 by CrSupportAb)