Keil Logo

Generating an Object File

The BL51 Linker generates an executable target program in Keil OMF51 Object Module Format (which is an extension of the original Intel OMF51).

The linker generates an absolute object file for normal (non-banked) or for code-banked applications. In either case, the object file is absolute and contains no relocatable information or external references. It may be loaded into debugging tools (like the µVision Debugger or an emulator) or may be converted into an Intel HEX file by the OH51 Object-Hex Converter and used to program PROMs or download into Flash memory.

The generated object module may contain debugging information which facilitates symbolic, source-level debugging and testing. You may use the linker directives to exclude debugging information from the object file. The following table provides an overview of the directives that control information in the output file.

The following table describes all BL51 Linker directives that affect the object file.

Directive Description
NAME Specifies the module name of the output file.
NOAJMP Avoids AJMP instructions in bank switch code.
NOAMAKE Excludes AMAKE information from the object file.
NOINDIRECTCALL Disables bank switching code for indirectly called functions.
NOJMPTAB Disables generation of the code banking jump table.
  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.