Can the dynamic linker run with !rtld_multiple_ref?
Mike Frysinger
vapier@gentoo.org
Fri Mar 17 03:21:00 GMT 2017
On 24 Jan 2017 12:16, Florian Weimer wrote:
> 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.
looking at just purely symbol pov, these are provided by ld-linux but
used by libc.so:
_dl_argv
___tls_get_addr
_rtld_global_ro
_rtld_global
__libc_enable_secure
__libc_stack_end
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170317/2d7a2889/attachment.sig>
More information about the Libc-alpha
mailing list