ARM Technical Support Knowledge Articles

IMPORT SYMBOLS OF A MAIN APPLICATION

Applies to: RealView Linker

Answer


Information in this article applies to:


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 uVision 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

Article last edited on: 2006-11-15 10:05:45

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