Question about Dynamic loading

Chris Johns chrisj at rtems.org
Sun Feb 19 23:09:59 UTC 2017


On 15/02/2017 07:21, Jianxun Yan wrote:
>
> Does anyone use the RTL dynamic loading for ARM processor?

Yes there are users and some are using it with C++ and exceptions across 
loaded module boundaries.

> Does it work same as dynamic loader shell - cexp?

It is different to cexp and not related.

The libdl implementation provides support for the POSIX dlopen, dlclose 
etc family of functions. The target loader can load ELF from object 
files or archives and it can also load RAP (RTEMS Application Format) 
files. The rtems-ld host tool can help you manage the modules you wish 
to load.

Chris



More information about the users mailing list