Keil™, An ARM® Company

Technical Support

ARMLINK: IMPORT SYMBOLS OF A MAIN APPLICATION


Information in this article applies to:

  • RealView Linker Version 3

QUESTION

I need to create a project (in this case a bootloader) that interfaces to other parts of my application. I want to create this project independent of my other project and I would like to know if it is possible to link the entry symbols into another application.

When the project that interfaces to the bootloader is implemented, I do not want to change or re-compile the bootloader application.

Is this possible using the RealView Compiler and Linker?

ANSWER

Yes, using the linker directive --symdefs you can export the entry symbols of the linker to a text file. This text file can be used as an input file for another application that wants to interface to the first application.

The usage in µVision is as follows:

For the bootloader application, enter in the dialog Projects — Options — Linker — Misc Control:

--symdefs bootloader.obj

For the application that should use the symbols of the bootloader add this output file as an input file the same way as it would be a library. This is done using the Add Files command in the Project Window — Files or the dialog Project — Components, Environment and Books — Project Components.

MORE INFORMATION

  • RealView Linker and Utilities Guide

Last Reviewed: Wednesday, November 15, 2006


Did this article provide the answer you needed?
 
Yes
No
Not Sure