LX51 User's Guide

REMOVEUNUSED Linker Directive

Abbreviation

RU

Arguments

None.

Default

None.

µVision

Options — LX51 Misc — Misc Controls.

Description

The REMOVEUNUSED directive removes unused program and data segments provided that Data Overlaying is enabled. When you apply this directive unused functions along with the related data segments are deleted in the final executable program.

Example
LX51 myfile.obj REMOVEUNUSED