__GLIBC__ #define
Joseph S. Myers
joseph at codesourcery.com
Mon Feb 19 14:28:27 PST 2007
On Mon, 19 Feb 2007, Kevin Day wrote:
> as far as I have been able to tell, dl_iterate_phdr is not in uClibc,
It is in uClibc: ldso/ldso/dl-elf.c.
Thus, *if* your ld is correctly configured so that it can locate ld.so
from the dependency in libc.so, it will see that libc depends on (has a
DT_NEEDED entry for) ld.so and follow that to resolve the reference to
dl_iterate_phdr.
The problem is for the static linking case, where such dependencies don't
exist and the function is in static libdl but not static libc.
--
Joseph S. Myers
joseph at codesourcery.com
More information about the uClibc
mailing list