Re: Dynamic Linking of modules
- From: "charleso" <charlesoram@xxxxxxxxxxx>
- Date: 28 Feb 2007 13:57:09 -0800
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
.
- References:
- Dynamic Linking of modules
- From: bujji00
- Dynamic Linking of modules
- Prev by Date: Re: Remote Flashing w/ Window Client & OpenOCD
- Previous by thread: Re: Dynamic Linking of modules
- Next by thread: Academic resume gaps
- Index(es):
Relevant Pages
|