Red Hat Bugzilla – Bug 86521
Enhancement: eCos should have proper dynamic loading
Last modified: 2007-03-27 00:01:59 EDT
This is an enhancement requested at FOSDEM 2003. Here's an excerpt from a
* Dynamic loading. A full blown implementation is of course quite large and a
can of worms. So two possibilities were suggested - a system similar to what
vxWorks does where objects are linked but still with relocs (essentially a .o
file) and linking at the time the .o is loaded by comparing with a built-in
symbol table and filling in the relocs (and adding newly exported symbols from
the new object to the symbol table too). Presumably some sort of init function
with a unique name to that object would want to be called too.
A second possibility (and it isn't either/or - both are possible) would be a
very simple system using function pointer tables and stubs - for those who just
want dynamically updatable code rather than more complex dynamic loading.
This bug has moved to http://bugs.ecos.sourceware.org/show_bug.cgi?id=86521