ARM Technical Support Knowledge Articles

LOCATING IMPROPER FIXUP INSTRUCTIONS

Answer

Information in this article applies to:


SYMPTOMS

After making changes to a program or after adding in-line assembly improper fixup errors are generated by the linker. For example:

*** ERROR L121: IMPROPER FIXUP
    MODULE:  NO_SP.obj (NO_SPEED1)
    SEGMENT: ?PR?MAIN?NO_SPEED1
    OFFSET:  0099H

CAUSE

A fixup error is generated when it is impossible to generate an instruction address that reaches an operand. This is frequently the case with instructions that implement relative jumps or branches. Typically, improper fixups are caused by in-line assembly code that attempts to access an address that is too far away. The error message listed above was generated by a program that included in-line assembly.

You can easily find the assembler instruction that contains an improper fixup using the information provided by the error message. In the case of the error listed above...

SEE ALSO

Article last edited on: 2009-09-14 01:47:35

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