Keil Logo

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

Related Knowledgebase Articles

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.