Re: Dynamic Linking of modules



On Mar 1, 12:21 am, "bujji00" <rmupp...@xxxxxxx> wrote:
Hello All,

I am to design a dynamic linker/loader on Nucleus RTOS running on ARM9.
my aim is to conserve memory by loading only the required (one or more)
modules and offload other modules.
I checked out to find that the code can be compiled position independent
using the armcc compiler. also the executable format produced by armcc is
ELF(elf32-little).
I need pointers in how to design this dynamic linker as well as the
loader.

My Work Environment
Processor :ARM9
RTOS :Nucleus
Tool suite :RVDS for ARM9

Thnks and Rgds
Ravikiran

Most systems have some scheme where there is a standard header at the
front of the dynamically linked file/module with a table of pointers
to functions in the module (and maybe string or integer names to index
that table).
FreeRADIUS has a system of linking in modules that may be worth
looking at to get some ideas - check out http://wiki.freeradius.org/Modules.
Because it is open source you can grab the code and see how it is
done.

- Charles

.



Relevant Pages

  • Dynamic Linking of modules
    ... I am to design a dynamic linker/loader on Nucleus RTOS running on ARM9. ...
    (comp.arch.embedded)
  • Re: Dynamic Linking of modules
    ... I am to design a dynamic linker/loader on Nucleus RTOS running on ARM9. ...
    (comp.arch.embedded)
  • Multicore
    ... I wish to design a multicore system with Arm9 processor.Tell me ... which rtos is most suitable for it.Which are the developing tools that ...
    (comp.sys.arm)