Keil Logo Arm Logo

Output Files

The LARM Linker generates an object module and a listing (map) file.

  • The object file, by default, has no file extension.
  • The listing file has the .MAP extension.

If no output filename is specified, the linker uses the filename of the first object file in the input file list for the object module and for the listing file. An error occurs if the first input file contains no extension.

For example:

LA PROG1

generates the following fatal error:

*** FATAL ERROR L209: FILE USED IN CONFLICTING CONTEXTS
    FILE: PROG1

This error occurs because the name of the input object file is identical to the object file the linker creates. The following example demonstrates how to avoid this problem.

LA PROG1 TO PROG1.ABS

This example specifies an output filename (PROG1.ABS) and avoids the prior error.

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.