This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Fixes for powerpc64 libc_p
On Wed, Oct 06, 2004 at 08:14:00PM -0700, Ulrich Drepper wrote:
> It cannot happen in *correct setups*. Read everything, if you are able to.
Please explain, for the sake of this dummkopf, just what a "correct
setup" is. My description of the problem ought to be reasonably clear,
if you bothered to read it. In case it wasn't clear, here are some
further details.
$ readelf -d dlfcn/failtest
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
[snip]
$ readelf -d dlfcn/libdl.so
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [ld64.so.1]
[snip]
The above should explain why it is that l_opencount == 2 for ld.so, and
thus why _dl_relocate_object is called for ld.so itself.
--
Alan Modra
IBM OzLabs - Linux Technology Centre