|
|||||||||||
|
Technical Support Support Resources
Product Information |
LX51: Improper Fixup on Banking Application With Unused FunctionsInformation in this article applies to:
QUESTIONI am using the LX51 Extended Linker/Locater to generate a code banking application. Some of the functions are uncalled and therefore I get the expected following warning:
However, in addition I get also an IMPROPER FIXUP error:
The error only is generated when the unused function calls other functions that are in a different code bank. Also the IMPROPER FIXUP error is not generated with the classic BL51 Linker/Locater. What is the reason for this error an how can I solve my problem? ANSWERThe error is generated since the call tree analysis of your program is incomplete and therefore no interbank calls are generated that allow bank crossings for the uncalled function. The BL51 does not detect this problem (but still the program code would not work). The LX51 Extended Linker/Locater offers the REMOVEUNUSED directive which deletes all unused functions in the final executable program. This directive indirectly removes the IMPROPER FIXUP error. Alternatively you may call the unused functions in the program code (for example at the end of the main function). MORE INFORMATION
SEE ALSOLast Reviewed: Thursday, February 25, 2021 | ||||||||||
|
|||||||||||
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.