Keil Logo

Directives

L166 Linker directives are entered on the command line after the output file. Multiple directives must be separated by at least one empty space. Each directive may be entered only once on the command line. If a directive is entered twice, the linker generates an error.

The following table describes all L166 Linker/Locator directives.

Directive Description
ASSIGN Defines a public symbol and its value.
CINITTAB Specifies an address range for the ?C_CLRMEMSEC and ?C_INITTAB sections.
CLASSES Specifies an address range or order for all sections in a class.
DISABLEWARNING Disables generation of specified warning numbers.
DPPUSE Reassigns the DPP registers for NCONST and NDATA groups.
ELF Generate a ELF/DWARF compatible output file.
GROUPS Specifies group addresses and order.
INTNO Specifies trap numbers for interrupt names.
IXREF Enables cross reference details in the listing file.
LINKONLY Suppresses the locate process of L166 and supports incremental linkage.
NAME Specifies the module name of the output file.
NOAMAKE Excludes AMAKE information from the object file.
NOCASE Ignores case of all symbols information in input files.
NOCOMMENTS Excludes translator comments from the listing file and object file.
NODEFAULTLIBRARY Disables automatic inclusion of C166 run-time library routines.
NOINIT Disables memory-zero initialization for C166 data sections.
NOLINES Excludes line number information from the listing file and object file.
NOMAP Excludes the memory map from the listing file.
NOPRINT Disables generation of the listing (MAP) file.
NOPUBLICS Excludes public symbols from the listing file and object file.
NOSORTSIZE Disables sorting sections by size prior to locating.
NOSYMBOLS Excludes local symbols from the listing file and object file.
NOTYPE Excludes symbolic type information from the object file.
NOVECTAB Excludes the interrupt vector table from the object file.
OBJECTCONTROLS Excludes specified content from the object file.
PAGELENGTH Specifies the number of lines on a page in the listing file.
PAGEWIDTH Specifies the number of characters on a line in the listing file.
PRINT Specifies the name of the listing file.
PRINTCONTROLS Excludes specified content from the listing file.
PUBLICSONLY Includes only the PUBLIC symbols of an input module.
PURGE Excludes debug information from the listing file and object file.
REGBANK Specifies addresses for and the order of register banks.
REGFILE Specifies the name of the register definition file for global register coloring.
RESERVE Reserves memory areas and prevents the linker from using them.
RTX166 Specifies that the RTX166 Real-Time Kernel is used.
RTX166TINY Specifies that the RTX166 Tiny Real-Time Kernel is used.
SECSIZE Specifies the memory space for a section.
SECTIONS Defines a memory address or order for specified sections.
VECTAB Specifies the starting address for the interrupt vector table.
WARNINGLEVEL Selects the level of warning detection.
  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.