[uClibc] Difference between glibc vs. uClibc ldso.

Joakim Tjernlund joakim.tjernlund at lumentis.se
Mon Jun 14 12:03:32 UTC 2004


Glibc ldso symbol lookup code differs when matching symbols.
The diffrence is this:

Glibc: if (ref != sym && strcmp(strtab + sym->st_name, name))
Uclibc: if (strcmp(strtab + sym->st_name, name))

uClibc misses the ref != sym part. As far as I can tell this is used by
glibc ldso to make sure that the symbol beeing looked up won't match itself.

Does not uClibc ldso need this as well?

    Jocke



More information about the uClibc mailing list