Keil Logo Arm Logo

L166 User's Guide

PUBLICSONLY Linker Directive

Abbreviation

PO

Arguments

PUBLICSONLY (inputfile)

Default

Includes all information from the inputfile.

µVision

Options for Group/File — Properties — Link Publics Only.

Description

The PUBLICSONLY directive includes only public symbol information from the inputfile in the generated object file. Data content and debug symbols are excluded. Since the L166 Linker supports incremental linkage, this means you may use a linker output file as an inputfile (with the PUBLICSONLY directive).

This directive may be used to create a linker overlay or to obtain public symbol addresses from an object module without including the actual code from that module.

The PUBLICSONLY directive is used in the input file list. It may not be specified in the directives part of the command line.

Example
L166 f1.obj, PUBLICSONLY (f2.obj, f3.obj)
L166 PO (f1.obj), f2.obj, PO (ABC.LIB)

Keil logo

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.