This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can the dynamic linker run with !rtld_multiple_ref?


It seems that libc.so.6 has a DT_NEEDED entry for the dynamic linker on all architectures because we need to dlopen objects even when not linking against libdl (for gconv and NSS). The startup code references __libc_start_main, which is defined in libc.so.6. Therefore, it seems that rtld_multiple_ref in rtld.c is always true.

Is this correct?  If yes, then we can clean this up a bit.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]