Keil™, An ARM® Company

L166 User's Guide

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.

DirectiveDescription
ASSIGNDefines a public symbol and its value.
CINITTABSpecifies an address range for the ?C_CLRMEMSEC and ?C_INITTAB sections.
CLASSESSpecifies an address range or order for all sections in a class.
DISABLEWARNINGDisables generation of specified warning numbers.
DPPUSEReassigns the DPP registers for NCONST and NDATA groups.
ELFGenerate a ELF/DWARF compatible output file.
GROUPSSpecifies group addresses and order.
INTNOSpecifies trap numbers for interrupt names.
IXREFEnables cross reference details in the listing file.
LINKONLYSuppresses the locate process of L166 and supports incremental linkage.
NAMESpecifies the module name of the output file.
NOAMAKEExcludes AMAKE information from the object file.
NOCASEIgnores case of all symbols information in input files.
NOCOMMENTSExcludes translator comments from the listing file and object file.
NODEFAULTLIBRARYDisables automatic inclusion of C166 run-time library routines.
NOINITDisables memory-zero initialization for C166 data sections.
NOLINESExcludes line number information from the listing file and object file.
NOMAPExcludes the memory map from the listing file.
NOPRINTDisables generation of the listing (MAP) file.
NOPUBLICSExcludes public symbols from the listing file and object file.
NOSORTSIZEDisables sorting sections by size prior to locating.
NOSYMBOLSExcludes local symbols from the listing file and object file.
NOTYPEExcludes symbolic type information from the object file.
NOVECTABExcludes the interrupt vector table from the object file.
OBJECTCONTROLSExcludes specified content from the object file.
PAGELENGTHSpecifies the number of lines on a page in the listing file.
PAGEWIDTHSpecifies the number of characters on a line in the listing file.
PRINTSpecifies the name of the listing file.
PRINTCONTROLSExcludes specified content from the listing file.
PUBLICSONLYIncludes only the PUBLIC symbols of an input module.
PURGEExcludes debug information from the listing file and object file.
REGBANKSpecifies addresses for and the order of register banks.
REGFILESpecifies the name of the register definition file for global register coloring.
RESERVEReserves memory areas and prevents the linker from using them.
RTX166Specifies that the RTX166 Real-Time Kernel is used.
RTX166TINYSpecifies that the RTX166 Tiny Real-Time Kernel is used.
SECSIZESpecifies the memory space for a section.
SECTIONSDefines a memory address or order for specified sections.
VECTABSpecifies the starting address for the interrupt vector table.
WARNINGLEVELSelects the level of warning detection.