Keil™, An ARM® Company

LX51 User's Guide

MERGEPUBLICS Linker Directive

Abbreviation

MP

Arguments

None.

Default

Public symbols from a PUBLICSONLY input file are never ignored.

µVision

None.

Description

The MERGEPUBLICS directive may only be used with the PUBLICSONLY directive. When MERGEPUBLICS is specified, the linker ignores public symbols from PUBLICSONLY object files if the public symbol is defined in another input module.

This allows you to replace routines from existing projects when necessary.

See Also

PUBLICSONLY

Example
LX51 f1.obj, PUBLICSONLY(f2.obj, f3.obj) MERGEPUBLICS