Loading programs dinamically?

Till Straumann strauman at slac.stanford.edu
Tue Feb 22 16:41:41 UTC 2011


On 02/22/2011 03:50 PM, Cristian Paul Peñaranda Rojas wrote:
>> If you'd like to try this then contact me. I could provide you with
> Yes i do
>> a recent snapshot - the stuff on my webpage is outdated - I don't have
>> the time to update :-(.
>>
>> What BSP are you using?
> rtems 4.11  Milkymist One Board


Hmm - you're out of luck. I haven't ported this stuff
to your CPU (yet). Probably not too hard but I'd need
to familiarise myself with the machine, ABI and
machine-specifica of ELF in order to do this work.

Frankly - this is not a high priority since we don't use
this target here ATM. I'd be glad to help if someone
wants to take this on.

Basically, you'd have to
CEXP:
  - add lm32 support to pmelf (mostly consists of adding
    definitions for the machine and relocations to a header.
  - add lm32 support to pmbfd (support lm32-specific relocations)
  - handle quirks (if any - e.g., memory regions) in the cexpsh
    loader/run-time linker

NOTE: you can avoid the first two steps if you configure CEXP
to use 'real' BFD instead of non-gpl 'pmbfd' (poor-man's BFD).

GeSys (system application, providing vxworks'ish look'n feel):
  - (hopefully) minimal additions to support your cpu/board.

- T.

PS
I send you a tarball of a current cexp snapshot off-list...



More information about the users mailing list