Linker Architecture

A linker combines and arranges data and instructions from one or more object code files into a single file, or image. This image is ready to execute on the target platform. The CodeWarrior linker uses settings from the host's integrated development environment (IDE) or command line to determine how to generate the image file.

The linker also optionally reads a linker command file. A linker command file allows you to specify precise details of how data and instructions should be arranged in the image file.

The following figure shows the steps the CodeWarrior linker takes to build an executable image.

Figure 1. CodeWarrior Linker Steps
CodeWarrior linker steps