Keil Logo

What the linker does when constructing an executable image

1.3 What the linker does when constructing an executable image

armlink performs many operations, depending on the content of the input files and the command-line options you specify.

When you use the linker to construct an executable image, it:
  • Resolves symbolic references between the input object files.
  • Extracts object modules from libraries to satisfy otherwise unsatisfied symbolic references.
  • Removes unused sections.
  • Eliminates duplicate common groups and common code, data, and debug sections.
  • Sorts input sections according to their attributes and names, and merges sections with similar attributes and names into contiguous chunks.
  • Organizes object fragments into memory regions according to the grouping and placement information provided.
  • Assigns addresses to relocatable values.
  • Generates an executable image.
Non-ConfidentialPDF file icon PDF versionARM DUI0377H
Copyright © 2007, 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.