Keil Logo Arm Logo

Generating a Listing File

The L166 Linker produces a listing file that contains:

  • Filenames and directives of the command line.
  • File and module names of all processed modules.
  • List of all TGROUPS contained in the program (if available).
  • List of all interrupt procedures with interrupt vector and interrupt name.
  • Table of memory allocation (MEMORY MAP) that contains the sections' start address, stop address, size, section type, alignment, tgroup index, group index, combination type, class name, and section name. The NOMAP control directive suppresses this table.
  • Group list displays all group names with the type, classes, and sections assigned to this group. The NOMAP control directive suppresses this list.
  • Table of all public symbols contained in the program. This table displays the symbol value, name, representation, tgroup index, class name, and section name.
  • List of all unresolved external symbols. An external symbol is unresolved if no corresponding public symbol exists in another input file. Each reference to an unresolved external symbol appears as an error message at the end of the listing file.
  • Symbol table that contains the symbol information from the input files. This information contains the value, type, representation, block length, tgroup index, and symbol name. The symbol table contains the following information that can be identified by the type: GLOBAL, PUBLIC, SYMBOL, LINE, BLOCK, and BLOCKEND.
  • Alphabetically sorted cross-reference report of all PUBLIC and EXTERN symbols. This report contains symbol representation, tgroup name, and module name for each reference to a symbol. In the first module displayed, the PUBLIC symbol is defined. Later module names display the modules in which an external reference uses the PUBLIC symbol. If no PUBLIC symbol is present, the message ** UNRESOLVED ** appears. For L166-generated symbols, ** L166 GENERATED ** appears. Entering the control directive IXREF in the command-line produces a cross-reference report.
  • Errors detected during the link/locate run appear on the screen as well as at the end of the listing file. A summary of L166 errors, causes, and recovery methods is listed in Error Messages.

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.