ARM Technical Support Knowledge Articles

LINKER CODE PACKING

Applies to: LX51 Linker/Locator

Answer


Information in this article applies to:


The PK51 Professional Developer's Kit includes a new optimization (Linker Code Packing) which is implemented in the LX51 Linker.

Linker Code Packing organizes the segments in your application and recodes LJMP and LCALL instructions as AJMP and ACALL wherever possible. This optimization reduces total program size by 3-8%.

The map file produced by the LX51 Linker has a .MAP extension instead of the .M51 extension which was produced by the BL51 Linker.

In uVision, enable this optimization in Options for Target — CX51: Code Optimization: Linker Code Packing.

Note that this new optimization is only available in the PK51 Professional Developer's Kit V6.23 and higher. This optimization is performed by the LX51 Linker and is not available with the BL51 Linker.

MORE INFORMATION

Article last edited on: 2006-10-23 15:51:32

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential