User manual

Project creation and build UM0036
152/385 Doc ID 7705 Rev 11
Customizing Metrowerks linker output settings
To further customize the linker output, select Customize in the Output list box. The view in
the Linker tab changes to that shown in Figure 101.
Figure 101. Customizing Metrowerks linker output view
In this view, you can apply the options listed in Table 55.
Priority is to minimize Code Size
(-DistOptiCodeSize)
Used in generation of ELF files only. Prioritizes
optimum code size over fill optimization.
Optimize Copy Down
(-OCopyon)
Used in generation of ELF files only. This optimization
changes the copy down structure when space is
limited.
Hiware: Allocate not referenced overlap
variables (-CAllocUnusedOverlap)
This option is used to ensure that all defined objects
are allocated when Smart Linking is switched off.
Hiware: Allocate not specified const
segments in RAM (-CRam)
Constant data segments that are not specifically
allocated to ROM are allocated to RAM.
1. For complete descriptions of optimization options, refer to the SmartLinker user manual from
Metrowerks.
Table 54. Metrowerks linker optimization options (continued)
Option
(1)
Description