]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: rtld_multiple_ref is always true
authorFlorian Weimer <fweimer@redhat.com>
Wed, 6 Nov 2024 09:33:44 +0000 (10:33 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 18 Aug 2025 11:07:25 +0000 (13:07 +0200)
commit812918bbde0e44d2cca303084b16a43f6a10190c
treec44a257b365c97270a6022bb81d553bc412964ae
parent23f95986fca6bc23538050332af297cda4805e45
elf: rtld_multiple_ref is always true

For a long time, libc.so.6 has dependend on ld.so, which
means that there is a reference to ld.so in all processes,
and rtld_multiple_ref is always true.  In fact, if
rtld_multiple_ref were false, some of the ld.so setup code
would not run.

Reviewed-by: DJ Delorie <dj@redhat.com>
(cherry picked from commit 8f8dd904c4a2207699bb666f30acceb5209c8d3f)
elf/rtld.c