User`s manual

Linkers
Motorola Selecting Tools 1-5
You can control the Suite56 linker by means of command files. With the option -f, you
can control the linker through a command-line file. With the option
-r, you can use a
memory-control file as in Figure 1-4.
Figure 1-4. Input and Output of the Linker
One of the most powerful features of the Suite56 linker is its facility for memory control
files. Through a memory control file, you can manage how the linker fills in addresses in
relocatable object files. This ability means that you can place sections of code precisely in
memory on your target device, at designated addresses according to your directives to the
linker in memory control files. This facility is indispensable, of course, for managing
overlays of sections in program memory, X data memory, or (on certain Motorola digital
signal processors) Y data memory. For details about memory maps for specific Motorola
devices, see the memory map chapters of the device family manual (e.g., DSP56300
Family Manual) and device user’s manual (e.g., DSP56307 User’s Manual). For an
example of a memory control file and memory map file, see Section 3.5, "Exploiting
Memory Control Files," on page 3-25 in this manual, as well as the Motorola DSP
Linker/Librarian Reference Manual.
map file
linker
executable object file
compiler
no longer AA164
(*.map)COFF format (*.cld)
memory control file
command line file
C source files
make utility
option -m
relocatable file
(*.cln)
option -idefault
option -f
option -r