Hi,
I would like to build a executable in ELF format via Keil, and the executable has some symbols(variables/functions) actually implemented in another system image. Hence, the executable is just a application running on top of system image. This is something like a executable running on Linux, which has a loader to do dynamic linking during loading executable.
I would like to know if Keil can generate this kind of executable or not. However, nothing helpful can be found after surfing the web and documents for weeks. Is there any recommendation ?
BR, Mills
Use GNU/LD?
You could also try --partial infocenter.arm.com/.../index.jsp infocenter.arm.com/.../index.jsp
>>However, nothing helpful can be found after surfing the web and documents for weeks.
Fire the person who taught you how to use the interwebs
"Fire the person who taught you how to use the interwebs"
I think there is a thread at least every 3 months on this forum. And I'm pretty sure quite a number of other forums also debates this regularly.
Thanks for your answer. I think that I might be fired if no answers were found. :)
It sounds like you are describing a bootloader.
The 'application' in this case could, via symdefs, link to the libraries in your bootloader without having to include it in their image.
www.keil.com/.../armlink_pge1362065959198.htm
Note there is no virtual memory in Cortex-M devices, so you cannot do a true OS like Linux.
Hi Ron,
Symbol definition file are being used for static linking in our system. In order to have more flexiblity, we are going to do dynamic linking. That's why I would like to know how to build a Partial-Linking executable for dynamic linking. I have got anwsers, thanks all.