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