[uClibc] ldso bug in uclibc?

Joakim Tjernlund joakim.tjernlund at lumentis.se
Mon Nov 8 17:27:51 UTC 2004


> Quick question - from my reading of the code, we have:
> 
> One instance of struct elf_resolve* for each shared object.

Yes, this is kept in _dl_loaded_modules list.
> 
> Multiple instances of struct elf_dyn*, one created each time the shared object 
> is loaded with _dl_load_elf_shared_library(). Each of these points at the 
> elf_resolve*.

Yes, _dl_symbol_tables is the global list. Each _dl_load_elf_shared_library() will
add to this list. dlopen creates yet another list used by dlsym()

> 
> 
> If so, this makes things easier... I don't need to maintain lists of groups - 
> I just need to keep a groupid in the elf_dyn* - since we have an elf_dyn* per 
> load already, membership of multiple groups is done automatically.



More information about the uClibc mailing list